问题描述
我正在使用以下代码从 Google 购物内容 API 获取产品列表。
$products = $service->products->listProducts($merchantId,array('pagetoken' => $nextPagetoken,'maxResults' => 100));
由于 'maxResults' => 100
但我想知道"maxResults"
参数的最大限制。
我检查了下面的链接,但我没有得到最大限制值。
https://developers.google.com/shopping-content/reference/rest/v2/products/list
谁知道最大限制值。?
解决方法
250 根据文档 (https://developers.google.com/shopping-content/guides/order-limits#list-method)...
list 方法存在以下已知问题:
maxResults: This field is not yet implemented,but will be available
soon with a default of 25 results and a max value allowed of 250.