Attach Video by SKU
POST
https://api.salla.dev/admin/v2/products/sku/{sku}/videosThis endpoint allows you to attache a video by passing the sku
as a path parameter.
Request
The Product SKU. List of Product SKU can be found here.
Video URL
{
"video_url": "https://www.youtube.com/watch?v=jwCmIBJ8Jtc"
}
Request samples
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": 607439256,
"image": {
"original": {
"url": "https://img.youtube.com/vi/jwCmIBJ8Jtc/mqdefault.jpg",
"width": "1920",
"height": "1080"
},
"standard_resolution": {
"url": "https://img.youtube.com/vi/jwCmIBJ8Jtc/sddefault.jpg",
"width": "640",
"height": "480"
},
"low_resolution": {
"url": "https://img.youtube.com/vi/jwCmIBJ8Jtc/mqdefault.jpg",
"width": "320",
"height": "180"
},
"thumbnail": {
"url": "https://img.youtube.com/vi/jwCmIBJ8Jtc/default.jpg",
"width": "120",
"height": "90"
}
},
"sort": null,
"default": false,
"alt_seo": null,
"video_url": "https://www.youtube.com/watch?v=jwCmIBJ8Jtc",
"type": "video"
}
}