FROM CACHE - zh-cn_header

官方dev的api文档里,有用户历史订单接口么

kevingeek
访客
1 0 0

1、用户进来以后,一个是用户的历史订单接口,这个没有找到根据用户来过滤

2、一个是本商店的商品检索功能,这个只有title的完全匹配接口,但是我们需要的是模糊匹配

 

这两个接口都没有提供对应的参数。。。

1 条回复1
AnneLuo
Shopify Partner
34 0 0

Hi, 你应该通过其访问令牌access token查找客户信息,返回的客户信息中有订单的相关数据。具体请参考:https://shopify.dev/docs/api/storefront/2023-01/objects/Customer#connections

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to contact me on luomingxia@shinetechsoftware.com.