Shopify purchase loyalty rule. Reward users for spending in your Shopify store.
Overview
Reward users based on how much they have spent in your Shopify store. On claim, we match the user’s connected email to a Shopify customer and evaluate their lifetime spend against your configured ranges to award points or a multiplier.
Prerequisites
Shopify must be connected in Snag with a Shopify Admin API access token.
Required scopes: read_customers and read_orders (needed to look up customers and read lifetime spend).
The user must have connected an email address in Snag (used to find the Shopify customer).
You must provide your Shopify store URL in the rule configuration.
Store your Shopify Admin API access token securely and grant only the minimum
required scopes.
Rule Configuration Fields
Reward
Type of Reward: Choose between “Points” or “Multiplier”.
Points: Users will receive the defined number of points based on their activity or achievement.
Multiplier: Users will receive the multiplier of the defined range based on their qualification level.
Required Range: Define a numerical range for eligibility (tokens, actions, followers, messages count, etc.).
Points to Reward: Define the number of points assigned for the specified qualification range.
Add New Range: Allows defining multiple qualification ranges with corresponding rewards.
Basic Settings
Claim type: Manual — users click “Claim” to trigger evaluation and rewards.
Frequency: Immediately — the rule evaluates and awards at the time of claim.
Interval: Once — users can claim once (unless otherwise configured globally).
Shopify Store URL: Your store domain (for example, your-store.myshopify.com).
Skip the multiplier for this rule: If enabled, only fixed point rewards are used for matching ranges.
How it works
When a user clicks “Claim”, Snag queries the Shopify Admin GraphQL API for the customer by the user’s connected email.
We read the customer’s lifetime amountSpent and compare it to your configured spend ranges.
The user is awarded the points or multiplier defined for the first matching range.
If the email doesn’t match a Shopify customer, amountSpent is treated as 0 —
ensure users connect the same email they use at checkout.
Troubleshooting
Shopify not connected: Ensure you’ve connected Shopify in Snag and selected the integration when creating this rule.
Email not connected: Users must connect an email address in their Snag profile before claiming.
No reward given: Confirm your ranges include 0 or the user’s actual spend, and that your store URL is correct.
Data captured
For auditing, the reward stores the Shopify customerId and the evaluated amountSpent at claim time.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Snag Docs","description":"Snag is the leading onchain loyalty platform for Web3 brands. Set up rewards, manage authentication, and customize your ecosystem with our API and SDKs.","colors":{"primary":"#ED8200","light":"#FFA366","dark":"#C66F00"},"logo":{"light":"https://assets.snagsolutions.io/public/docs/snag-logo-dark-no-bg.svg","dark":"https://assets.snagsolutions.io/public/docs/snag-logo-white-no-bg.svg"},"favicon":"https://mintcdn.com/snag/23WkLjZqzGozTJVk/assets/snag-favicon.svg?fit=max\u0026auto=format\u0026n=23WkLjZqzGozTJVk\u0026q=85\u0026s=299897cb994699b5cd751585c147e84e","background":{"decoration":"grid"},"navbar":{"links":[{"href":"https://www.snagsolutions.io/","label":"Explore Snag"}],"primary":{"type":"button","label":"Admin Dashboard","href":"https://admin.snagsolutions.io"}},"footer":{"socials":{"x":"https://x.com/Snag_Solutions","linkedin":"https://www.linkedin.com/company/snag-solutions"}},"seo":{"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-C5NW6B6HT3"}},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Contact Us","icon":"envelope","href":"https://www.snagsolutions.io/contact"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"snag","hasAudioNarration":false,"actualSubdomain":"snag","customDomains":["docs.snagsolutions.io"],"gitSource":{"type":"github","owner":"snag-solutions","repo":"web","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af64007a3c3fda906f0ee38:failure","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Loyalty","count":128},{"language":"default","tag":"Documentation","count":122},{"language":"default","tag":"API Reference","count":109},{"language":"default","tag":"Loyalty rules","count":63},{"language":"default","tag":"Detailed rules overview","count":57},{"language":"default","tag":"Identity","count":18},{"language":"default","tag":"Stratus","count":16},{"language":"default","tag":"Advanced workflows","count":10},{"language":"default","tag":"Development","count":9},{"language":"default","tag":"Minting","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"loyalty/rules/spend-in-shopify-store","slug":"/loyalty/rules/spend-in-shopify-store","pageMetadata":{"title":"Spend in Shopify Store","description":"Shopify purchase loyalty rule. Reward users for spending in your Shopify store.","keywords":["Shopify loyalty integration","purchase rewards","Shopify points program","ecommerce Web3 loyalty"],"href":"/loyalty/rules/spend-in-shopify-store"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Shopify purchase loyalty rule. Reward users for spending in your Shopify store.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(`head`,{children:_jsx(`script`,{type:`application/ld+json`,children:JSON.stringify({\"@context\":`https://schema.org`,\"@type\":`TechArticle`,\"headline\":`Spend in Shopify Store`,\"description\":`Shopify purchase loyalty rule. Reward users for spending in your Shopify store.`,\"author\":{\"@type\":`Organization`,\"name\":`Snag Solutions`,\"url\":`https://www.snagsolutions.io/`},\"publisher\":{\"@type\":`Organization`,\"name\":`Snag Solutions`,\"url\":`https://www.snagsolutions.io/`,\"logo\":{\"@type\":`ImageObject`,\"url\":`https://assets.snagsolutions.io/public/docs/snag-logo-dark-no-bg.svg`}},\"mainEntityOfPage\":`https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store`})})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Reward users based on how much they have spent in your Shopify store. On claim, we match the user’s connected email to a Shopify customer and evaluate their lifetime spend against your configured ranges to award points or a multiplier.`}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Shopify must be connected in Snag with a Shopify Admin API access token.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Required scopes: `,_jsx(_components.code,{children:`read_customers`}),` and `,_jsx(_components.code,{children:`read_orders`}),` (needed to look up customers and read lifetime spend).`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`The user must have connected an email address in Snag (used to find the Shopify customer).`}),`\n`,_jsx(_components.li,{children:`You must provide your Shopify store URL in the rule configuration.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Store your Shopify Admin API access token securely and grant only the minimum\nrequired scopes.`})}),`\n`,_jsx(Heading,{level:`2`,id:`rule-configuration-fields`,children:`Rule Configuration Fields`}),`\n`,_jsx(Heading,{level:`3`,id:`reward`,children:_jsx(_components.strong,{children:`Reward`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Type of Reward`}),`: Choose between “Points” or “Multiplier”.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Points`}),`: Users will receive the defined number of points based on their activity or achievement.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Multiplier`}),`: Users will receive the multiplier of the defined range based on their qualification level.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required Range`}),`: Define a numerical range for eligibility (tokens, actions, followers, messages count, etc.).`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Points to Reward`}),`: Define the number of points assigned for the specified qualification range.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Add New Range`}),`: Allows defining multiple qualification ranges with corresponding rewards.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`basic-settings`,children:`Basic Settings`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Claim type`}),`: Manual — users click “Claim” to trigger evaluation and rewards.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Frequency`}),`: Immediately — the rule evaluates and awards at the time of claim.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Interval`}),`: Once — users can claim once (unless otherwise configured globally).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Reward lifetime`}),`: Permanent — awarded points remain unless explicitly removed.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`custom-settings`,children:`Custom Settings`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Shopify Store URL`}),`: Your store domain (for example, `,_jsx(_components.code,{children:`your-store.myshopify.com`}),`).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Skip the multiplier for this rule`}),`: If enabled, only fixed point rewards are used for matching ranges.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How it works`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`When a user clicks “Claim”, Snag queries the `,_jsx(_components.a,{href:`https://shopify.dev/docs/api/admin-graphql`,children:`Shopify Admin GraphQL API`}),` for the customer by the user’s connected email.`]}),`\n`,_jsxs(_components.li,{children:[`We read the customer’s lifetime `,_jsx(_components.code,{children:`amountSpent`}),` and compare it to your configured spend ranges.`]}),`\n`,_jsx(_components.li,{children:`The user is awarded the points or multiplier defined for the first matching range.`}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`If the email doesn’t match a Shopify customer, `,_jsx(_components.code,{children:`amountSpent`}),` is treated as 0 —\nensure users connect the same email they use at checkout.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Shopify not connected`}),`: Ensure you’ve connected Shopify in Snag and selected the integration when creating this rule.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Email not connected`}),`: Users must connect an email address in their Snag profile before claiming.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No reward given`}),`: Confirm your ranges include 0 or the user’s actual spend, and that your store URL is correct.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`data-captured`,children:`Data captured`}),`\n`,_jsxs(_components.p,{children:[`For auditing, the reward stores the Shopify `,_jsx(_components.code,{children:`customerId`}),` and the evaluated `,_jsx(_components.code,{children:`amountSpent`}),` at claim time.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Spend in Shopify Store","description":"Shopify purchase loyalty rule. Reward users for spending in your Shopify store.","keywords":["Shopify loyalty integration","purchase rewards","Shopify points program","ecommerce Web3 loyalty"],"href":"/loyalty/rules/spend-in-shopify-store"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[502,1178,""]]},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Rule Configuration Fields","slug":"rule-configuration-fields","depth":2,"children":[{"title":"Reward","slug":"reward","depth":3,"children":[]},{"title":"Basic Settings","slug":"basic-settings","depth":3,"children":[]},{"title":"Custom Settings","slug":"custom-settings","depth":3,"children":[]}]},{"title":"How it works","slug":"how-it-works","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Data captured","slug":"data-captured","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"snag","siteName":"Snag Docs","title":"Spend in Shopify Store - Snag Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-02-09T23:22:47.503Z","originalFileLocation":"loyalty/rules/spend-in-shopify-store.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Shopify purchase loyalty rule. Reward users for spending in your Shopify store.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Snag Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Spend in Shopify Store - Snag Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Shopify purchase loyalty rule. Reward users for spending in your Shopify store.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Snag Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://snag.mintlify.site/_mintlify/api/og/v2?division=Detailed+rules+overview\u0026amp;title=Spend+in+Shopify+Store\u0026amp;description=Shopify+purchase+loyalty+rule.+Reward+users+for+spending+in+your+Shopify+store.\u0026amp;theme=a18a62bd30f1c613ee41a109\u0026amp;signature=cec0f58407f673ddcc70c84474f42a9efab8dce36e5f2e8a4c84cba886fc82f4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Spend in Shopify Store - Snag Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Shopify purchase loyalty rule. Reward users for spending in your Shopify store.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://snag.mintlify.site/_mintlify/api/og/v2?division=Detailed+rules+overview\u0026amp;title=Spend+in+Shopify+Store\u0026amp;description=Shopify+purchase+loyalty+rule.+Reward+users+for+spending+in+your+Shopify+store.\u0026amp;theme=a18a62bd30f1c613ee41a109\u0026amp;signature=cec0f58407f673ddcc70c84474f42a9efab8dce36e5f2e8a4c84cba886fc82f4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/snag/bVxwX4SF7gjQAJgQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Snag Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ED8200\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/loyalty/rules/spend-in-shopify-store.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.snagsolutions.io/#organization\",\"name\":\"Snag Docs\",\"url\":\"https://docs.snagsolutions.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://assets.snagsolutions.io/public/docs/snag-logo-dark-no-bg.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.snagsolutions.io#website\",\"name\":\"Snag Docs\",\"url\":\"https://docs.snagsolutions.io\",\"publisher\":{\"@id\":\"https://docs.snagsolutions.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store#webpage\",\"url\":\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store\",\"name\":\"Spend in Shopify Store\",\"description\":\"Shopify purchase loyalty rule. Reward users for spending in your Shopify store.\",\"dateModified\":\"2026-02-09T23:22:47.503Z\",\"isPartOf\":{\"@id\":\"https://docs.snagsolutions.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Loyalty\",\"item\":\"https://docs.snagsolutions.io/loyalty/loyalty-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Loyalty rules\",\"item\":\"https://docs.snagsolutions.io/loyalty/available-loyalty-rules\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Detailed rules overview\",\"item\":\"https://docs.snagsolutions.io/loyalty/rules/check-in\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Spend in Shopify Store\",\"item\":\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store#article\",\"headline\":\"Spend in Shopify Store\",\"name\":\"Spend in Shopify Store\",\"description\":\"Shopify purchase loyalty rule. Reward users for spending in your Shopify store.\",\"url\":\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store\",\"mainEntityOfPage\":{\"@id\":\"https://docs.snagsolutions.io/loyalty/rules/spend-in-shopify-store#webpage\"},\"dateModified\":\"2026-02-09T23:22:47.503Z\",\"keywords\":\"Shopify loyalty integration, purchase rewards, Shopify points program, ecommerce Web3 loyalty\",\"publisher\":{\"@id\":\"https://docs.snagsolutions.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.snagsolutions.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Snag Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Snag Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/loyalty/rules/spend-in-shopify-store.md","siteName":"Snag Docs","nav":{"global":{"anchors":[{"anchor":"Contact Us","icon":"envelope","href":"https://www.snagsolutions.io/contact"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Introduction","pages":[{"title":"Welcome to Snag Docs","icon":"hand-wave","iconType":"regular","sidebarTitle":"Welcome","href":"/welcome"},{"group":"Set up","icon":"rocket-launch","pages":[{"title":"Set up overview","sidebarTitle":"Overview","href":"/setup/setup-overview"},{"title":"Customization","href":"/setup/customization"},{"title":"Hostname","href":"/setup/hostname"},{"title":"User profiles","href":"/setup/user-profiles"},{"title":"Permissions","href":"/setup/permissions"}]}]},{"group":"Loyalty","pages":[{"group":"Get started","icon":"stars","pages":[{"title":"Loyalty overview","sidebarTitle":"Overview","href":"/loyalty/loyalty-overview"},{"title":"Set up loyalty currency","href":"/loyalty/set-up-loyalty-currency"},{"title":"Create your first rule","href":"/loyalty/create-your-first-rule"},{"title":"Program settings","href":"/loyalty/program-settings"}]},{"group":"Loyalty rules","icon":"wand-magic-sparkles","pages":[{"title":"Available loyalty rules","href":"/loyalty/available-loyalty-rules"},{"title":"Rules configuration","href":"/loyalty/rules-configuration"},{"group":"Detailed rules overview","pages":[{"title":"Check In","href":"/loyalty/rules/check-in"},{"title":"Enter a Code","href":"/loyalty/rules/code-entry"},{"title":"Complete Profile Details","href":"/loyalty/rules/complete-profile"},{"title":"Connect Discord","href":"/loyalty/rules/connect-discord"},{"title":"Connect Email","href":"/loyalty/rules/connect-email"},{"title":"Connect Epic","href":"/loyalty/rules/connect-epic"},{"title":"Connect GitHub","href":"/loyalty/rules/connect-github"},{"title":"Connect Reddit","href":"/loyalty/rules/connect-reddit"},{"title":"Connect Steam","href":"/loyalty/rules/connect-steam"},{"title":"Connect Telegram","href":"/loyalty/rules/connect-telegram"},{"title":"Connect Tiktok","href":"/loyalty/rules/connect-tiktok"},{"title":"Connect X","href":"/loyalty/rules/connect-twitter"},{"title":"Connect Instagram","href":"/loyalty/rules/connect-instagram"},{"title":"Connect Wallet","href":"/loyalty/rules/connect-wallet"},{"title":"Connect YouTube","href":"/loyalty/rules/connect-youtube"},{"title":"Smart Contract Event","href":"/loyalty/rules/contract-event"},{"title":"dApp Activity Rules","href":"/loyalty/rules/dapp-rules"},{"title":"Liquidity: Uniswap V2 \u0026 V3","href":"/loyalty/rules/liquidity-uniswap"},{"title":"Create Partner Account","href":"/loyalty/rules/create-partner-account"},{"title":"Grant Discord Role","href":"/loyalty/rules/discord-grant-role"},{"title":"Get Discord Role","href":"/loyalty/rules/discord-member-role"},{"title":"Send Discord Messages","href":"/loyalty/rules/discord-messages"},{"title":"Follow X Account","href":"/loyalty/rules/follow-x-account"},{"title":"Click a Link","href":"/loyalty/rules/link-click"},{"title":"Answer a Poll","href":"/loyalty/rules/poll"},{"title":"Answer a Quiz","href":"/loyalty/rules/quiz"},{"title":"Refer a Friend","href":"/loyalty/rules/refer-friends"},{"title":"Participate in Governance Vote","description":"Snapshot governance loyalty rule. Reward users for voting on DAO governance proposals via Snapshot.","href":"/loyalty/rules/snapshot-governance"},{"title":"Spend in Shopify Store","href":"/loyalty/rules/spend-in-shopify-store"},{"title":"Add an Item to Steam Wishlist","description":"Steam wishlist loyalty rule. Reward users for adding games to their Steam wishlist.","href":"/loyalty/rules/steam-wishlist"},{"title":"Swap Tokens","href":"/loyalty/rules/swap"},{"title":"Join Telegram Group","href":"/loyalty/rules/telegram-join"},{"title":"Send Telegram Messages","href":"/loyalty/rules/telegram-messages"},{"title":"Post on TikTok","href":"/loyalty/rules/tiktok-post"},{"title":"Follow a TikTok Account","href":"/loyalty/rules/tiktok-follow"},{"title":"Post on Instagram","href":"/loyalty/rules/instagram-post"},{"title":"Submit Text Input","href":"/loyalty/rules/text-input"},{"title":"Hold a Fungible Token","href":"/loyalty/rules/token-hold-erc20"},{"title":"Hold an NFT","href":"/loyalty/rules/token-hold"},{"title":"Mint an NFT","href":"/loyalty/rules/token-mint"},{"title":"Purchase an NFT","href":"/loyalty/rules/token-purchase"},{"title":"Sale an NFT","href":"/loyalty/rules/token-sale"},{"title":"Reach X followers","href":"/loyalty/rules/x-followers"},{"title":"Post on X","href":"/loyalty/rules/x-new-tweet"},{"title":"Get X Post Impressions","href":"/loyalty/rules/x-post-impression"},{"title":"React to an X Post","href":"/loyalty/rules/x-post-reaction"},{"title":"Add Text to X Bio","href":"/loyalty/rules/x-text-in-bio"},{"title":"Comment on an X Post with Text","href":"/loyalty/rules/x-text-in-comment"},{"title":"Add Text to X Username","href":"/loyalty/rules/x-text-in-username"},{"title":"Comment on a YouTube Video","href":"/loyalty/rules/youtube-comment"},{"title":"Subscribe to a YouTube Channel","href":"/loyalty/rules/youtube-subscriber"},{"title":"Comment on a Reddit Post","href":"/loyalty/rules/reddit-comment"},{"title":"Star a GitHub Repository","href":"/loyalty/rules/github-repo-star"},{"title":"Fork a GitHub Repository","href":"/loyalty/rules/github-repo-fork"},{"title":"Become a GitHub Repository Collaborator","href":"/loyalty/rules/github-repo-collaborator"},{"title":"Merge a GitHub PR","href":"/loyalty/rules/github-merge-pr"},{"title":"Custom Function Rule","href":"/loyalty/rules/stratus-function"}]},{"title":"X rules logic","href":"/loyalty/x-rules-logic"},{"title":"Multipliers","href":"/loyalty/multipliers"},{"title":"Token Rewards","href":"/loyalty/token-rewards"},{"title":"External rule","href":"/loyalty/external-rules"}]},{"group":"Features","icon":"list-check","pages":[{"title":"Updating \u0026 reseting balances","href":"/loyalty/updating-balances"},{"title":"Blocking users","href":"/loyalty/blocking-users"},{"title":"Leaderboards","href":"/loyalty/leaderboards"},{"title":"Multi-wallet support","href":"/loyalty/multi-wallet-support"},{"title":"Loyalty rule progress tracking","href":"/loyalty/loyalty-rule-progress"},{"title":"Quest chaining","href":"/loyalty/quest-chaining"},{"title":"Quality Social Farming","href":"/loyalty/quality-social-farming"}]},{"group":"Development","icon":"code","pages":[{"title":"Getting started","href":"/loyalty/development/getting-started"},{"title":"Create users","href":"/loyalty/development/create-users"},{"title":"Manage user groups","href":"/loyalty/development/manage-user-groups"},{"title":"Connect social accounts","href":"/loyalty/development/connect-social-accounts"},{"title":"List loyalty rules and sections","href":"/loyalty/development/list-loyalty-rules"},{"title":"Verifying rule completion","href":"/loyalty/verifying-rule-completion"},{"title":"Checking Rule Completion Status","href":"/loyalty/check-rule-completion-status"},{"title":"Generate wallet addresses","href":"/loyalty/development/generate-wallet-addresses"},{"title":"Migrate users","href":"/loyalty/development/migrate-users"}]},{"group":"Advanced workflows","icon":"gear-complex-code","pages":[{"title":"Managing user accounts","href":"/loyalty/managing-user-accounts"},{"title":"Managing social accounts","href":"/loyalty/managing-social-accounts"},{"title":"Manage rule-level points on your side","href":"/loyalty/manage-rule-level-points"},{"title":"Internal currency integration","href":"/loyalty/internal-currency-integration"},{"title":"Snag Template App","sidebarTitle":"Template App","href":"/loyalty/nextjs-template"},{"title":"Custom user attributes","href":"/users/website-user-attributes"},{"title":"Delegate.cash integration","href":"/users/delegate-cash"},{"title":"Handling images and asset uploads","href":"/loyalty/handling-image-assets-and-upload"},{"title":"Create loyalty rules using API","href":"/loyalty/create-rule-using-api"},{"title":"Custom Rewards API","href":"/loyalty/custom-rewards-api"}]}]},{"group":"Create","pages":[{"title":"Page Builder","icon":"pen-ruler","href":"/create/page-builder"},{"title":"Badges","icon":"badge-check","href":"/create/badges"},{"title":"Rewards Shop","icon":"gift","href":"/create/rewards-shop"},{"title":"Claim Page","icon":"parachute-box","href":"/create/claim-page"}]},{"group":"Stratus","pages":[{"title":"Stratus overview","icon":"memo","iconType":"regular","sidebarTitle":"Overview","href":"/stratus/stratus-overview"},{"title":"Subscriptions","icon":"magnifying-glass-arrows-rotate","iconType":"regular","href":"/stratus/subscriptions"},{"title":"Webhooks","icon":"webhook","iconType":"regular","href":"/stratus/webhooks"},{"title":"Relayers","icon":"key-skeleton","href":"/stratus/relayers"},{"title":"Onchain points","icon":"coins","href":"/stratus/onchain-points"},{"group":"Functions","icon":"function","pages":[{"title":"Functions","iconType":"regular","sidebarTitle":"Overview","href":"/stratus/functions"},{"title":"Function syntax","iconType":"regular","href":"/stratus/syntax"},{"title":"Function templates","href":"/stratus/function-templates"},{"title":"Write a Stratus function for loyalty rule completion","href":"/stratus/function-loyalty-rule"}]}]},{"group":"Billing","pages":[{"group":"Plans \u0026 usage","icon":"layer-group","pages":[{"title":"Plans \u0026 features","href":"/billing/plans-features"},{"title":"Usage","href":"/billing/usage"},{"title":"Billing cycle","href":"/billing/billing-cycle"}]},{"group":"Manage your plan","icon":"credit-card","pages":[{"title":"Change or cancel your plan","href":"/billing/change-cancel-plan"},{"title":"Payment methods \u0026 billing info","href":"/billing/payment-methods-billing-info"}]},{"title":"Billing FAQ","sidebarTitle":"FAQ","icon":"comments-question-check","href":"/billing/faq"}]},{"group":"Data","pages":[{"title":"Snag Reporting (Looker) Overview","sidebarTitle":"Snag Reporting","icon":"chart-simple","iconType":"regular","href":"/data/snag-reporting"}]},{"group":"Support","pages":[{"title":"User Support Tool","icon":"screwdriver-wrench","href":"/support/user-support"}]},{"group":"Best practices","pages":[{"title":"Media Guidelines","icon":"ruler-triangle","iconType":"regular","href":"/best-practices/media-guide"}]},{"group":"AI","pages":[{"title":"Using AI Coding Assistants?","icon":"robot","href":"/ai-coding-assistant"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"User Auth","pages":[{"title":"User Auth","href":"/user-auth/auth-overview"}]}]},"basePath":"","title":"Spend in Shopify Store - Snag Docs","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":[],"chunks":[]}