This method allows displaying the gallery 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. The order in which the gallery images are sent is kept on the storefront.
All body params are mandatory. Width and height must be positive. The maximum allowed file size is 20Mb.
|Authorization||string||oAuth token with mandatory |
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.