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?
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024