Fulfilment Service /fetch_tracking_numbers

Hi all,

some time ago I build fulfilment app, and successfully connected to quite a few stores. I’m currently refactoring some code and processes and I wondered if anyone knows what should be returned to /fetch_tracking_numbers ? Documentation does not provide anything regarding this as it does for inventory levels .
Step 9 here Build for fulfillment services

Also, on my dev store, I have few open and accepted orders but after 5 hours still no call was made by Shopify to /fetch_tracking_numbers

Many thanks !

Shopify had* an open source shipping-fulfillment-app that shows an example request and response for /fetch_tracking_numbers:

I haven’t implemented that before, so I can’t confirm it is still current, but hopefully it helps.

*Edited to update has to had since the project appears to lead to a broken link now.

Hi @Emily

This resource is gone, 404

The resource I linked to is still there for me; it’s a page with setup instructions for an app that is apparently no longer available. However, if you scroll down on that page, the information from my screenshot is there.

Looks like their open source fulfillment resources now include:

  • fulfillment-order-sample-app (current)
  • shopify-fulfillment-integration (archived). Perhaps this is the same app referenced on the page that I came across? :woman_shrugging:
1 Like

Thanks Emily, I had a look and the only app that has anything to do with /fetch_tracking_numbers is the app that is now archived ( and this is the only thing I have found on the internet since I posted about it ). The other app doesn’t have any info about that endpoint.

I have build my backend to return object similar to what /fetch_stock expects, that is :
{
“orderNumber”: “trackingNumber”,
“orderNumber”: “trackingNumber”
}

But I cannot test it, Shopify is not calling this endpoint ( tracking support is set to true and orders have been opened and accepted for nearly 24h now .

I understood that it should be calling this endpoint every hour, same for fetch_stock, but then endpoint for tracking is not calling at all, and fetch_stock misses a call every few hours.