Error 406 on HTTP Send request (Shopify Flow)

juanki-bcn
Tourist
11 0 1

Hi

I'm trying to use on Flow a HTTP Send request, update an order. It has 406 error.

Configuration on Shopify Flow:

HTTP method: PUT
URL: https://my_store.myshopify.com/admin/api/2023-10/orders/{{order.id}}.json
Content-Type: application/json

X-Shopify-Access-Token: Access_Token_from_an_app_created (read and write all orders parameters)

body:
{"phone": "{{order.displayAddress.phone}}"}

 

Error:

{"status":406,"response_body":"","verb":"PUT","url":"https://xxxxx.myshopify.com/admin/api/2023-10/orders/gid://shopify/Order/5806411710807.json","request_body":"{\"phone\": \"+xxxxxxxxxx\"}\n\n"}
 

Any idea?

Replies 0 (0)