Automating Order Tracking Integration Between Shopify & External Tracking API

Hi everyone,

I’m working on automating order tracking updates within Shopify orders by pulling data from an external tracking API.

The idea is:

  • When a carrier updates a shipment status,

  • The Shopify order gets an automated status update,

  • The customer receives the latest tracking info in their order timeline.

I’ve started building the API here:
https://portaking.pk/ — it’s a tracking endpoint that returns JSON shipment events.

I’m trying to figure out:

  1. What’s the best way to receive webhook data from the carrier?

  2. How to push those tracking events into Shopify (e.g., update fulfillment metadata)?

  3. Whether Shopify Flow or a custom app is better for this use case.

Any examples of similar workflows or apps would be great!