Attach Youtube Video
POST
/products/{product}/videoThis endpoint allows you to add unlimited videos to a specific product by passing the product
as a path parameter.
:::caution[Alert]
- Videos must be added as Youtube links.
- You can only add one video per request.
:::
Request
The Product ID. List of Product ID can be found here.
A web address that links to a specific video file or content on the interne. | required
Set the video thumbnail image as default for product.
Alternative description for the video thumbnail image to enhance SEO.
{
"video_url": "https://www.youtube.com/watch?v=dmqWuUeA5Ug",
"default": true,
"alt": "things from Google"
}
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A unique identifier associated with the product image.
Sort Order
Whether or not the image the default picture
Alternative SEO Text for the image
Video web address.
Attachment Type
{
"status": 201,
"success": true,
"data": {
"id": 1749963998,
"image": {
"original": {
"url": "http://img.youtube.com/vi/dmqWuUeA5Ug/maxresdefault.jpg",
"width": 1920,
"height": 1080
},
"standard_resolution": {
"url": "http://img.youtube.com/vi/dmqWuUeA5Ug/sddefault.jpg",
"width": 640,
"height": 480
},
"low_resolution": {
"url": "http://img.youtube.com/vi/dmqWuUeA5Ug/mqdefault.jpg",
"width": 320,
"height": 180
},
"thumbnail": {
"url": "http://img.youtube.com/vi/dmqWuUeA5Ug/default.jpg",
"width": 120,
"height": 90
}
},
"default": true,
"alt_seo": "Introducing a few new helpful things from Google",
"video_url": "https://www.youtube.com/watch?v=dmqWuUeA5Ug",
"type": "video"
}
}