Out now! Check out the Poll results: Do you have a Shopify store?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

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

Replies 2 (2)

garyrgilbert
Shopify Partner
431 41 185

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
hanoch
Shopify Partner
3 0 0

i still don't understand how to do it, i work for an order management app and the orders have no fulfillment info, how can i create a fulfilment order with having the fulfillment order id