There MUST be a way to add a Shipment Tracking Number / URL to an order?

David_Luck
Shopify Partner
12 0 3

It's always blown my mind that from the Shopify Admin UI you can very simply add a Tracking Number and Tracking URL to an order with a couple of clicks.

However via the API this has always historically been done by creating a Fulfillment on an Order but with the deprecation of "raw" Fulfillments this now means adding shipment tracking details is a bizarre and convoluted process of registering a fulfillment service provider, assigning SKUs to the provider and then attaching a fulfillment to the orders fulfillment_orders.

 

Shopify support have unfortunately been very dismissive of this and just suggested using the fulfillment service approach above but our customers simply want to be able to update tracking information, nothing more, nothing less.

Please save me from going insane 😞 

 

Thanks for any

Reply 1 (1)

garyrgilbert
Shopify Partner
385 40 155

That bizarre approach is only if you are a fulfillment service provider, if you have a order management app there is no registering of fulfillment service provider stuff, just a bit different method of fulfillment once you get used to it you will see that it actually does make sense.. never the less...

 

If the order has been fulfilled already and you just want to add the tracking information to the order there is an endpoint for that which is pretty easy.

 

https://shopify.dev/docs/api/admin-rest/2023-01/resources/fulfillment#post-fulfillments-fulfillment-...

 

Cheers,

 

Gary

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution