Update a Product
put
https://{workspace}.myeshopbox.com/product-engine/api
/v1/products/{sku}
Edit Product
cURL
curl --location --request PUT 'https://{workspace}.myeshopbox.com/product-engine/api/v1/products/{productSku}' \
--header 'Authorization: Bearer ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"imageUrl": "https://cdn.filestackcontent.com/hdYluVCqSADCASjjjcuaeC",
"mrp": 1499.0,
"unitPrice": 799.0,
"hsnCode": "6101112",
"weight": 167.0,
"dimensionLength": 5.0,
"dimensionWidth": 5.0,
"dimensionHeight": 5.0,
"dimensionUnit": "cm"
}'
- It is not mandatory to pass all of the existing properties while updating or adding new properties, only those which are required to be updated or added should be there in the request.
Last modified 2yr ago