Upload gallery product image

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

FieldTypeDescription
externalIdstringImage ID for Lightspeed R-Series/X-Series image sync. Optional field, available with async request.

Response

A JSON object with the following fields:

FieldTypeDescription
idnumberInternal image file ID
Language
Click Try It! to start a request and see the response here!