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":"41930245505279","productId":"7351866360063","name":"Default Title","upc":null,"price":"800.00","sku":null,"imageId":null,"fulfillmentService":"manual","option1":"Default Title","option2":null,"option3":null,"dimensions":{"width":null,"height":null,"length":null,"weight":null},"units":{"width":null,"height":null,"length":null,"weight":"kg"},"inventory":{"itemId":"44023929831679","quantity":"62"},"requireShipping":"true","bundled":"false","dates":{"createdAt":"2021-10-28T17:36:38-05:00","updatedAt":"2021-12-16T16:56:35-06:00"},"countryCodeOrigin":"US","provinceCodeOrigin":null,"harmonizedSystemCode":"110320","countryHarmonizedSystemCode":"110320"}}