Custom App - Discounts

blessan
Shopify Partner
6 1 1

Hi I am building a custom app for enabling discounts that are market specific.

So I wanted to know if there are API's that can be used to run validations in checkout.

Use case : For example 'TEST' code should be only applicable to US market and not any other markets.

Is this possible by building a custom app.

Reply 1 (1)

Liam
Shopify Staff
2731 292 743

Would this Checkout Validation Function API be what you're looking for?

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