PUT Request for fulfillment

poojafmile
Tourist
13 1 0

Hello,

Am using this reference to update tracking info - Company using this reference :https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#update_tracki...
But am receiving a blank body with 406 error

The request:

PUT      https://API_KEY:Password@shopname/admin/api/2021-04/fulfillments/fulfillment_id/update_tracking.json

poojafmile_0-1619492036932.png

After reading some posts on the forum, I have even deleted my cookie:

poojafmile_1-1619492099019.png


Given these two access as Read and Write as well: 

poojafmile_2-1619492216780.png



Can someone advise if am missing out something?

Thanks







0 Likes
_JCC_
Shopify Staff
Shopify Staff
142 20 26

Hey @poojafmile 

Happy to help you with this. The update tracking end point is actually a POST request not a PUT. Once you change to POST I believe the request will complete successfully.

Regards,

John

John C | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me 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

0 Likes