get https://app.ecwid.com/api/v3//products//files/
Download a product file referring to its file ID.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | oAuth token with mandatory Bearer before it. Example: Bearer e***s0 , where e***s0 should be replaced with your oAuth token. |
Response
Response is the file in binary format.
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 | |
---|---|---|
403 | Access token doesn't have read_catalog scope | |
404 | Product or file is not found | |
500 | Request failed or there was an internal server error |
Error response body (optional)
Field | Type | Description |
---|---|---|
errorMessage | string | Error message |