Solved

order_status_url is not returned in the Admin REST API Orders

soulchild37
Shopify Partner
164 9 46

Seems like starting 12 February 2024, Shopify has stopped returning the "order_status_url" field for GET /admin/api/<version>/orders/<id>.json , with no announcement.

This applies to all production version (from 2024-04 to 2023-04), which broke my apps (and I believe many other partners' apps too)

This is a breaking change to production API without any notice or workaround. There is no way to retrieve order status URL using API now.

Spent too much support time dealing with order cancellation request from customer? Wouldn't it be good if customer can cancel order on their own without bugging your support? Try out Cancellable app! https://apps.shopify.com/cancellable . I also write articles about store customization that can improve your customer shopping experience here : Yagi Software Blog
Accepted Solution (1)

Liam
Shopify Staff
2731 299 769

This is an accepted solution.

Hi,

 

We have a changelog update on this API change, which was necessary for protecting customer data that you can read for more information. Your app will need Level 2 Protected Customer Data Requirements in order to access the `order_status_url` field, more information on how to request this via your partner dashboard in our developer docs. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 4 (4)

Liam
Shopify Staff
2731 299 769

This is an accepted solution.

Hi,

 

We have a changelog update on this API change, which was necessary for protecting customer data that you can read for more information. Your app will need Level 2 Protected Customer Data Requirements in order to access the `order_status_url` field, more information on how to request this via your partner dashboard in our developer docs. 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

pratikvii
Shopify Partner
7 1 12

Hey @Liam !

What actions are required for the custom Apps.

 

Thanks!
Pratik

ReturnHelper
Shopify Partner
1 0 0

The first URL "a changelog update on this API change"  does not exist. Has the change been canceled?

 

Csaba_R
Shopify Partner
4 0 0

Hello,

 

I've had no issues with receiving the "order_status_url" from the REST API until last week. I'm guessing removing it was reverted from February but got reintroduced last week somehow? Now I also have the issue of missing the "order_status_url" entirely from the Order resource when I query for it from a custom app.

 

Could we please get some assistance on what to expect? The changelog url is still a 404 page.

 

Thanks!

Csaba