cURL
curl --request PUT \ --url https://api.production.orderprotection.com/v2/products/{productId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "123456", "status": "ACTIVE", "description": "This product is super awesome and will solve all of your problems", "sku": "123456", "price": 22.22, "tax": "123456", "inventoryType": "FULL", "inventoryQuantity": "123456", "productImage": "https://somedomain.com/image.png", "productType": "SIMPLE", "inStock": true }'
{ "status": "ok" }
Updates a products attributes
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The product has been successfully updated.
The response is of type object.
object