get https://app.ecwid.com/api/v3//products//gallery/
Get information about product video
Access scopes
Requires the following access scope: read_catalog
Response
A JSON object with the following fields:
Field | Type | Description |
---|---|---|
id | number | Internal video ID |
videoCoverId | number | ID of the cover image for the video (from 'images') |
url | boolean | URL to the video file |
embedHtml | string | Embedded code for the video file |
providerName | string | Video hosting provider name (could be empty) |
title | string | Video title (could be empty) |
image160pxUrl | string | URL of the video cover image resized to fit 160x160px |
image400pxUrl | string | URL of the video cover image resized to fit 400x400px |
image800pxUrl | string | URL of the video cover image resized to fit 800x800px |
image1500pxUrl | string | URL of the video cover image resized to fit 1500x1500px |
Errors
In case of error, Ecwid responds with an error HTTP status code and JSON-formatted body containing error description
HTTP codes
HTTP Status | Description |
---|---|
400 | Request parameters are malformed |
403 | Access token doesn't have update_catalog scope |
404 | Product is not found |
500 | Adding video process failed or there was an internal server error while processing a link |
Error response body (optional)
Field | Type | Description |
---|---|---|
errorMessage | string | Error message |