Upload gallery product image
POST
https://app.ecwid.com/api/v3/{storeId}/products/{productId}/gallery
Required access scopes
Your app must have the following access scopes to make this request: update_catalog
Path params
All path params are required.
storeId
number
Ecwid store ID.
productId
number
Internal product ID.
Query params
All query params are optional.
fileName
string
Title for the uploaded image.
externalUrl
string
HTTPS link to the image file that will be uploaded to the store. Alternatively, you can send the image as binary data in the request body.
Headers
The Authorization header is required.
Authorization
Bearer secret_ab***cd
Access token of the application.
Request JSON
externalId
string
Internal image ID for Lightspeed R-Series/X-Series image sync.
Response JSON
A JSON object with the following fields:
id
number
Internal ID of the uploaded image.
Last updated
Was this helpful?