d
Topic
Posts:
4
12 days ago

Order API Help

Probably a simple request. 

Using klipfolio, i want to pull into KP all shipped orders with a unique API request for each month. This way i can separate in Klipfolio by month easily and the request doesnt get too huge 

i
Replies
Posts:
501
12 days ago

Hi David

Don't know anything about Klipfolio but had a quick look that their Klips do not support GraphQL connectors so you'll be limited to Shopify REST Admin API - though that's okay.

The query you'd need to run is GET on /admin/orders.json endpoint

https://<MY_STORE>.myshopify.com/admin/orders.json?created_at_min=2018-11-01T00%3A00%3A00-00%3A00&created_at_max=2018-11-30T24%3A00%3A00-00%3A00&status=any&fulfillment_status=shipped

Params used are:

  • created_at_min (as per month you require)
  • created_at_max (as per month you require)
  • status (any)
  • fulfillment_status (shipped)

Docs can be found here.

Hope this helps!

I turn coffee in to code - since 1998
Posts:
4
10 days ago

Thank you! this was perfect