Register a product or change its description
PUT/products/:sku
Registers the SKU as a product (201) or, when it is already registered, replaces its description (200). A product must be registered before it can be classified or dimensioned. Repeating the request with the same description returns 200 and changes nothing.
Request
Responses
- 200
- 201
- 400
- 409
- 500
The product already existed; its description is now the requested one.
The product was registered.
Malformed JSON body, an unknown field, or an invalid SKU or query parameter.
Another request changed the product between this request's read and write; re-fetch and retry.
Unexpected server error.