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.

You can add one video only per request.

💡 Note

Videos are added as Youtube links.

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;\u003cnull\u003e&quot;,&quot;video_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;}}