Get product variant

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

Searches for a selected product variant and shows the detailed information.

Important information.

* Product identifier is required.
* Variant identifier is required.

More information about the ecommerce's resource.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"variant":{"id":"561","productId":"315","name":null,"upc":null,"price":"549","currency":null,"sku":"2280101U48138","imageId":null,"fulfillmentService":null,"option1":"38","option2":null,"option3":null,"dimensions":{"width":null,"height":null,"length":null,"weight":null},"units":{"width":"cm","height":"cm","length":"cm","weight":"kg"},"inventory":{"itemId":null,"quantity":"3"},"requireShipping":null,"bundled":null,"dates":{"createdAt":null,"updatedAt":null}}}