Deferred category image upload

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.

Headers

NameTypeDescription
AuthorizationstringoAuth token with mandatory Bearer before it. Example: Bearer e***s0, where e***s0 should be replaced with your oAuth token.

Request

A JSON object with the following fields:

FieldTypeDescription
urlstringImage URL
widthnumberWidth of the image
heightnumberHeight of the image

Response

An empty JSON response. The image should be uploaded almost instantly.

Errors

In case of error, Ecwid responds with an error HTTP status code and JSON-formatted body containing the error description.

Language