Querying Orders


Is there any way to query completed orders in the past 24hrs?


Thank you in advance.

  • In reply to Milad Azimi:

    In the postman samples, you can see the SearchApiSamples->API has a Search sample.

    If you modify the body to change the scope to be the "OrdersScope" and you can leave the term as "*" and then change the filter to be "orderplaceddate:[NOW/MINUTE-24HOURS TO NOW/MINUTE+1MINUTE]"

    so it should be something like this.

    "term": "*",
    "filter": "orderplaceddate:[NOW/MINUTE-24HOURS TO NOW/MINUTE+1MINUTE]",
    "orderBy": "",
    "skip": 0,
    "top": 10