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):

Property

Type

Required

product-status

string

optional

product-name

string

optional

product-short-description

string

optional

product-long-description

string

optional

product-info-url

decimal

optional

product-image

string

optional

product-merchant-descriptor

string

optional

product-support-email

string

optional

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