Is it possible to get fulfilment date for scheduled Order?

Solved
Cleankitchen
Shopify Partner
13 1 5

Hi,

 

When using subscriptions to schedule new Orders is it possible to get the fulfilment date of an Order? 

 

I see I can get Order "fufilments" and "fulfillmentOrders" using the "orders" GraphQL query but neither is available in my case when Order is scheduled (I assume they become visible later but too late for us because we need to prepare the order before fulfilment date). I see in admin UI "next fulfillment..." so Shopify certainly knows it. 

 

One workaround I can think of is using "subscriptionBillingCycles" query but that is quite a roundabout way of achieving this. An alternative is storing the fulfilment date as custom metadata but strange that I have to add and maintain such data myself.

 

Thank you for reply!

Accepted Solution (1)
Cleankitchen
Shopify Partner
13 1 5

This is an accepted solution.

Found that I was missing read_third_party_fulfillment_orders permissions which resulted in "fulfillmentOrders" being empty. After adding that permission I can see all information.

View solution in original post

Reply 1 (1)
Cleankitchen
Shopify Partner
13 1 5

This is an accepted solution.

Found that I was missing read_third_party_fulfillment_orders permissions which resulted in "fulfillmentOrders" being empty. After adding that permission I can see all information.