Update Order Meta fields from user end on Click CTA button

Update Order Meta fields from user end on Click CTA button

fullstack1511
Shopify Partner
1 0 0

Hi Everyone,

 

I'm currently facing an issue while trying to update order metafields using the Shopify API. I'm receiving an error with response code 406 and the message "Failed to update order metafield." I've followed the Shopify documentation and various online resources, but I haven't been able to resolve this issue.

've verified that the API credentials, endpoint URL, and request data are correct. However, I'm still encountering the 406 error. I suspect it might be related to the "Accept" headers being sent in the request.

Can anyone help me understand what could be causing this error and suggest a possible solution? Any insights or suggestions would be greatly appreciated.

Thank you in advance!

 

Reply 1 (1)

SBD_
Shopify Staff
1829 271 415

Hey @fullstack1511 

 

Can you send the request again and capture the Request ID from the response headers?

Scott | Developer Advocate @ Shopify