Upload cover for gallery video

PUT https://app.ecwid.com/api/v3/{storeId}/products/{productId}/gallery/video/{galleryVideoId}

Required access scopes

Your app must have the following access scopes to make this request: update_catalog

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

productId

number

Internal product ID.

galleryVideoId

number

Internal video ID in the product gallery.

Query params

All query params are optional.

Name
Type
Description

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.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Response JSON

A JSON object with the following fields:

Field
Type
Description

id

number

Internal ID of the uploaded image.

Last updated

Was this helpful?