Get single variant
GET https://api.ecartapi.com/api/v2/products/{{productId}}/variants/{{id}}
Retrieves the inventory record for a listing. Listings you did not edit using the Etsy.com inventory tools have no inventory records. This endpoint returns SKU data if you are the owner of the inventory records being fetched.
More information about ecommerce's resource
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"variant":{"id":"13187267872","productId":"1344606269","name":"Vestido de pruebas 3","upc":null,"price":"10.00","currency":"MXN","sku":"B3U","imageId":null,"fulfillmentService":null,"option1":"3","option2":"Blue","option3":null,"dimensions":{"width":null,"height":null,"length":null,"weight":null},"units":{"width":null,"height":null,"length":null,"weight":null},"inventory":{"itemId":null,"quantity":"10"},"requireShipping":null,"bundled":null,"dates":{"createdAt":null,"updatedAt":null}}}