Light Mode
Product Variant Details
GET
/products/variants/{variant}Last modified: 2 months ago
This endpoint allows you to return the complete details for a specific variant by passing the variant
as a path parameter.
Request
Path Params
variant
string
required
The Product SKU Variant ID. List of Product SKU can be found here.
Request samples
Responses
Progress In-Action(200)
Not Found(404)
Progress In-Action
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 652911549,
"price": {
"amount": 13.5,
"currency": "SAR"
},
"sale_price": {
"amount": 0,
"currency": "SAR"
},
"cost_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": "٣ كجم"
}
}
Last modified: 2 months ago