Attach Youtube Video

POST {{baseUrl}}/products/:product/video

This endpoint allows you to add unlimited videos to a specific product by providing the ID of the product you want to attach these videos to in the product path parameter.

:::note - Videos must be added as Youtube links. - You can add only one video per request. :::

products.read_write- Products Read & Write

Request Body

{"video_url"=>"<string>", "default"=>"<boolean>", "alt"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;status&quot;:&quot;\u003cnumber\u003e&quot;,&quot;success&quot;:&quot;\u003cboolean\u003e&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;\u003cnumber\u003e&quot;,&quot;image&quot;:{&quot;original&quot;:{&quot;url&quot;:&quot;\u003cstring\u003e&quot;,&quot;width&quot;:&quot;\u003cnumber\u003e&quot;,&quot;height&quot;:&quot;\u003cnumber\u003e&quot;},&quot;standard_resolution&quot;:{&quot;url&quot;:&quot;\u003cstring\u003e&quot;,&quot;width&quot;:&quot;\u003cnumber\u003e&quot;,&quot;height&quot;:&quot;\u003cnumber\u003e&quot;},&quot;low_resolution&quot;:{&quot;url&quot;:&quot;\u003cstring\u003e&quot;,&quot;width&quot;:&quot;\u003cnumber\u003e&quot;,&quot;height&quot;:&quot;\u003cnumber\u003e&quot;},&quot;thumbnail&quot;:{&quot;url&quot;:&quot;\u003cstring\u003e&quot;,&quot;width&quot;:&quot;\u003cnumber\u003e&quot;,&quot;height&quot;:&quot;\u003cnumber\u003e&quot;}},&quot;sort&quot;:&quot;\u003cnumber\u003e&quot;,&quot;default&quot;:false,&quot;alt_seo&quot;:&quot;\u003cstring\u003e&quot;,&quot;video_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;}}