Attach Youtube Video
Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
POST
https://api.salla.dev/admin/v2
Product Images
Last modified:2025-05-11 08:17:12
product
as a path parameter.Alert
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.salla.dev/admin/v2/products//video' \
--header 'Content-Type: application/json' \
--data-raw '{
"video_url": "https://www.youtube.com/watch?v=dmqWuUeA5Ug",
"default": true,
"alt": "things from Google"
}'
Response Response Example
201 - Example
{
"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"
}
}
Request
Path Params
product
integerÂ
required
Body Params application/json
Responses
Modified at 2025-05-11 08:17:12