Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi everyone! I am getting this response when I do a PUT request to this URL: "url":"https://shop_name.myshopify.com/admin/api/2023-10/orders/{order.id}.json"
I am trying to add an order tag.
I get this response.
{"status":401,"response_body":"{\"errors\":\"[API] Invalid API key or access token (unrecognized login or wrong password)\"}",
I ran a python script with the same exact Admin API access token and it worked, same URL, same everything. I just wanted to get this to work as an automation and it does not work in the shopify admin workflows.
I am using this key 'X-Shopify-Access-Token'
Does anyone have any ideas?
Any help??? I would love anything from anyone
You need to use legacyResourceId not id in URLs.
In order to output a variable, it must be enclosed in {{ }} not { }. So replace that with :
{{ order.legacyResourceId }}
For the API key, you need to create a custom app api key that has the write scopes and use the key there.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025