Error: [406] when trying to update product

tsinventory220
New Member
1 0 0

i'm using node js to create and update product in shopify. i used webhook in my system to create and update product. when i try to create product it perfectly work but when i try to update that product it get a 406 error.

0 Likes
_JCC_
Shopify Staff
Shopify Staff
139 20 25

Hey @tsinventory220 ,

This usually indicates the HTTP method is set to POST instead of PUT when updating the product. If that's not the case, please provide the x-request-id from the response headers, and we can look into this further for you.

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