How to add Tracking Data via REST API to an order?

hi, can anyone tell me how to add tracking (shipping) data to an order by using the REST API? I can not fing a matching endpoint for it.

Hey @Deluxe

Here’s an example: https://shopify.dev/docs/api/admin-rest/2023-07/resources/fulfillment#post-fulfillments-examples

Here’s more on the lifecycle of a fulfilment order: https://shopify.dev/docs/api/admin-rest/2023-04/resources/fulfillmentorder#fulfillment-order-lifecycle

1 Like

Thank you very much!

I got an NOT_FOUND maybe because the order is not a fullfilment order? I dont understand why this is not a fulfillment order, do you have any idea?

Is there no way to add tracking as well for non-fulfillment orders?

1 Like

What was missing for me was read_merchant_managed_fulfillment_orders and write_merchant_managed_fulfillment_orders app scope.

1 Like