Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Orders API - Create Date Filter For API Created Orders by Jonathan Schwartz

$
0
0

Here's what I'm doing:

  1. I create an Order using the API
  2. I set the "created_at" field to a date in the past
  3. I then use the API to request orders using the "created_at_min" and "created_at_max" filters

Here's what happening:

  1. I always get 0 orders if I use the filters surrounding the "created_at" date I used
  2. If I set the filters to surround the date I inserted the order it works.

My theory:

The "created_at_min" and "created_at_max" filters on the Order API is using the date of insertion versus the date in the "created_at" field in the order. Can that be real? If so, this is totally a bug. 

Anybody? Anybody? Working on an active client issue and very curious what can be done here.


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>