A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
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!
Solved! Go to the solution
This is an accepted solution.
Hi @loganaa 👋
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!
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
😣
This is an accepted solution.
Hi @loganaa 👋
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!
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
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.