GraphQL 中的所有计数 API 现在均返回无上限的结果。要检索无上限的计数,请将 limit 参数设置为 null。
作为此次更新的一部分,我们已在所有 GraphQL API 中标准化了实现方式。此更改引入了一个破坏性变更:所有 API 现在都包含一个 limit 参数,其默认值为 10000。
受影响的 API 列表
- abandonedCheckoutsCount
- blogsCount
- catalogsCount
- collectionsCount
- customersCount
- discountCodesCount
- discountNodesCount
- draftOrdersCount
- giftCardsCount
- locationsCount
- ordersCount
- pagesCount
- productsCount
- productVariantsCount
- urlRedirectsCount
- webhookSubscriptionsCount
注意:由于生成的事件数量庞大,我们继续将 eventsCount 限制在 10,000。

