Count all product variants
GET https://api.ecartapi.com/api/v2/products/{{productId}}/variants/count
Counts all the registered variants of a single product.
Important information:
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"success":true,"count":12}