GET https://api.ecartapi.com/api/v2/products/{{productId}}/variants/{{id}}
Searches for a selected variant of a product. Important information:
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Authorization
|
string |
RESPONSES
status OK
{
"success": true,
"variant": {
"id": "33933057213",
"productId": null,
"name": null,
"price": "10",
"sku": null,
"fulfillmentService": null,
"createdAt": null,
"updatedAt": null,
"weight": null,
"weightUnit": null,
"inventoryItemId": null,
"inventoryQuantity": "1"
}
} |
ENDPOINTS