Detect Shopify POS in Shopify Functions

Shopify Partner
5 0 3



I want to be able to disable automatic discount generated by my app for Shopify POS only (but still active for Online Store) but it seems that there is no option for that.

So, it might be interesting to manage it directly in the Shopify Functions. However, I don't see how it can be done (as I don't have any POS for testing purpose).

Is there a way to detect if a Shopify Functions is called when using on a Shopify POS? (in the input.graphql ?)

Thanks in advance!

Replies 0 (0)