product
as a path parameter.products.read_write
- Products Read & WriteAuthorization: Bearer ********************
{
"video_url": "https://www.youtube.com/watch?v=dmqWuUeA5Ug",
"default": true,
"alt": "things from Google"
}
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"
}'
{
"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"
}
}