How can we restrict the discounts to be applied only on the online store and not PoS systems?
There are two approaches:
1.) "Denyâ the POS sales channel from the discount index page
2.) On the POS cart itself, toggle off âautomatic discountsâ under âmore actionsâ
1 Like
@bkspace Can this be done programmatically?
To the best of my knowledge, not yet!
@Liam-Shopify Is there a way to handle what Sammy is showing above in the screenshot in a programmatic way? In other words, can we user GraphQL to define which sales channels a discount node should be âpublishedâ on?
Hey Bart,
From digging into this it looks like the Admin API does not directly currently support publishing discounts to specific sales channels like it does for products or collections when you use the publishablePublish mutation.