Get item count by groups
Use the Item Count by Groups API request to get a total number of items in your catalog that are grouped together as a variant group. You can also retrieve information on different variant group IDs for the items.
We highly recommend searching by your variantGroupId
to use this API effectively. Searching with other product identifiers such as SKU or GTIN may not yield valid results and will not help you identify the items that currently belong to a variant group.
In the example response below, you can see that there are five groups present in the seller's catalog and that variantGroupID
WFSGRP22
contains five items.
Example API response
{ "status": 200, "payload": [ { "variantGroupId": "VGWATER130", "count": 1 }, { "variantGroupId": "WFSGRP22", "count": 5 }, { "variantGroupId": "VGS-3B-CASE", "count": 2 }, { "variantGroupId": "VAXGRP2020_3", "count": 1 }, { "variantGroupId": "00640854493919", "count": 1 } ]
}
Updated 7 days ago