[BUG] Admin GraphQL API - Can't query order.lineItems.edges.node.fulfillmentService fields

I have a private Shopify app and I'm running into errors querying for orders that I am not coming across when making the same query using an access token I've received via OAuth.

The query:

 

query bugOrderQuery {
  orders(first: 1) {
    edges {
      node {
        lineItems(first: 1) {
          edges {
            node {
              fulfillmentService {
                id
              }
            }
          }
        }
      }
    }
  }
}

 

 

The response:

 

{
  "errors": [
    {
      "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 6cedcef8-faf7-401d-80d7-2a45fbae6013 (include this in support requests).",
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "requestId": "6cedcef8-faf7-401d-80d7-2a45fbae6013"
      }
    }
  ]
}

 

 Something else to note is that the documentation for LineItem.fulfillmentService is incorrect

  • fulfillmentService (FulfillmentService!)

    Name of the service provider who fulfilled the order.

    Valid values are either manual or the name of the provider. For example, amazon, shipwire.

LineItem.fulfillmentService should describe the field as FulfillmentService and not simply the name.

Reference: https://shopify.dev/docs/admin-api/graphql/reference/orders/lineitem

 

 

TrackPack

Gain shipment visibility, increase customer confidence and optimize your customer support using TrackPack's Email / SMS shipping notifications and order tracking page generator.
0 Likes
CalD
Shopify Staff
Shopify Staff
129 15 19

Hey @TrackPack,

This is an issue our team is aware of and is looking into. No timeline for a fix yet, but stay tuned!

CalD | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Got it, thanks @CalD for the reply! Acknowledgement that Shopify staff read the post means a lot.

TrackPack

Gain shipment visibility, increase customer confidence and optimize your customer support using TrackPack's Email / SMS shipping notifications and order tracking page generator.
0 Likes