Download product file

Download a product file referring to its file ID.

Headers

NameTypeDescription
AuthorizationstringoAuth 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 StatusDescription
403Access token doesn't have read_catalog scope
404Product or file is not found
500Request failed or there was an internal server error

Error response body (optional)

FieldTypeDescription
errorMessagestringError message
Language
Authorization
Query