Receiving an error when trying to fetch fullfillments

ZeroxTheDwarf
New Member
1 0 0

So for a project im working on im trying to retrieve the Track and Trace information from an order using the Shopify GraphQL API, however the result of these calls is that apparently the field does not exist in an order even though it should be avaiable according to the documentation. The call i make is as following (AccessToken removed for privacy):

{
    customer(customerAccessToken"") {
        id,
        firstName,
        lastName,
        orders(first250) {
            edges {
                node {
                    id,
                    name,
                    processedAt,
                    fulfillmentStatus,
                    fulfillments {
                        edges {
                            nodes{
                                trackingInfo {
                                    company,
                                    number,
                                    url
                                }
                            }
                        }
                    }
                    shippingAddress {
                        address1,
                        city,
                        zip,
                        name,
                        company
                    }
                    totalPriceV2 {
                        amount
                        currencyCode
                    }
                    lineItems(first10) {
                        edges {
                            node {
                                quantity,
                                title
                            }
                        }
                    }
                }
            }
        }
    }
}
 
The result of this call is as following:
ZeroxTheDwarf_0-1632488686484.png

 

Am i trying to retrieve this wrong, or is this not fully available within the GraphQL API as of now?

Replies 0 (0)