Created
May 12, 2017 18:58
-
-
Save shopifypartners/75437ff85e9ea2bcafec1557e7d898b8 to your computer and use it in GitHub Desktop.
Initializing the POS App SDK – https://www.shopify.com/partners/blog/learn-to-build-apps-for-in-person-sales-using-shopifys-pos-app-sdk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://cdn.shopify.com/s/assets/external/pos_app.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
ShopifyPOS.init({ | |
apiKey: "0dc181105f1912f21b5de1a0ae64db37", | |
shopOrigin: "https://CURRENT_LOGGED_IN_SHOP.myshopify.com" | |
}); | |
ShopifyPOS.ready(function(){ | |
ShopifyPOS.flashNotice('Hello world!'); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment