Get product variant

GET https://api.ecartapi.com/api/v2/products/{{productId}}/variants/{{id}}

Searches for the selected variant and shows the detailed information.

For more information, visit the documentation

**Important information:

**

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"variant":{"id":"0ea19f88-d037-41ec-aff1-9f305ff05191","productId":"8170ae05-aaa6-4d36-870e-92f194cc7c36","name":"red","upc":null,"price":"100.00","sku":"12345678","imageId":"c7c8d026-7fe1-48a1-b931-e974ff7acac5","fulfillmentService":null,"option1":"red","option2":null,"option3":null,"dimensions":{"width":null,"height":null,"length":null,"weight":"10.00"},"units":{"width":null,"height":null,"length":null,"weight":"kg"},"inventory":{"itemId":null,"quantity":"10"},"requireShipping":null,"bundled":null,"dates":{"createdAt":"2021-12-16T17:03:57Z","updatedAt":"2021-12-16T17:06:59Z"}}}