Upload gallery product video

Upload video to the product gallery using URL

Access scopes

Requires the following access scope: update_catalog

Headers

NameTypeDescription
AuthorizationstringAuthorize request with an access token. Format:Bearer access_token.
Example: Bearer secret_ab***cd, where secret_ab***cd is your access token.
Content-TypestringValue must be "application/json;charset=utf-8"
urlstringURL of the video

Response

A JSON object of type 'CreateStatus' with the following fields:

UploadStatus

FieldTypeDescription
idnumberInternal video ID

Errors

In case of error, Ecwid responds with an error HTTP status code and JSON-formatted body containing error description

HTTP codes

HTTP StatusDescription
400Request parameters are malformed
402The functionality/method is not available on the merchant plan
403Access token doesn't have update_catalog scope
404Product is not found
422The added file is not a video
500Adding video process failed or there was an internal server error while processing a link

Error response body (optional)

FieldTypeDescription
errorMessagestringError message
Language
Click Try It! to start a request and see the response here!