Upload gallery video

Upload video to the product gallery using URL

Headers

NameTypeDescription
AuthorizationstringoAuth token with mandatory Bearer before it. Example: Bearer e***s0, where e***s0 should be replaced with your oAuth 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