This method allows displaying the category image almost instantly as Ecwid will use the provided URL for the image. It will be downloaded later to Ecwid's CDN for display in the store.
All body params are mandatory. Width and height must be positive. The maximum allowed file size is 20Mb.
|Authorization||string||oAuth token with mandatory |
Bearer before it. Example:
Bearer e***s0, where
e***s0 should be replaced with your oAuth token.
A JSON object with the following fields:
|width||number||Width of the image|
|height||number||Height of the image|
An empty JSON response. The image should be uploaded almost instantly.
In case of error, Ecwid responds with an error HTTP status code and JSON-formatted body containing the error description.