post https://app.ecwid.com/api/v3//products//gallery
Request body is the image file itself (binary data) or external URL in query params. Maximum allowed file size is 20Mb.
Upload an image from an external resource using the externalUrl query parameter. Alternatively, you can send it as binary data in the request body.
Access scopes
Requires the following access scope: update_catalog
Request
Field | Type | Description |
---|---|---|
externalId | string | Image ID for Lightspeed R-Series/X-Series image sync. Optional field, available with async request. |
Response
A JSON object with the following fields:
Field | Type | Description |
---|---|---|
id | number | Internal image file ID |