Get product variant

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

Fetch product variant information

More information about the ecommerce's resource.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"variant":{"id":"86","productId":null,"name":null,"price":null,"sku":null,"imageId":null,"fulfillmentService":null,"option1":null,"option2":null,"option3":null,"dimensions":{"width":null,"height":null,"length":null,"weight":null},"units":{"width":null,"height":null,"length":null,"weight":null},"inventory":{"itemId":null,"quantity":null},"requireShipping":null,"bundled":null,"dates":{"createdAt":null,"updatedAt":null}}}