How to differentiate Shops with Checkout UI Extensions enabled?

After the latest updates, all shops will now have checkoutProfile: {isPublished: true}. To find out if a shop supports thank you page and order status page extensions, you need to send a request to the ‘unstable’ version of the GraphQL API, where the field ‘typOspPagesActive: boolean’ is available. The GraphQL body looks as follows:

{ 
 checkoutProfiles(first: 10) {
  nodes {
   isPublished
   typOspPagesActive 
  } 
 } 
}
2 Likes