Bug Report: DeliveryMethod code vs. serviceCode

On Friday the “serviceCode” property was available. On Monday it’s changed to “code”. The documentation still says “serviceCode”. Shopify GraphiQL App says its “code”. Please halp.

https://shopify.dev/docs/api/admin-graphql/2023-10/objects/deliverymethod

Nevermind, probably an issue with my code. I see the names are different on the fulfillment order and order.

Update: The above is a wrong diagnosis of the problem. Identical queries to the same API seem to producing two different results between Friday and Monday. The former returned deliveryMethod the latter did not.

Update: Update: Can confirm that for whatever reason, deliveryMethod is not returning any longer.

curl -X POST   https://example.myshopify.com/admin/api/2023-10/graphql.json -H 'Content-Type: application/json'   -H 'X-Shopify-Access-Token: xxxxxxxxxxxxxx' -d '{"query": "query { shop { assignedFulfillmentOrders( first: 1,locationIds: [\"gid://shopify/Location/1234\"],assignmentStatus: FULFILLMENT_REQUESTED){ edges{ node{ id assignedLocation { location{ id isActive name } name } deliveryMethod{ id serviceCode methodType }} } } }  }"}'

Likely related: https://community.shopify.com/topic/2182942

Additional information: I’ve been testing fulfillment on a development store. The orders are several days old and the fulfillment requests have been sent / cancelled repeatedly. These orders now have deliveryMethod null. A new order that I placed does not have a null deliveryMethod.

Hey @guest4

Thanks for reporting this. Checking with the team and will report back.

Thank you @SBD !

Hey @guest4

Responded to your linked thread with a response form the Delivery folks.

> Identical queries to the same API seem to producing two different results between Friday and Monday. The former returned deliveryMethod the latter did not.

Can you please provide store/order details? (DM is fine).

Thank you for those details. I’ve provided you with the requested order information.