Migration of REST fulfillment shipment_status to GraphQL

While migrating the fulfillment data collection from REST to GraphQL we noticed that the shipment_status field of the fulfillment object has no real equivalent field in the GraphQL fulfillment object.
The API documentation indicates to use the status field on the FulfillmentEvent object (FulfillmentEventStatus!) but in some scenario this does not match with the REST shipment_status.
We looked at potentially using the DisplayStatus field on the fulfillment object but this does not match 100% either.
Has anyone encountered this and solved this discrepancy?

As an example in one scenario we have the following;

  • REST shipment_status set to “picked_up”
  • GraphQL latest event status set to “DELIVERED”
  • GraphQL display status set to “FULFILLED”

Hey @Mathieu_Nunez :waving_hand: it looks like we don’t have a “picked_up” status value for fulfillment events in the GraphQL API: FulfillmentEvent - GraphQL Admin

That said, it does look like we have one in the REST API like you mentioned: FulfillmentEvent - REST

Would you be willing to share an example Order ID where you’re seeing this?

Once I hear back from you, I’ll double check internally to see if this is intended for you and loop back with you here once I have some more info - thanks for flagging this!

Hi @Alan_G. Thank you for looking into this. You can use order id 6303367725079 and fulfillment id 5812731576343 as an example. The store is safeopticss.myshopify.com.

Thanks @Mathieu_Nunez, looking into this one as well for you - will loop back with you here once I have an answer :slight_smile:

Hey @Mathieu_Nunez - just following up here as I was able to touch base with our product team on this. This does appear to be a possibly unintentional issue on our end, our product team’s opened up an investigation into this.

I’ll keep an eye on this for you and loop back when I can confirm a fix/next step.

1 Like