Light Mode
Attach Video by SKU
POST
/products/sku/{sku}/videosLast modified: 17 days ago
This endpoint allows you to attache a video by passing the sku
as a path parameter.
Request
Path Params
sku
string
required
The Product SKU. List of Product SKU can be found here.
Body Params application/json
video_url
string
optional
Video URL
Example:
https://www.youtube.com/watch?v=jwCmIBJ8Jtc
Example
{
"video_url": "https://www.youtube.com/watch?v=jwCmIBJ8Jtc"
}
Request samples
Responses
Success(200)
Not Found(404)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"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"
}
}
Last modified: 17 days ago