Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Detect Store Order Status Usage

Detect Store Order Status Usage

shopappsllc
Shopify Partner
7 0 1

is there an API route or method we can use to see if the store is using legacy thank you page vs new thank you page?

Replies 4 (4)

Liam
Community Manager
3108 344 910

Hi Shopappsllc,

 

One option could be to query checkoutBranding - if the branding API is active on a store, the new thank you page should be active too. 

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

shopappsllc
Shopify Partner
7 0 1

Hi,

 

I am trying to implement this but I am getting the following error:

 

:message => Access denied for checkoutProfiles field. Required access: The shop must have access to the checkout editor.

I need to be able to check this for non shopify plus shops, any ideas?

Liam
Community Manager
3108 344 910

What is the use-case you're trying to achieve here?

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

shopappsllc
Shopify Partner
7 0 1

Hi,

 

Since stores can now either use the legacy or new thank you page I need to know which one they use. My app allows modifying the thank you page and it won’t work unless I know which version they are using.