put https://app.ecwid.com/api/v3//products//files/
This request allows to edit the file description that is shown to customer when they purchase the product
Access scopes
Requires the following access scope: update_catalog
Request body
Name | Type | Description |
---|---|---|
description | string | New file description |
Response
A JSON object of type 'UpdateStatus' with the following fields:
UpdateStatus
Field | Type | Description |
---|---|---|
updateCount | number | The number of updated entities (1 or 0 depending on whether the request was successful) |
Errors
In case of error, Ecwid responds with an error HTTP status code and JSON-formatted body containing error description
HTTP codes
HTTP Status | Description |
---|---|
400 | Request parameters are malformed |
403 | Access token doesn't have update_catalog scope |
404 | Product is not found |
415 | Unsupported content-type: expected application/json or text/json |
Error response body (optional)
Field | Type | Description |
---|---|---|
errorMessage | string | Error message |