FulfillmentEvents: Shopify fulfillment query sometimes returns empty events

Highlighted
New Member
1 0 1

I'm trying to get events for some fulfillments. Right now I can see events for Fedex fulfillments but not DHL fulfillments. I'm not entirely sure if the main issue is carrier yet though.

Query is below

 

 

    query fulfillment($id: ID!) {
      fulfillment(id: $id) {
        displayStatus
        createdAt
        deliveredAt
        status
        trackingInfo {
          company
          number
          url
        }
        events(first: 2, sortKey: HAPPENED_AT, reverse: true) {
          edges {
            node {
              status
              happenedAt
              id
            }
          }
        }
      }
    }

 

 

Everything else looks like its coming back fine.

One common thread is the `displayStatus` looks like it's always `FULFILLED` when I'm missing events. I'm not exactly sure what this means. This is not always true as some DHL orders are in transit with this status.

I'm also missing events for some Fedex orders but those don't look like they've started transit yet.

 

I can't find too much documentation on fulfillment_events so its a little difficult to tell whats going wrong.

1 Like
Highlighted
Shopify Staff
Shopify Staff
587 72 129

Hey @wesleyabbey,

Fulfillment events should come in automatically for Fedex, and I believe they should be automatic for DHL as well. If you can provide the order_ids that you're not seeing updated tracking info for, I'll check our logs to see why that's the case.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes