Read-Side API for active checkout rules

It would be awesome if there was a way to see what Checkout Rules are active in a store. Since we can’t programmatically create them to enable our cart validation function, we have to direct store owners to the settings to enable it themselves. It would be nice to first check for the existence of a rule with our function so we could know if they’ve already done it and mark that onboarding step as complete.

Another option would be to allow programmatic rule creation as outlined in this topic:

How to Activate Checkout Validation Rules via API Instead of Manual Activation in Admin?

Hey @josephtaylor, you can both create and read checkout rules via the Admin API:

Admittedly, the description of these APIs could be a lot clearer - we’ll work on fixing that so they’re more easily discoverable.