简体   繁体   English

Shopify API:如何获取大于的 id

[英]Shopify API: How to get id where is greater than

How can I get orders thru Shopify API where the id is greater than xxxxx?如何通过 Shopify API 获取 ID 大于 xxxxx 的订单?

Something like:就像是:

admin/api/2020-01/orders.json?id>=1900000000

or或者

admin/api/2020-01/orders.json?min_id=1900000000

I hope you understand what I mean.我希望你明白我的意思。

If you read the documentation you see that orders have a created_at_min and created_at_max.如果您阅读文档,您会看到订单具有 created_at_min 和 created_at_max。 Those values are what you use as your filter criteria for dates.这些值是您用作日期过滤条件的值。 If you need to work off of ID then you can try the since_id filter.如果您需要处理 ID,那么您可以尝试使用 since_id 过滤器。 In other words, give me all order since 123456. You get what I mean?换句话说,给我自 123456 以来的所有命令。你明白我的意思吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM