Tracking numbers - fulfillmentOrders replacement for fulfillments/[..]/update_tracking.json?

Hi,

We are nearing the completion of our fulfillmentOrders migration.

One piece that seems to be missing from the documentation is a method to submit tracking numbers and shipping services via the rest api. This was formerly located in:

fulfillments/[fulfillmentid]/update_tracking.json

I see there is a webhook available for shopify to pull tracking numbers, however, I’m not finding a non-deprecated resource for posting them.

Is this no longer available?

Hi @gvbrown :waving_hand:

To update tracking information for a fulfillment, you can make a post request to /admin/api/2023-01/fulfillments/1069019871/update_tracking.json for REST, or use the fulfillmentTrackingInfoUpdateV2 mutation in GraphQL.

Hope that helps!

Hi,

This works fine with the legacy fulfillment workflow.

Unless I’m just not seeing the relationship - the fulfillmentOrders workflow does not use the fulfillment_id required by the update_tracking endpoint in fulfillments, nor does it expose that property. Using the “id” property in the line items returns “not found” when attempting to send tracking. Likewise for the “fulfillment_order_id”.

Found the answer, and it’s probably more of a confusion over the terms used between the old workflow and the new workflow.

After requesting, and accepting a fulfillment order, the fulfillment is “created” upon shipment, where the tracking number and information is submitted.

This is somewhat different than the legacy workflow, where a fulfillment could be created upon acceptance of an assigned fulfillment order, then eventually “completed”.

The issue we have is that as soon as we send in the initial fulfilment Shopify closes the fulfilment and rebuffs any further event or fulfilment messages with a “fulfilment closed” message and doesn’t alter the state nor update the customer