Get all product variants
GET https://api.ecartapi.com/api/v2/products/{{productId}}/variants
Searches for all the registered variants of a single product.
Important information:
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"variants":[{"id":"33933057213","productId":null,"name":null,"price":"10","sku":null,"fulfillmentService":null,"createdAt":null,"updatedAt":null,"weight":null,"weightUnit":null,"inventoryItemId":null,"inventoryQuantity":"1"}]}