Upload main product image

If the product already has an image attached, the uploaded image will replace the existing one. Maximum allowed file size is 20Mb. JPG, PNG, and GIF are accepted.

Upload an image asynchronously from an external resource using the externalUrl query parameter. Alternatively, you can send the image as binary data in the request body with a synchronous request.

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 ID
Language
Click Try It! to start a request and see the response here!