Get a single product variant
GET https://api.ecartapi.com/api/v2/products/{{productId}}/variants/{{id}}
Searches for the selected variant and shows the detailed information.
Important information:
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"variant":{"id":"10","productId":"2","name":null,"price":"0.000000","sku":"demo_3","fulfillmentService":null,"createdAt":"0000-00-00","updatedAt":null,"weight":"0.000000","weightUnit":null,"inventoryItemId":null,"inventoryQuantity":"300"}}