Google Shopping REST API restricting by Category

2019-06-26 02:45发布

1条回答
乱世女痞
2楼-- · 2019-06-26 03:30

From https://developers.google.com/shopping-search/v1/reference-request-parameters it looks like you could specify:

restrictBy=category=categoryName

but categoryName has to come from a provided taxonomy, and you can only provide a taxonomy if you're accessing Commerce Search, rather than the public product list. Google Shopping itself presumably has a default taxonomy built in, but the docs for the APIs suggest that that taxonomy isn't available to API users.

So: this isn't supported.

Edit: discussion thread where Google engineers confirm it's not presently supported

查看更多
登录 后发表回答