Retrieve all rewards configured for the shop, split into regular rewards and tiered rewards (rewards locked behind VIP tiers). The response also carries the shop’s loyalty mode and currency so you can format costs correctly.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mage Loyalty Documentation","colors":{"primary":"#404040","light":"#E0E0E0","dark":"#404040"},"logo":{"light":"https://mintcdn.com/mageloyalty/v6ewjqiSAmlnGkBR/logo/mage-logo-black-text.svg?fit=max\u0026auto=format\u0026n=v6ewjqiSAmlnGkBR\u0026q=85\u0026s=7b6b104db3297180cdcc1e8621264755","dark":"https://mintcdn.com/mageloyalty/v6ewjqiSAmlnGkBR/logo/mage-logo-white-text.svg?fit=max\u0026auto=format\u0026n=v6ewjqiSAmlnGkBR\u0026q=85\u0026s=c7dda0123cb071ab425baaaf234c89ba"},"favicon":"https://mintcdn.com/mageloyalty/JMUrS6LDxmoOnCAc/favicon.ico?fit=max\u0026auto=format\u0026n=JMUrS6LDxmoOnCAc\u0026q=85\u0026s=0c0acde515f256ecffd2271891d29997","api":{"mdx":{"auth":{"method":"key","name":"Authorization"},"server":"https://api.mageloyalty.com"}},"background":{"color":{"light":"#FFFFFF","dark":"#1E1E1E"}},"navbar":{"links":[{"href":"mailto:hello@mageloyalty.com","label":"Support"}],"primary":{"type":"button","label":"Mage Home","href":"https://mageloyalty.com"}},"footer":{"socials":{"x":"https://twitter.com/mageloyalty","github":"https://github.com/mageloyalty","linkedin":"https://www.linkedin.com/company/mageloyalty"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mageloyalty","hasAudioNarration":false,"actualSubdomain":"mageloyalty","customDomains":["developers.mageloyalty.com"],"gitSource":{"type":"github","owner":"graeme-mage","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"entitlements":{},"buildId":"6ad54a66cfe0d5be20f7fd0d","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":48},{"language":"default","tag":"JavaScript SDK","count":28},{"language":"default","tag":"API Resources","count":22},{"language":"default","tag":"Methods","count":21},{"language":"default","tag":"Customers","count":17},{"language":"default","tag":"Webhook Events","count":15},{"language":"default","tag":"Managing Subscriptions","count":8},{"language":"default","tag":"Rewards","count":7},{"language":"default","tag":"REST API","count":6},{"language":"default","tag":"Earning Rules","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--el-chrome-dark: #08090a;--el-border-dark: #ffffff12;--el-border-light: #0000000f;--el-green-bg: #00a33319;--el-green-fg: #00713fde;--el-blue-bg: #008ff519;--el-blue-fg: #006dcbf2;--el-orange-bg: #ff9c0029;--el-orange-fg: #cc4e00;--el-red-bg: #f3000d14;--el-red-fg: #c40006d3;--font-family-body-custom: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';--font-family-headings-custom: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';--font-family-mono-custom: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace}:root.dark{--el-green-bg: #22ff991e;--el-green-fg: #3dd68c;--el-blue-bg: #0077ff3a;--el-blue-fg: #70b8ff;--el-orange-bg: #fb6a0025;--el-orange-fg: #ffa057;--el-red-bg: #ff173f2d;--el-red-fg: #ff9592}html.dark #navbar-transition{background-color:var(--el-chrome-dark);border-color:var(--el-border-dark)}html:not(.dark) #navbar-transition{border-color:var(--el-border-light)}html.dark #sidebar{background-color:var(--el-chrome-dark);border-right:1px solid var(--el-border-dark)}html.dark #sidebar::before{content:'';position:absolute;top:0;right:0;bottom:0;width:100vw;background-color:var(--el-chrome-dark);z-index:-1;pointer-events:none}html:not(.dark) #sidebar{border-right:1px solid var(--el-border-light)}#sidebar [class*=\"from-background\"]{background-image:none}:is(.method-pill,.method-nav-pill>span)[class*=\"text-green-\"]{background-color:var(--el-green-bg);color:var(--el-green-fg)}:is(.method-pill,.method-nav-pill>span)[class*=\"text-blue-\"]{background-color:var(--el-blue-bg);color:var(--el-blue-fg)}:is(.method-pill,.method-nav-pill>span):is([class*=\"text-yellow-\"],[class*=\"text-orange-\"]){background-color:var(--el-orange-bg);color:var(--el-orange-fg)}:is(.method-pill,.method-nav-pill>span)[class*=\"text-red-\"]{background-color:var(--el-red-bg);color:var(--el-red-fg)}.tryit-button{background-color:#404040;color:#ffffff}html.dark .tryit-button{background-color:#e0e0e0;color:#1e1e1e}.tryit-button .icon{background-color:currentColor}"}],"page":{"pagePath":"js-sdk/rewards/get-shop-rewards","slug":"/js-sdk/rewards/get-shop-rewards","pageMetadata":{"title":"getShopRewards","description":"List all available rewards for the shop.","href":"/js-sdk/rewards/get-shop-rewards"},"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: \"List all available rewards for the shop.\"\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`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Retrieve all rewards configured for the shop, split into regular rewards and tiered rewards (rewards locked behind VIP tiers). The response also carries the shop’s loyalty mode and currency so you can format costs correctly.`}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MageSDK`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getShopRewards`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`resp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`resp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`success`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`resp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`regularRewards`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`resp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tieredRewards`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the request was successful.`})}),`\n`,_jsxs(ResponseField,{name:`data.regularRewards`,type:`array`,id:`param-data-regular-rewards`,children:[_jsx(_components.p,{children:`Rewards available to all customers.`}),_jsxs(Expandable,{title:`Reward properties`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The reward ID.`})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name`,children:_jsx(_components.p,{children:`Display name of the reward.`})}),_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Description of what the reward provides.`})}),_jsx(ResponseField,{name:`descriptionRequirements`,type:`array`,id:`param-description-requirements`,children:_jsxs(_components.p,{children:[`Requirement lines to render under the description, each `,_jsx(_components.code,{children:`{ type, text }`}),` (for example a minimum spend note).`]})}),_jsx(ResponseField,{name:`pointsCost`,type:`number`,id:`param-points-cost`,children:_jsx(_components.p,{children:`Cost to redeem, in the shop’s loyalty unit. For flexible rewards this is the starting or minimum cost.`})}),_jsx(ResponseField,{name:`category`,type:`string`,id:`param-category`,children:_jsxs(_components.p,{children:[`Reward category (e.g. `,_jsx(_components.code,{children:`\"fixed\"`}),`, `,_jsx(_components.code,{children:`\"percentage\"`}),`, `,_jsx(_components.code,{children:`\"free_shipping\"`}),`).`]})}),_jsx(ResponseField,{name:`discountType`,type:`string | null`,id:`param-discount-type`,children:_jsx(_components.p,{children:`Type of discount applied.`})}),_jsx(ResponseField,{name:`discountAmount`,type:`number | null`,id:`param-discount-amount`,children:_jsxs(_components.p,{children:[`Raw discount value from the reward (fixed amount or percentage), or `,_jsx(_components.code,{children:`null`}),` for types without a scalar value.`]})}),_jsx(ResponseField,{name:`iconUrl`,type:`string | null`,id:`param-icon-url`,children:_jsxs(_components.p,{children:[`URL of the reward icon, or `,_jsx(_components.code,{children:`null`}),`.`]})}),_jsx(ResponseField,{name:`redemptionMode`,type:`string`,id:`param-redemption-mode`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\"fixed\"`}),` (spend a set cost) or `,_jsx(_components.code,{children:`\"flexible\"`}),` (the customer chooses an amount). Flexible rewards redeem through `,_jsx(_components.a,{href:`/js-sdk/rewards/redeem-flexible`,children:`redeemFlexible`}),`.`]})}),_jsxs(ResponseField,{name:`flexibleConfig`,type:`object | null`,id:`param-flexible-config`,children:[_jsx(_components.p,{children:`Present for flexible rewards. Defines the redemption bounds.`}),_jsxs(Expandable,{title:`Flexible config properties`,children:[_jsx(ResponseField,{name:`conversionRate`,type:`number`,id:`param-conversion-rate`,children:_jsxs(_components.p,{children:[`Cash discount produced per `,_jsx(_components.code,{children:`perPoints`}),` spent.`]})}),_jsx(ResponseField,{name:`perPoints`,type:`number`,id:`param-per-points`,children:_jsxs(_components.p,{children:[`The points unit the `,_jsx(_components.code,{children:`conversionRate`}),` applies to.`]})}),_jsx(ResponseField,{name:`minPoints`,type:`number`,id:`param-min-points`,children:_jsx(_components.p,{children:`Minimum amount the customer can redeem.`})}),_jsx(ResponseField,{name:`maxPoints`,type:`number`,id:`param-max-points`,children:_jsx(_components.p,{children:`Maximum amount the customer can redeem.`})})]})]}),_jsx(ResponseField,{name:`purchaseType`,type:`string`,id:`param-purchase-type`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\"ONE_TIME\"`}),`, `,_jsx(_components.code,{children:`\"SUBSCRIPTION\"`}),`, or `,_jsx(_components.code,{children:`\"BOTH\"`}),`. Gates whether the reward can apply to a subscription.`]})}),_jsx(ResponseField,{name:`recurringCycleLimit`,type:`number | null`,id:`param-recurring-cycle-limit`,children:_jsxs(_components.p,{children:[`For subscription discounts, the number of renewals the discount applies to. `,_jsx(_components.code,{children:`null`}),` means all renewals.`]})}),_jsx(ResponseField,{name:`tier`,type:`object | null`,id:`param-tier`,children:_jsxs(_components.p,{children:[`VIP tier required to redeem, or `,_jsx(_components.code,{children:`null`}),` if available to all.`]})}),_jsx(ResponseField,{name:`minimumSpend`,type:`string | null`,id:`param-minimum-spend`,children:_jsx(_components.p,{children:`Formatted minimum spend required to use the discount.`})}),_jsx(ResponseField,{name:`productMetadata`,type:`object | null`,id:`param-product-metadata`,children:_jsxs(_components.p,{children:[`Product or collection metadata for free-product rewards, or `,_jsx(_components.code,{children:`null`}),` for non-product rewards.`]})})]})]}),`\n`,_jsx(ResponseField,{name:`data.tieredRewards`,type:`array`,id:`param-data-tiered-rewards`,children:_jsxs(_components.p,{children:[`Rewards restricted to specific VIP tiers. Same shape as `,_jsx(_components.code,{children:`regularRewards`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.currencySymbol`,type:`string`,id:`param-data-currency-symbol`,children:_jsxs(_components.p,{children:[`The shop’s currency symbol, e.g. `,_jsx(_components.code,{children:`\"$\"`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.subscriptionsProvider`,type:`string | null`,id:`param-data-subscriptions-provider`,children:_jsxs(_components.p,{children:[`The subscription app powering “apply to subscription”, or `,_jsx(_components.code,{children:`null`}),` when none is connected.`]})}),`\n`,_jsx(ResponseField,{name:`data.loyaltyMode`,type:`string`,id:`param-data-loyalty-mode`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`\"points\"`}),` or `,_jsx(_components.code,{children:`\"store_credit\"`}),`. In store-credit mode `,_jsx(_components.code,{children:`pointsCost`}),` values are minor currency units. See `,_jsx(_components.a,{href:`/js-sdk/loyalty-modes`,children:`Loyalty modes`}),`.`]})}),`\n`,_jsx(ResponseField,{name:`data.currency`,type:`string`,id:`param-data-currency`,children:_jsx(_components.p,{children:`The shop’s ISO currency code.`})}),`\n`,_jsx(Heading,{level:`2`,id:`sample-response`,children:`Sample response`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`29`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`29`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"regularRewards\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"reward_abc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"£5 off your next order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"£5 off your order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"descriptionRequirements\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pointsCost\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"discountType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"discountAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"iconUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"redemptionMode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fixed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"purchaseType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ONE_TIME\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recurringCycleLimit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"flexibleConfig\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tier\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"minimumSpend\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"£20\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tieredRewards\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currencySymbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"£\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subscriptionsProvider\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"loyaltyMode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"points\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GBP\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})}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":"getShopRewards","description":"List all available rewards for the shop.","href":"/js-sdk/rewards/get-shop-rewards"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Usage","slug":"usage","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Sample response","slug":"sample-response","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"mageloyalty","siteName":"Mage Loyalty Documentation","title":"getShopRewards - Mage Loyalty Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-17T22:37:46.652Z","originalFileLocation":"js-sdk/rewards/get-shop-rewards.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=\"List all available rewards for the shop.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mage Loyalty Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mageloyalty/t04GmJXQ0KbEYnIy/_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/mageloyalty/t04GmJXQ0KbEYnIy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mageloyalty/t04GmJXQ0KbEYnIy/_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/mageloyalty/t04GmJXQ0KbEYnIy/_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/mageloyalty/t04GmJXQ0KbEYnIy/_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/mageloyalty/t04GmJXQ0KbEYnIy/_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/mageloyalty/t04GmJXQ0KbEYnIy/_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/mageloyalty/t04GmJXQ0KbEYnIy/_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/mageloyalty/t04GmJXQ0KbEYnIy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"getShopRewards - Mage Loyalty Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"List all available rewards for the shop.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mage Loyalty Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mageloyalty.mintlify.site/_mintlify/api/og/v2?division=Rewards\u0026amp;title=getShopRewards\u0026amp;description=List+all+available+rewards+for+the+shop.\u0026amp;theme=11490466c5a4eb52bdd3eb31\u0026amp;signature=2a3e6afa177060c12816601b98c94cedbe2944f55d1a602748ca74dd7a523e75\">\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=\"getShopRewards - Mage Loyalty Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"List all available rewards for the shop.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mageloyalty.mintlify.site/_mintlify/api/og/v2?division=Rewards\u0026amp;title=getShopRewards\u0026amp;description=List+all+available+rewards+for+the+shop.\u0026amp;theme=11490466c5a4eb52bdd3eb31\u0026amp;signature=2a3e6afa177060c12816601b98c94cedbe2944f55d1a602748ca74dd7a523e75\">\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/mageloyalty/t04GmJXQ0KbEYnIy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mage Loyalty Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#404040\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/js-sdk/rewards/get-shop-rewards.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.mageloyalty.com/#organization\",\"name\":\"Mage Loyalty Documentation\",\"url\":\"https://developers.mageloyalty.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mageloyalty/v6ewjqiSAmlnGkBR/logo/mage-logo-black-text.svg?fit=max\u0026auto=format\u0026n=v6ewjqiSAmlnGkBR\u0026q=85\u0026s=7b6b104db3297180cdcc1e8621264755\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.mageloyalty.com#website\",\"name\":\"Mage Loyalty Documentation\",\"url\":\"https://developers.mageloyalty.com\",\"publisher\":{\"@id\":\"https://developers.mageloyalty.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards#webpage\",\"url\":\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards\",\"name\":\"getShopRewards\",\"description\":\"List all available rewards for the shop.\",\"dateModified\":\"2026-07-17T22:37:46.652Z\",\"isPartOf\":{\"@id\":\"https://developers.mageloyalty.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Methods\",\"item\":\"https://developers.mageloyalty.com/js-sdk/customers/get-customer-details\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"getShopRewards\",\"item\":\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards#article\",\"headline\":\"getShopRewards\",\"name\":\"getShopRewards\",\"description\":\"List all available rewards for the shop.\",\"url\":\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards\",\"mainEntityOfPage\":{\"@id\":\"https://developers.mageloyalty.com/js-sdk/rewards/get-shop-rewards#webpage\"},\"dateModified\":\"2026-07-17T22:37:46.652Z\",\"publisher\":{\"@id\":\"https://developers.mageloyalty.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.mageloyalty.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mage Loyalty Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mage Loyalty Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/js-sdk/rewards/get-shop-rewards.md","siteName":"Mage Loyalty Documentation","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"JavaScript SDK","groups":[{"group":"JavaScript SDK","pages":[{"title":"Introduction","href":"/js-sdk/introduction"},{"title":"TypeScript Support","href":"/js-sdk/typescript"},{"title":"Loyalty modes","href":"/js-sdk/loyalty-modes"}]},{"group":"Methods","pages":[{"group":"Customers","pages":[{"title":"getCustomerDetails","href":"/js-sdk/customers/get-customer-details"},{"title":"getCustomerVipTier","href":"/js-sdk/customers/get-customer-vip-tier"},{"title":"getCustomerActivity","href":"/js-sdk/customers/get-customer-activity"},{"title":"getProfile / updateProfile","href":"/js-sdk/customers/update-profile"},{"title":"updateCustomerDob","description":"Update the date of birth for the logged-in customer.","href":"/js-sdk/customers/update-customer-dob"}]},{"group":"Rewards","pages":[{"title":"getShopRewards","href":"/js-sdk/rewards/get-shop-rewards"},{"title":"getCustomerRewards","description":"List the logged-in customer's redeemed rewards and discount codes.","href":"/js-sdk/rewards/get-customer-rewards"},{"title":"redeemReward","href":"/js-sdk/rewards/redeem-reward"},{"title":"redeemFlexible","href":"/js-sdk/rewards/redeem-flexible"}]},{"group":"Subscriptions","pages":[{"title":"getSubscriptions","href":"/js-sdk/subscriptions/get-subscriptions"},{"title":"redeemFlexibleToSubscription","href":"/js-sdk/subscriptions/redeem-flexible-to-subscription"},{"title":"redeemRewardToSubscription","href":"/js-sdk/subscriptions/redeem-reward-to-subscription"}]},{"group":"Cart","pages":[{"title":"getCartEarningValue","href":"/js-sdk/cart/get-cart-earning-value"}]},{"group":"Product","pages":[{"title":"getProductEarningValue","href":"/js-sdk/product/get-product-earning-value"},{"title":"getProductBonusCampaign","href":"/js-sdk/product/get-product-bonus-campaign"}]},{"group":"VIP Tiers","pages":[{"title":"getShopVipTiers","href":"/js-sdk/vip-tiers/get-shop-vip-tiers"}]},{"group":"Earning Rules","pages":[{"title":"getEarningRules","href":"/js-sdk/earning-rules/get-earning-rules"}]},{"group":"Referrals","pages":[{"title":"getCustomerReferralStats","href":"/js-sdk/referrals/get-customer-referral-stats"},{"title":"getReferralLink","href":"/js-sdk/referrals/get-referral-link"}]},{"group":"Sidebar","pages":[{"title":"openSidebar","href":"/js-sdk/sidebar/open-sidebar"},{"title":"closeSidebar","href":"/js-sdk/sidebar/close-sidebar"}]}]},{"group":"Recipes","pages":[{"title":"Bonus campaign countdown","href":"/js-sdk/recipes/bonus-campaign-countdown"}]}]}]},"basePath":"","title":"getShopRewards - Mage Loyalty Documentation","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":[],"chunks":[]}