Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hello,
I would like to retrieve a link to the Order Status Page via Shopify Flow. This used to work with the following code:
{{storeUrl}/orders/{{order.id | split: '/' | last }}
However, this method stopped working this week. I found another post describing this issue outside of Flow: https://community.shopify.dev/t/order-status-page-no-longer-includes-the-order-id/2603
What is an alternative way to get the order status page? Any help is appreciated.
Kind regards,
Koen
Your code has a bug in it, as it's missing a `}`.
Those variables look like a token and the shop id. I don't see where the token is available in the GraphQL Admin API that Flow uses. Shop id is {{ shop.id }} (haven't tested that it's the same number but assume so).
Also, I do see that the 2024-10 API introduces an order.statusPageUrl field. Flow is currently using 2024-04 and planning to upgrade to 2024-10 in Q1.
Thanks for noticing the typo. I replaced my actual store url with the code just not to have it here online. The current code worked for about 2 years.
Good to hear that an solution is coming in Q1. Does it mean that in the meantime I cannot share order status page with our customers right now?
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025