Base URL, request and response format for the Yuko REST API.
The Yuko API is organized around REST. Our API has predictable, resource-oriented URLs and uses standard HTTP response codes to indicate success or failure. All request and response bodies are JSON.
Always send Accept: application/json. Without it, a few framework-level errors (such as rate limiting or an unknown URL) may come back as HTML instead of JSON.
All responses return JSON. Successful responses wrap the result in a data key; list endpoints also return meta.pagination. Error responses return an error object with a machine-readable code and a human-readable message:
{ "error": { "code": "insufficient_scope", "message": "Your API token does not have the required 'rewards' scope for this action" }}
Authenticate with a REST API key as a Bearer token. Each key is limited to the scopes the merchant chose, written as read:<scope> or write:<scope>. See Authentication and Scopes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Yuko Documentation","colors":{"primary":"#685eef","light":"#a6adfb","dark":"#4231a2"},"logo":{"light":"https://mintcdn.com/yuko/XAG_hqG7Vw0ZdPRn/logos/YukoDocs.svg?fit=max\u0026auto=format\u0026n=XAG_hqG7Vw0ZdPRn\u0026q=85\u0026s=92d2d890478b5aec5cab724ed3640ad9","dark":"https://mintcdn.com/yuko/XAG_hqG7Vw0ZdPRn/logos/YukoDocs.svg?fit=max\u0026auto=format\u0026n=XAG_hqG7Vw0ZdPRn\u0026q=85\u0026s=92d2d890478b5aec5cab724ed3640ad9"},"favicon":"https://mintcdn.com/yuko/XAG_hqG7Vw0ZdPRn/logos/favicon.svg?fit=max\u0026auto=format\u0026n=XAG_hqG7Vw0ZdPRn\u0026q=85\u0026s=02559b57890318d0d1c174be86928686","api":{"playground":{"display":"simple"},"mdx":{"auth":{"method":"bearer"},"server":"https://api.yukoapp.com/api/v1"}},"navbar":{"links":[{"href":"https://cal.com/rameshelamathi/yuko-demo","label":"Book a Free Setup Call"},{"href":"https://yuko.so/support/","label":"Support"}],"primary":{"type":"button","label":"Install Yuko","href":"https://apps.shopify.com/yuko"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Install Yuko","icon":"shop","href":"https://apps.shopify.com/yuko"},{"anchor":"Support","icon":"life-ring","href":"https://yuko.so/support/"},{"anchor":"Blog","icon":"newspaper","href":"https://yuko.so/blog/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yuko","hasAudioNarration":false,"actualSubdomain":"yuko","customDomains":["docs.yuko.so"],"gitSource":{"type":"github","owner":"yuko-app","repo":"yuko-docs","deployBranch":"claude/docs-feature-refresh","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac8c2495fcc149d1b498421","collectionId":"49461398-f4de-46ad-87ea-d2c94dcd2795","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac8c2495fcc149d1b498421"},"entitlements":{},"buildId":"6ac8c2495fcc149d1b498421","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"Guides","count":127},{"language":"default","tag":"Loyalty Program","count":40},{"language":"default","tag":"API reference","count":34},{"language":"default","tag":"Integrations","count":24},{"language":"default","tag":"API References","count":20},{"language":"default","tag":"Ways to Earn","count":18},{"language":"default","tag":"WhatsApp","count":14},{"language":"default","tag":"Onsite Widgets","count":14},{"language":"default","tag":"Customers","count":13},{"language":"default","tag":"Booster Campaigns","count":11}]},"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":"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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"developer/api/introduction","slug":"/developer/api/introduction","pageMetadata":{"title":"Introduction","description":"Base URL, request and response format for the Yuko REST API.","href":"/developer/api/introduction"},"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: \"Base URL, request and response format for the Yuko REST API.\"\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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Yuko API is organized around REST. Our API has predictable, resource-oriented URLs and uses standard HTTP response codes to indicate success or failure. All request and response bodies are JSON.`}),`\n`,_jsx(Heading,{level:`2`,id:`base-url`,children:`Base URL`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.yukoapp.com/api/v1/public`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`request-format`,children:`Request format`}),`\n`,_jsx(_components.p,{children:`All requests must include the following headers:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Header`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`Authorization`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`Bearer YOUR_API_KEY`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`Accept`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`application/json`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`Content-Type`})}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`application/json`}),` (for `,_jsx(_components.code,{children:`POST`}),` requests with a body)`]})]})]})]}),`\n`,_jsxs(Tip,{children:[`Always send `,_jsx(_components.code,{children:`Accept: application/json`}),`. Without it, a few framework-level errors (such as rate limiting or an unknown URL) may come back as HTML instead of JSON.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-format`,children:`Response format`}),`\n`,_jsxs(_components.p,{children:[`All responses return JSON. Successful responses wrap the result in a `,_jsx(_components.code,{children:`data`}),` key; list endpoints also return `,_jsx(_components.code,{children:`meta.pagination`}),`. Error responses return an `,_jsx(_components.code,{children:`error`}),` object with a machine-readable `,_jsx(_components.code,{children:`code`}),` and a human-readable `,_jsx(_components.code,{children:`message`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"error\"`}),_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:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"insufficient_scope\"`}),_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:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Your API token does not have the required 'rewards' scope for this action\"`})]}),`\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:`authentication-and-scopes`,children:`Authentication and scopes`}),`\n`,_jsxs(_components.p,{children:[`Authenticate with a REST API key as a Bearer token. Each key is limited to the scopes the merchant chose, written as `,_jsx(_components.code,{children:`read:\u003cscope>`}),` or `,_jsx(_components.code,{children:`write:\u003cscope>`}),`. See `,_jsx(_components.a,{href:`/developer/api/authentication`,children:`Authentication`}),` and `,_jsx(_components.a,{href:`/developer/api/scopes`,children:`Scopes`}),`.`]})]})}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":"Introduction","description":"Base URL, request and response format for the Yuko REST API.","href":"/developer/api/introduction"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Base URL","slug":"base-url","depth":2,"children":[]},{"title":"Request format","slug":"request-format","depth":2,"children":[]},{"title":"Response format","slug":"response-format","depth":2,"children":[]},{"title":"Authentication and scopes","slug":"authentication-and-scopes","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"yuko","siteName":"Yuko Documentation","title":"Introduction - Yuko Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-09T10:30:44.100Z","originalFileLocation":"developer/api/introduction.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=\"Base URL, request and response format for the Yuko REST API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Yuko 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/yuko/FxR18CjCKsfB0tUJ/_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/yuko/FxR18CjCKsfB0tUJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yuko/FxR18CjCKsfB0tUJ/_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/yuko/FxR18CjCKsfB0tUJ/_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/yuko/FxR18CjCKsfB0tUJ/_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/yuko/FxR18CjCKsfB0tUJ/_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/yuko/FxR18CjCKsfB0tUJ/_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/yuko/FxR18CjCKsfB0tUJ/_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/yuko/FxR18CjCKsfB0tUJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Introduction - Yuko Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Base URL, request and response format for the Yuko REST API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yuko Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yuko.so/developer/api/introduction\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yuko.mintlify.app/_mintlify/api/og/v2?division=Rest+API\u0026amp;title=Introduction\u0026amp;description=Base+URL%2C+request+and+response+format+for+the+Yuko+REST+API.\u0026amp;theme=a75f3c3c2ee159497f1bfd61\u0026amp;signature=0fd3bf34ed6413e73be21466b1240e06947ec3cf0b469a8847b0e6ca8986c0c5\">\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=\"Introduction - Yuko Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Base URL, request and response format for the Yuko REST API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yuko.mintlify.app/_mintlify/api/og/v2?division=Rest+API\u0026amp;title=Introduction\u0026amp;description=Base+URL%2C+request+and+response+format+for+the+Yuko+REST+API.\u0026amp;theme=a75f3c3c2ee159497f1bfd61\u0026amp;signature=0fd3bf34ed6413e73be21466b1240e06947ec3cf0b469a8847b0e6ca8986c0c5\">\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/yuko/FxR18CjCKsfB0tUJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yuko Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#685eef\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.yuko.so/developer/api/introduction\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developer/api/introduction.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.yuko.so/#organization\",\"name\":\"Yuko Documentation\",\"url\":\"https://docs.yuko.so\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yuko/XAG_hqG7Vw0ZdPRn/logos/YukoDocs.svg?fit=max\u0026auto=format\u0026n=XAG_hqG7Vw0ZdPRn\u0026q=85\u0026s=92d2d890478b5aec5cab724ed3640ad9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.yuko.so#website\",\"name\":\"Yuko Documentation\",\"url\":\"https://docs.yuko.so\",\"publisher\":{\"@id\":\"https://docs.yuko.so/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.yuko.so/developer/api/introduction#webpage\",\"url\":\"https://docs.yuko.so/developer/api/introduction\",\"name\":\"Introduction\",\"description\":\"Base URL, request and response format for the Yuko REST API.\",\"dateModified\":\"2026-10-09T10:30:44.100Z\",\"isPartOf\":{\"@id\":\"https://docs.yuko.so#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yuko.so/developer/api/introduction#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yuko.so/developer/api/introduction#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Yuko Documentation\",\"item\":\"https://docs.yuko.so\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction\",\"item\":\"https://docs.yuko.so/developer/api/introduction\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.yuko.so/developer/api/introduction#article\",\"headline\":\"Introduction\",\"name\":\"Introduction\",\"description\":\"Base URL, request and response format for the Yuko REST API.\",\"url\":\"https://docs.yuko.so/developer/api/introduction\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yuko.so/developer/api/introduction#webpage\"},\"dateModified\":\"2026-10-09T10:30:44.100Z\",\"publisher\":{\"@id\":\"https://docs.yuko.so/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.yuko.so#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yuko Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Yuko Documentation","nav":{"global":{"anchors":[{"anchor":"Install Yuko","icon":"shop","href":"https://apps.shopify.com/yuko"},{"anchor":"Support","icon":"life-ring","href":"https://yuko.so/support/"},{"anchor":"Blog","icon":"newspaper","href":"https://yuko.so/blog/"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/getting-started/welcome"}]},{"tab":"API reference","groups":[{"group":"Rest API","pages":[{"title":"Introduction","href":"/developer/api/introduction"},{"title":"Authentication","description":"Authenticate Yuko API requests with a Bearer API key.","href":"/developer/api/authentication"},{"title":"Scopes","href":"/developer/api/scopes"},{"title":"Errors","href":"/developer/api/errors"},{"title":"Classic pagination","href":"/developer/api/classic-pagination"},{"title":"Rate Limits","href":"/developer/api/rate-limits"}]},{"group":"API References","pages":[{"group":"Customers","pages":[{"title":"List customers","api":"GET /public/customers","href":"/developer/api/list-customers"},{"title":"Retrieve a customer","api":"GET /public/customers/{id}","href":"/developer/api/retrieve-a-customer"},{"title":"Get customer balance","api":"GET /public/customers/balance","href":"/developer/api/get-customer-balance"},{"title":"Get customer membership","api":"GET /public/customers/memberships","href":"/developer/api/list-memberships"},{"title":"Get customer tier","api":"GET /public/customers/tiers","href":"/developer/api/get-customer-tier"},{"title":"List customer rewards","api":"GET /public/customers/rewards","href":"/developer/api/list-customer-rewards"},{"title":"Get redeemable rewards","api":"GET /public/customers/rewards/redeemable","href":"/developer/api/get-redeemable-rewards"},{"title":"Redeem a reward","api":"POST /public/customers/rewards/redeem","href":"/developer/api/redeem-reward"},{"title":"List customer activities","api":"GET /public/customers/activities","href":"/developer/api/list-customer-activities"},{"title":"List points transactions","api":"GET /public/customers/transactions","href":"/developer/api/list-points-transactions"},{"title":"Create a points transaction","api":"POST /public/customers/transactions","href":"/developer/api/create-a-points-transaction"},{"title":"List customer referrals","api":"GET /public/customers/referrals","href":"/developer/api/list-customer-referrals"}]},{"group":"Rewards","pages":[{"title":"List rewards","api":"GET /public/rewards","href":"/developer/api/list-rewards"},{"title":"Retrieve a reward","api":"GET /public/rewards/{id}","href":"/developer/api/retrieve-a-reward"}]},{"group":"Booster Campaigns","pages":[{"title":"List booster campaigns","api":"GET /public/booster-campaigns","href":"/developer/api/list-booster-campaigns"}]},{"group":"VIP Tiers","pages":[{"title":"List VIP tiers","api":"GET /public/tiers","href":"/developer/api/list-vip-tiers"}]},{"group":"Earning Rules","pages":[{"title":"List earning rules","api":"GET /public/earning-rules","href":"/developer/api/list-ways-to-earn"}]},{"group":"Referrals","pages":[{"title":"Get referral program","api":"GET /public/referrals/program","href":"/developer/api/get-referral-program"}]},{"group":"Points","pages":[{"title":"Points estimate","api":"POST /public/points/estimate","href":"/developer/api/checkout-points-estimate"}]},{"group":"Apps \u0026 Integrations","pages":[{"title":"Third Party Checkout Provider Integration Guide","sidebarTitle":"Checkout Integration","href":"/third-party-checkout-integrations"}]}]},{"group":"Object Reference","pages":[{"title":"Customer Object","href":"/customer-identity-object"},{"title":"Customer Reward Object","href":"/customer-reward-object"},{"title":"Membership Object","href":"/membership-object"},{"title":"Points Transaction Object","href":"/points-transaction-object"},{"title":"Activity Object","href":"/activity-object"},{"title":"VIP Tier Change Object","href":"/vip-tier-change-object"},{"title":"Creating and updating customers","href":"/create-or-update-a-customer-identity"},{"title":"Retrieve a points transaction","href":"/retrieve-a-points-transaction"}]}]}]},"title":"Introduction - Yuko Documentation","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":[],"chunks":[]}