The purchased-voucher stream requires both view_vouchers and view_orders. Upsert by id, retain reference for human workflows, and interpret balance/value fields as minor-unit integers. Follow every cursor page before advancing the incremental checkpoint.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Gift Voucher Brilliance API","colors":{"primary":"#6D4AFF","light":"#8064FF","dark":"#5838DB"},"logo":{"light":"https://mintcdn.com/gift-voucher-brilliance-api-staging/AdvWfJ882nOcqHQI/logo.svg?fit=max\u0026auto=format\u0026n=AdvWfJ882nOcqHQI\u0026q=85\u0026s=2da6589d570cd3981b1a150b1ce73b09","dark":"https://mintcdn.com/gift-voucher-brilliance-api-staging/AdvWfJ882nOcqHQI/logo.svg?fit=max\u0026auto=format\u0026n=AdvWfJ882nOcqHQI\u0026q=85\u0026s=2da6589d570cd3981b1a150b1ce73b09"},"favicon":"https://mintcdn.com/gift-voucher-brilliance-api-staging/AdvWfJ882nOcqHQI/favicon.svg?fit=max\u0026auto=format\u0026n=AdvWfJ882nOcqHQI\u0026q=85\u0026s=9dacc59198d255abb57b628568371db6","api":{"playground":{"display":"simple","proxy":false},"examples":{"defaults":"required","languages":["curl","javascript","python","php"]}},"footer":{"socials":{}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gift-voucher-brilliance-api-staging","hasAudioNarration":false,"actualSubdomain":"gift-voucher-brilliance-api-staging","customDomains":["docs.gvb-staging.co.uk"],"gitSource":{"type":"github","owner":"clockwork-marketing-uk","repo":"gvb","deployBranch":"staging","contentDirectory":"docs/developer-portal","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b0d8fde20e809d325b6b98b","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"Reference","count":11},{"language":"default","tag":"Operations","count":6},{"language":"default","tag":"Integration workflows","count":5},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Catalog","count":4},{"language":"default","tag":"Data conventions","count":3},{"language":"default","tag":"Customers","count":2},{"language":"default","tag":"Redemptions","count":2},{"language":"default","tag":"Sales","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"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":"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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"guides/purchased-voucher-sync","slug":"/guides/purchased-voucher-sync","pageMetadata":{"title":"Purchased-voucher synchronization","description":"Import sales vouchers and current balances.","href":"/guides/purchased-voucher-sync"},"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: \"Import sales vouchers and current balances.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[`The purchased-voucher stream requires both `,_jsx(_components.code,{children:`view_vouchers`}),` and `,_jsx(_components.code,{children:`view_orders`}),`. Upsert by `,_jsx(_components.code,{children:`id`}),`, retain `,_jsx(_components.code,{children:`reference`}),` for human workflows, and interpret balance/value fields as minor-unit integers. Follow every cursor page before advancing the incremental checkpoint.`]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Purchased-voucher synchronization","description":"Import sales vouchers and current balances.","href":"/guides/purchased-voucher-sync"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"subdomain":"gift-voucher-brilliance-api-staging","siteName":"Gift Voucher Brilliance API","title":"Purchased-voucher synchronization - Gift Voucher Brilliance API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-05T12:27:32.669Z","originalFileLocation":"guides/purchased-voucher-sync.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=\"Import sales vouchers and current balances.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gift Voucher Brilliance API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_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/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_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/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_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/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_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/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_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/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_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/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_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/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Purchased-voucher synchronization - Gift Voucher Brilliance API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Import sales vouchers and current balances.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gift Voucher Brilliance API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gift-voucher-brilliance-api-staging.mintlify.site/_mintlify/api/og/v2?division=Integration+workflows\u0026amp;title=Purchased-voucher+synchronization\u0026amp;description=Import+sales+vouchers+and+current+balances.\u0026amp;theme=372111467fdc6c077e1841e8\u0026amp;signature=7197cf7fc0bbd841ccbba08753d75f99f7208f7fef8dc462427280d263c41f3b\">\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=\"Purchased-voucher synchronization - Gift Voucher Brilliance API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Import sales vouchers and current balances.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gift-voucher-brilliance-api-staging.mintlify.site/_mintlify/api/og/v2?division=Integration+workflows\u0026amp;title=Purchased-voucher+synchronization\u0026amp;description=Import+sales+vouchers+and+current+balances.\u0026amp;theme=372111467fdc6c077e1841e8\u0026amp;signature=7197cf7fc0bbd841ccbba08753d75f99f7208f7fef8dc462427280d263c41f3b\">\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/gift-voucher-brilliance-api-staging/XpvHqZ0OVs4vQ2-e/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gift Voucher Brilliance API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6D4AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/purchased-voucher-sync.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gvb-staging.co.uk/#organization\",\"name\":\"Gift Voucher Brilliance API\",\"url\":\"https://docs.gvb-staging.co.uk\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gift-voucher-brilliance-api-staging/AdvWfJ882nOcqHQI/logo.svg?fit=max\u0026auto=format\u0026n=AdvWfJ882nOcqHQI\u0026q=85\u0026s=2da6589d570cd3981b1a150b1ce73b09\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gvb-staging.co.uk#website\",\"name\":\"Gift Voucher Brilliance API\",\"url\":\"https://docs.gvb-staging.co.uk\",\"publisher\":{\"@id\":\"https://docs.gvb-staging.co.uk/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync#webpage\",\"url\":\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync\",\"name\":\"Purchased-voucher synchronization\",\"description\":\"Import sales vouchers and current balances.\",\"dateModified\":\"2026-08-05T12:27:32.669Z\",\"isPartOf\":{\"@id\":\"https://docs.gvb-staging.co.uk#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Integration workflows\",\"item\":\"https://docs.gvb-staging.co.uk/guides/catalog-sync\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Purchased-voucher synchronization\",\"item\":\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync#article\",\"headline\":\"Purchased-voucher synchronization\",\"name\":\"Purchased-voucher synchronization\",\"description\":\"Import sales vouchers and current balances.\",\"url\":\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gvb-staging.co.uk/guides/purchased-voucher-sync#webpage\"},\"dateModified\":\"2026-08-05T12:27:32.669Z\",\"publisher\":{\"@id\":\"https://docs.gvb-staging.co.uk/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gvb-staging.co.uk#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gift Voucher Brilliance API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Gift Voucher Brilliance API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/purchased-voucher-sync.md","siteName":"Gift Voucher Brilliance API","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Get started","pages":[{"title":"External API","href":""},{"title":"Quickstart","href":"/quickstart"},{"title":"Authentication","href":"/guides/authentication"},{"title":"Tenants and permissions","href":"/guides/tenants-permissions"}]},{"group":"Data conventions","pages":[{"title":"Pagination and incremental sync","href":"/guides/pagination-sync"},{"title":"Includes","href":"/guides/includes"},{"title":"Money, dates, and identifiers","href":"/guides/data-types"}]},{"group":"Integration workflows","pages":[{"title":"Catalog synchronization","href":"/guides/catalog-sync"},{"title":"WordPress voucher feed","description":"Show vouchers from a shop on a WordPress site.","href":"/guides/wordpress-voucher-feed"},{"title":"Purchased-voucher synchronization","href":"/guides/purchased-voucher-sync"},{"title":"Customer exports","description":"Export opted-in marketing contacts responsibly.","href":"/guides/customer-exports"},{"title":"Voucher redemption workflow","href":"/guides/redemptions"}]},{"group":"Operations","pages":[{"title":"Errors, rate limits, and request IDs","href":"/guides/errors-rate-limits"},{"title":"Security practices","href":"/guides/security"},{"title":"Troubleshooting","href":"/guides/troubleshooting"},{"title":"Support","href":"/support"},{"title":"Versioning policy","href":"/versioning"},{"title":"Changelog","href":"/changelog"}]}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/api-reference/catalog/list-catalog-vouchers"}]}]},"basePath":"","title":"Purchased-voucher synchronization - Gift Voucher Brilliance API","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}