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.

FulfillmentServiceType is not set

FulfillmentServiceType is not set

mxxm
Shopify Partner
13 0 3

Hi guys,

 

I am using the API to fetch fulfillment orders from the store. I want to check if the fulfillment order is of type "THIRD_PARTY" or "MANUAL".

 

I have checked the docs and this value should be stored as described here:

https://shopify.dev/docs/api/admin-graphql/2023-07/enums/FulfillmentServiceType#value-thirdparty

 

But somehow "MANUAL" FulfillmentOrders return the following data:

"assignedLocation": {
"address1": null,
"address2": null,
"city": null,
"countryCode": "DE",
"name": "Shop location",
"phone": null,
"province": null,
"zip": null,
"location": {
"fulfillmentService": null
}
},

 

For "THIRD_PARTY" FulfillmentOrders I receive the type value as expected. Is this a wanted behaviour or am I overseeing something?

 

Thanks for you help!

 

 

Reply 1 (1)

mxxm
Shopify Partner
13 0 3

Is anybody having an approach on this?