PUT
/
v2
/
products
/
{productId}
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

productId
string
required

Body

application/json

Response

200
application/json

The product has been successfully updated.

The response is of type object.