Get 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":"sku_cl0k203740000iwoap9mxfs8w","productId":"prd_cl0ipt4q40000v8oi860o07me","name":"Verde","upc":null,"price":"100","sku":"sku_cl0k203740000iwoap9mxfs8w","imageId":null,"fulfillmentService":null,"option1":null,"option2":null,"option3":null,"dimensions":{"width":null,"height":null,"length":null,"weight":"1"},"units":{"width":null,"height":null,"length":null,"weight":"kg"},"inventory":{"itemId":null,"quantity":null},"requireShipping":null,"bundled":null,"dates":{"createdAt":"1646860132","updatedAt":"1646860132"}}}