The product to edit is identified by the
id field in the request body, not by
the {id} segment in the URL path.Authorization
Request Body
event Structure (Object)
Response
Successful ResponseMain Structure (Root)
data Structure (Object)
Errors
When the request body fails validation, this endpoint still responds with HTTP
200 but sets messages to failed and returns the validator errors in
data: { "statusCode": 200, "messages": "failed", "data": { ... } }.Returned when the product does not belong to the authenticated account:
{ "statusCode": 401, "messages": "Unauthorized" }.