Update Product

Definition

https://sandbox.bluesnap.com/services/2/catalog/products/:product-id


The Update Product request enables you to update the settings of an existing product in your account.


Request Content

product    required, contains the following properties (see product):

PropertyTypeRequired
product-statusstringoptional
product-namestringoptional
product-short-descriptionstringoptional
product-long-descriptionstringoptional
product-info-urldecimaloptional
product-imagestringoptional
product-merchant-descriptorstringoptional
product-support-emailstringoptional

Response Details

If successful, the response HTTP status code is 204 No Content.
There is no content in the response body.
For details about possible errors, see: General Errors and Catalog Errors.


Examples

Request Examples

curl -v -X PUT https://sandbox.bluesnap.com/services/2/catalog/products/307634 \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<product xmlns="http://ws.plimus.com">
  <product-name>new product name</product-name>
  <product-short-description>new short description</product-short-description>
  <product-long-description>new long description</product-long-description>
  <product-info-url>http://www.myurl.com</product-info-url>
  <product-merchant-descriptor>merchantname123456</product-merchant-descriptor>
  <product-support-email>[email protected]</product-support-email>
</product>'
curl -v -X PUT https://sandbox.bluesnap.com/services/2/catalog/products/307634 \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<product xmlns="http://ws.plimus.com">
  <product-status>D</product-status>
</product>'

Response Examples

HTTP/ 1.1 204 No Content

Back to Top