Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

What Is The Reason For Returning {"Fulfillment_orders": []} When Querying The Fulfillment Order?

What Is The Reason For Returning {"Fulfillment_orders": []} When Querying The Fulfillment Order?

laijinjie
Shopify Partner
4 0 1

Hello everyone, I found a very strange problem today. If you use this http interface: /admin/api/2021-10/orders/{order_id}/fulfillment_orders.json to query the fulfillment order, it will return {"fulfillment_orders": [ ]}, what is the reason, please reply if you know, Thanks.

 

 

X-Request-ID:0b12d4e9-4a7b-4d9a-99c2-ed9c56a325a6

If the developer of shopify sees it, can you please help me to troubleshoot it? grateful

Replies 2 (2)

Jason
Shopify Partner
11207 226 2317

Do you have the right permissions enabled for your app?

★ I jump on these forums in my free time to help and share some insights. Not looking to be hired, and not looking for work. http://freakdesign.com.au ★
laijinjie
Shopify Partner
4 0 1

laijinjie_0-1678070154549.png

laijinjie_1-1678070266679.png

 

I have the correct permissions, the same order Id, I can get the correct response using the http interface /admin/api/2021-10/orders/5260260704552/fulfillments.json, but if I use the http interface admin/api/2021-10 /orders/5260260704552/fulfillment_orders.json and I don't get any response. My program has been using this interface normally admin/api/2021-10/orders/{order_id}/fulfillment_orders.json

 

Can you tell me what is the reason? grateful