what is the correctly response format for fetch_tracking_numbers

I receive the fetch_tracking_numbers, and my response body is :

{
       "message": "Successfully received the tracking numbers",
       "success": true,
       "tracking_numbers": {
            "#1021.1": "SWESH1780095542YQ",
            "#1019.2": "YT2232121272202209",
            "#1019.1": "YT2232121272202209"
       }
}

but it doesn’t seem to be working.

In order detail page,

https://ljptest10153.myshopify.com/admin/orders/5203193790739

“tracking_numbers” still do not exist.

How could I return “tracking_numbers” instead of the “add tracking” button?

my shop domain is “ljptest10153.myshopify.com

order_id is “5203193790739”

fulfillment_order_id is “6140779266323”

x-logTraceId-header=447489371816079360

thant you for any replies!

:persevering_face:

Hi @loganaa :waving_hand:

The response from your post looks to be in the appropriate format. We query the callback_url/fetch_tracking_numbers endpoint to retrieve tracking numbers for orders, if inventory_management is set to true. I’d recommend checking the properties on your FulfillmentService is setup this way.

Hope that helps!

thank you for reply!

You are right, I missed that, inventory_management is not set to true,

But I wonder why shopify can still send us requests when it is set to false.

Anyway, hopefully it works.