Show Variant
GET {{baseUrl}}/products/variants/:variant
This endpoint allows you to return the complete details for a specific variant by providing the ID of the variant you want to get its details in the variant path parameter.
OAuth Scopes
orders.read
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"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]}}