List Product Variants
Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
GET
https://api.salla.dev/admin/v2
Product Variants
Last modified:2025-04-28 13:24:32
product
as a path parameter.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.salla.dev/admin/v2/products//variants'
Response Response Example
200 - Example
{
"status": 200,
"success": true,
"data": [
{
"id": 652911549,
"price": {
"amount": 13.5,
"currency": "SAR"
},
"sale_price": {
"amount": 0,
"currency": "SAR"
},
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"stock_quantity": 3000,
"barcode": "barcode-ABC",
"sku": "sku-variant-1551119600",
"related_option_values": [
667315336
],
"weight": 3,
"weight_type": "kg",
"weight_label": "٣ كجم"
}
],
"pagination": {
"count": 1,
"total": 1,
"perPage": 60,
"currentPage": 1,
"totalPages": 1,
"links": []
}
}
Request
Path Params
product
integer
required
Responses
Modified at 2025-04-28 13:24:32