Bonus is split into two services: one calculates what a customer has earned, the other keeps the ledger.
Bonus Calculation
How bonus is calculated from purchases and campaigns.
Bonus Accounting
Balances, accruals and adjustments on the customer account.
Bonus is triggered by recording a purchase — see Transaction Data.
Last modified on August 12, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lobyco Help center","description":"Build loyalty on Lobyco — integration guides, API reference and business documentation.","colors":{"primary":"#492C9D","light":"#8C7CEA","dark":"#2E1D62"},"logo":{"light":"https://mintcdn.com/lobyco-4c9fb3ad/7MkE2F70G4ERnOnv/logo/light.svg?fit=max\u0026auto=format\u0026n=7MkE2F70G4ERnOnv\u0026q=85\u0026s=648c05c1bac302d3c1b2e30f319ddc5c","dark":"https://mintcdn.com/lobyco-4c9fb3ad/7MkE2F70G4ERnOnv/logo/dark.svg?fit=max\u0026auto=format\u0026n=7MkE2F70G4ERnOnv\u0026q=85\u0026s=c15349779e2b92daff95bdc89c183fbb","href":"/"},"favicon":"https://mintcdn.com/lobyco-4c9fb3ad/XqQN6HqFnbZjnwRu/favicon.svg?fit=max\u0026auto=format\u0026n=XqQN6HqFnbZjnwRu\u0026q=85\u0026s=ec001b88b367108b7eefc771ea9bbf47","background":{"color":{"light":"#f9f9f1","dark":"#050412"}},"navbar":{"links":[]},"footer":{"socials":{"website":"https://www.lobyco.com","linkedin":"https://www.linkedin.com/company/lobyco"},"links":[{"header":"For marketers","items":[{"label":"Campaigns","href":"/business-documentation/campaigns"},{"label":"Activities","href":"/business-documentation/activities"},{"label":"Communication","href":"/business-documentation/communication"},{"label":"Use cases","href":"/business-documentation/use-cases"}]},{"header":"For developers","items":[{"label":"Get started","href":"/integration/get-started"},{"label":"POS integrations","href":"/integration/pos-point-of-sale-integrations"},{"label":"API reference","href":"/api-reference/api-reference"}]},{"header":"Lobyco","items":[{"label":"lobyco.com","href":"https://www.lobyco.com"},{"label":"Privacy policy","href":"https://www.lobyco.com/legal/privacy-policy"}]}]},"search":{"prompt":"Search articles, e.g. “create an offer”"},"fonts":{"family":"Poppins"},"icons":{"library":"fontawesome"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"system","latex":false},"contextual":{"options":["copy","view"],"display":"header"},"interaction":{"drilldown":true},"metadata":{"timestamp":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lobyco-4c9fb3ad","hasAudioNarration":false,"actualSubdomain":"lobyco-4c9fb3ad","customDomains":["help.lobyco.com"],"gitSource":{"type":"github","owner":"lobyco-pro","repo":"mintlify-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0448fc173fddf89fadd2ff","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API Reference","count":272},{"language":"default","tag":"For marketers","count":122},{"language":"default","tag":"For developers","count":93},{"language":"default","tag":"Communication","count":59},{"language":"default","tag":"Promotion Platform","count":52},{"language":"default","tag":"Retail Master Data","count":44},{"language":"default","tag":"Activities","count":43},{"language":"default","tag":"Loyalty \u0026 Membership","count":42},{"language":"default","tag":"Payments","count":34},{"language":"default","tag":"Bonus","count":33}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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},{"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},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"custom.css","content":"#navbar,#navbar-transition,#navbar-transition-mint{background:var(--page-ground)!important;border-bottom:none!important;backdrop-filter:none!important;box-shadow:none!important}#navbar a,#navbar button,#navbar span,#navbar p,#navbar svg{color:var(--pure-white)!important}#navbar div[class*=\"text-gray-900\"]{color:var(--pure-white)!important}#navbar div[class*=\"bg-primary\"]{background-color:var(--tab-active-underline)!important;height:2px!important}#navbar [aria-selected=\"true\"],#navbar [class*=\"border-primary\"]{border-color:var(--lobyco-pink)!important}#navbar a:has(>img){display:inline-flex!important;align-items:center}#navbar a:has(>img)::after{content:\"Nexus Help Center\";font-size:14px;font-weight:500;color:var(--pure-white);padding-left:12px;margin-left:12px;border-left:1px solid rgba(255, 255, 255, 0.22);letter-spacing:0.01em;white-space:nowrap}#navbar img.nav-logo{width:124px;height:auto}@media (min-width: 1024px){#navbar .h-16{height:var(--header-height-desktop)}#sidebar{top:calc(var(--header-height-desktop) + var(--topbar-tabs-height, 0rem));height:calc(100dvh - var(--header-height-desktop) - var(--topbar-tabs-height, 0rem))}#content-side-layout{top:calc(9.5rem + var(--header-height-desktop) - 4rem);height:calc(100vh - 9.5rem - var(--header-height-desktop) + 4rem)}}body:has(.lh-hero) #search-bar-entry,body:has(.lh-hero) #search-bar-entry-mobile,body:has(.lh-hero) #navbar div:has(>.nav-tabs),body:has(.lh-hero) #navbar button:has(div[class*=\"text-gray-900\"]){display:none!important}@media (max-width: 1023px){body:has(.lh-hero) div[class*=\"pt-[120px]\"]{padding-top:var(--header-height)!important}}html:not(.dark) #navbar a,html:not(.dark) #navbar button,html:not(.dark) #navbar span,html:not(.dark) #navbar p,html:not(.dark) #navbar svg,html:not(.dark) #navbar div[class*=\"text-gray-900\"]{color:var(--lobyco-ink)!important}html:not(.dark) #navbar a:has(>img)::after{color:var(--twilight-5);border-left-color:var(--twilight-1)}#navbar .nav-tabs-item{font-size:14px;font-weight:400}#navbar .nav-tabs-item[data-active=\"true\"]{font-weight:500}html:not(.dark) #navbar div[class*=\"bg-primary\"]{background-color:var(--twilight-5)!important}html:not(.dark) #search-bar-entry-mobile{background:var(--pure-white)!important;border-color:var(--twilight-1)!important}html:not(.dark) #search-bar-entry-mobile *{color:var(--lobyco-ink)!important}html:not(.dark) #search-bar-entry-mobile svg[style*=\"mask-image\"]{background-color:var(--lobyco-ink)}#search-bar-entry-mobile{background:rgba(255, 255, 255, 0.14)!important;border:1px solid rgba(255, 255, 255, 0.22)!important;border-radius:var(--radius-sm)!important;transition:background 0.15s, border-color 0.15s}#search-bar-entry-mobile *{color:rgba(255, 255, 255, 0.85)!important}#search-bar-entry-mobile svg[style*=\"mask-image\"]{background-color:var(--pure-white)}:root{--search-field-bg: var(--pure-white);--search-field-bg-hover: var(--twilight-light-3);--search-field-border: var(--twilight-1);--search-field-border-hover: var(--lobyco-ink);--search-field-radius: var(--radius-pill);--search-placeholder: var(--entry-body-text);--search-placeholder-size: 16px;--header-search-placeholder-size: 14px;--search-icon-color: var(--lobyco-ink);--search-icon-opacity: 0.6;--tab-active-underline: var(--twilight-1);--step-disc-bg: var(--entry-fill-from);--step-disc-ink: var(--twilight-6);--accordion-chevron-ink: var(--twilight-5);--chevron-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6 8 10.5 12.5 6' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\");--ask-chip-fill: linear-gradient(135deg, var(--entry-fill-from), var(--entry-fill-to));--ask-chip-border: transparent;--ask-chip-border-hover: transparent;--ask-chip-radius: var(--radius-pill);--ask-chip-ink: var(--twilight-6);--ask-chip-inset: 3px;--ask-chip-pad-x: 10px;--ask-chip-gap: 8px;--ask-chip-icon-size: 14px;--ask-chip-label-size: 14px;--ask-chip-label-weight: 400;--sparkle-mask: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.658 2.99L4.395 2.569 3.974 1.306C3.837.898 3.162.898 3.025 1.306L2.604 2.569 1.341 2.99C1.137 3.058.999 3.249.999 3.464c0 .215.138.406.342.474l1.263.421.421 1.263c.68.204.26.342.475.342.215 0 .406-.138.475-.342l.421-1.263 1.263-.421c.204-.68.342-.259.342-.474 0-.215-.139-.406-.343-.474z'/%3E%3Cpath d='M9.5 2.75l1.912 4.837L16.25 9.5l-4.838 1.913L9.5 16.25l-1.913-4.837L2.75 9.5l4.837-1.913L9.5 2.75z'/%3E%3C/svg%3E\")}.dark{--search-field-bg: var(--dark-ground);--search-field-bg-hover: var(--dark-ground);--search-field-border: var(--dark-text-faint);--search-field-border-hover: var(--dark-brand);--search-placeholder: var(--dark-text-muted);--step-disc-bg: var(--twilight-dark-6);--step-disc-ink: var(--twilight-dark-1);--accordion-chevron-ink: var(--dark-brand);--search-icon-color: var(--dark-brand);--search-icon-opacity: 1;--ask-chip-fill: linear-gradient(135deg, var(--dark-tint), var(--dark-subtle));--ask-chip-border: var(--dark-brand);--ask-chip-border-hover: var(--dark-brand);--ask-chip-ink: var(--dark-text)}#navbar div:has(>#search-bar-entry){background:var(--search-field-bg);border:1px solid var(--search-field-border);border-radius:var(--search-field-radius);transition:background 0.15s, border-color 0.15s}#navbar div:has(>#search-bar-entry):hover,#navbar div:has(>#search-bar-entry):focus-within{background:var(--search-field-bg-hover);border-color:var(--search-field-border-hover)}#navbar div:has(>#search-bar-entry){flex:0 1 400px}#search-bar-entry{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}#navbar #search-bar-entry{height:38px!important;padding-left:16px!important;font-size:var(--header-search-placeholder-size)!important}#navbar #search-bar-entry *{color:var(--search-placeholder)!important}#navbar #search-bar-entry svg{color:var(--search-icon-color)!important;opacity:var(--search-icon-opacity)}#assistant-entry{background:var(--ask-chip-fill)!important;border:1px solid var(--ask-chip-border)!important;box-shadow:none!important;border-radius:var(--ask-chip-radius)!important;margin:var(--ask-chip-inset) var(--ask-chip-inset) var(--ask-chip-inset) 10px!important;height:30px!important;gap:var(--ask-chip-gap)!important;padding:0 var(--ask-chip-pad-x)!important;transition:border-color 0.15s}#assistant-entry:hover{border-color:var(--ask-chip-border-hover)!important}#navbar #assistant-entry *{color:var(--ask-chip-ink)!important}#navbar #assistant-entry svg{display:none!important}#navbar #assistant-entry::before{content:\"\";width:var(--ask-chip-icon-size);height:var(--ask-chip-icon-size);flex:0 0 auto;background-color:var(--ask-chip-ink);-webkit-mask:var(--sparkle-mask) center / contain no-repeat;mask:var(--sparkle-mask) center / contain no-repeat}#navbar #assistant-entry span{font-size:var(--ask-chip-label-size)!important;font-weight:var(--ask-chip-label-weight)!important;line-height:1!important}#navbar #assistant-entry span+span{display:none!important}body:has(.lh-hero) #navbar div:has(>#search-bar-entry),body:has(.lh-hero) #assistant-entry{display:none!important}div:has(>.chat-assistant-floating-input),.chat-assistant-floating-input{display:none!important}#topbar-cta-button span[class*=\"bg-primary\"]{background:var(--lobyco-pink)!important;border-radius:var(--radius-sm)!important}#topbar-cta-button a,#topbar-cta-button a *,#topbar-cta-button button,#topbar-cta-button button *{color:var(--color-text-primary)!important;font-weight:500}.sticky.pointer-events-none[class*=\"bg-linear-to-b\"],[class*=\"from-background-light\"]{background-image:linear-gradient(\n to bottom,\n var(--page-ground) 0%,\n rgba(var(--page-ground-rgb), 0) 100%\n )!important}html:not(.dark) #content-area details.accordion{background:var(--pure-white)}html:not(.dark) #content-area .accordion-group,html:not(.dark) #content-area :not(.accordion-group)>details.accordion{border:1px solid var(--grey-2);border-radius:var(--radius-md)}html:not(.dark) #content-area details.accordion>summary:hover{background:var(--twilight-light-3)}html:not(.dark) #content-area details.accordion>summary:hover [data-component-part=\"accordion-title\"]{color:var(--twilight-5)}#content-area details.accordion>summary>[data-component-part=\"accordion-caret-right\"]{order:1;flex:none;display:flex;margin:0 0 0 16px}#content-area details.accordion>summary>[data-component-part=\"accordion-caret-right\"]>svg{display:none}#content-area details.accordion>summary>[data-component-part=\"accordion-caret-right\"]::after{content:\"\";width:16px;height:16px;background:var(--accordion-chevron-ink);-webkit-mask:var(--chevron-mask) center / contain no-repeat;mask:var(--chevron-mask) center / contain no-repeat;transition:transform 0.2s ease}#content-area details.accordion[open]>summary>[data-component-part=\"accordion-caret-right\"]::after{transform:rotate(180deg)}@media (forced-colors: active){#content-area details.accordion>summary>[data-component-part=\"accordion-caret-right\"]::after{forced-color-adjust:none;background:CanvasText}}#sidebar,#sidebar-content{background:transparent!important}#sidebar-content ul.sidebar-group{margin-top:8px!important}#sidebar-content ul.sidebar-group:first-child{margin-top:0!important}#sidebar-content ul.sidebar-group>li+li,#sidebar-content li.space-y-px>ul>li+li{margin-top:4px!important}#sidebar-content li.space-y-px>ul{margin-top:4px!important}#sidebar-content *,#navbar .nav-tabs-item,#navbar .nav-tabs-item *{text-shadow:none!important}.dark #sidebar-content [class*=\"bg-primary\"]{background-color:var(--dark-selected)!important}html:not(.dark) [class*=\"hover:bg-gray-600/5\"]:hover:not([class*=\"bg-primary\"]):not(#navbar *){background-color:var(--twilight-light-3);color:var(--twilight-5)}.dark #sidebar-content a:hover:not([class*=\"bg-primary\"]),.dark #sidebar-content button:hover:not([class*=\"bg-primary\"]){background-color:var(--dark-hover)!important;color:var(--dark-text)!important}.dark #navbar .nav-tabs-item,.dark #navbar .nav-tabs-item *{color:var(--dark-text-muted)!important}.dark #navbar .nav-tabs-item:hover,.dark #navbar .nav-tabs-item:hover *,.dark #navbar .nav-tabs-item[data-active=\"true\"],.dark #navbar .nav-tabs-item[data-active=\"true\"] *{color:var(--dark-text)!important}#footer{border-top-width:0}@layer base{body:has(.lh-hero) #footer{display:flex!important}}html:not(.dark) #footer a[class*=\"text-gray-950/50\"]{color:var(--grey-7)}html:not(.dark) #footer a[class*=\"text-gray-950/50\"]:hover{color:var(--twilight-5)}.dark #navbar,.dark #navbar-transition,.dark #navbar-transition-mint{background:var(--dark-hero)!important}#navbar [class*=\"border-b\"]{border-bottom-color:transparent!important}.dark .sticky.pointer-events-none[class*=\"bg-linear-to-b\"],.dark [class*=\"from-background-light\"]{background-image:linear-gradient(\n to bottom,\n var(--dark-ground) 0%,\n rgba(6, 1, 27, 0) 100%\n )!important}.lh-hero{position:relative;overflow:hidden;padding:56px 32px 60px;text-align:center}.lh-hero-inner{position:relative;z-index:2;max-width:600px;margin:0 auto}.lh-hero h1{font-family:\"aglet-sans\", \"Poppins\", sans-serif;font-size:48px;font-weight:700;line-height:1.1;color:var(--lobyco-ink);margin:0 0 16px}.dark .lh-hero h1{color:var(--pure-white)}.lh-search-group{max-width:100%;min-height:54px;margin:0 auto;background:var(--search-field-bg);border:1px solid var(--search-field-border);border-radius:var(--search-field-radius);display:flex;align-items:center;transition:background 0.15s, border-color 0.15s}.lh-search-group:hover,.lh-search-group:focus-within{background:var(--search-field-bg-hover);border-color:var(--search-field-border-hover);outline:none}.lh-search{flex:1 1 auto;align-self:stretch;min-width:0;padding:10px 16px;display:flex;align-items:center;gap:10px;cursor:text}.lh-search:focus{outline:none}.lh-ask{flex:0 0 auto;align-self:stretch;display:flex;align-items:center;gap:var(--ask-chip-gap);margin:var(--ask-chip-inset) var(--ask-chip-inset) var(--ask-chip-inset) 0;padding:0 var(--ask-chip-pad-x);background:var(--ask-chip-fill);border:1px solid var(--ask-chip-border);border-radius:var(--ask-chip-radius);cursor:pointer;transition:border-color 0.15s}.lh-ask:hover{border-color:var(--ask-chip-border-hover)}.lh-ask:focus{outline:none}.lh-ask:focus-visible{outline:2px solid var(--ask-chip-ink);outline-offset:1px}.lh-ask-label{font-size:var(--ask-chip-label-size);font-weight:var(--ask-chip-label-weight);color:var(--ask-chip-ink);white-space:nowrap;line-height:1}.lh-ask-icon{width:var(--ask-chip-icon-size);height:var(--ask-chip-icon-size);flex-shrink:0;background-color:var(--ask-chip-ink);-webkit-mask:var(--sparkle-mask) center / contain no-repeat;mask:var(--sparkle-mask) center / contain no-repeat}.lh-search-placeholder{font-size:var(--search-placeholder-size);color:var(--search-placeholder);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 640px){.lh-ask-label{display:none}.lh-ask{padding:0 9px}}.lh-search-icon{width:16px;height:16px;flex-shrink:0;background-color:var(--search-icon-color);opacity:var(--search-icon-opacity);-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.7.7l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E\") center / contain no-repeat;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.7.7l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E\") center / contain no-repeat}.lh-suggestions{margin:14px 0 0;display:flex;flex-wrap:nowrap;justify-content:center;gap:10px;font-size:12px}.lh-suggestions a{display:inline-flex;align-items:center;white-space:nowrap;background:var(--twilight-5);border:1px solid var(--twilight-5);border-radius:var(--radius-pill);min-height:32px;padding:0 12px;color:var(--lilac-1)!important;font-weight:500!important;text-decoration:none;transition:background 0.15s, border-color 0.15s, transform 0.15s}.lh-suggestions a:hover{background:var(--twilight-6);border-color:var(--twilight-6);transform:translateY(-1px)}.dark .lh-suggestions a{background:var(--dark-subtle);border-color:var(--dark-border);color:var(--pure-white)!important}.lh-page{max-width:1100px;margin:0 auto;padding:32px;display:flex;flex-direction:column;gap:56px}.lh-section-label{margin-bottom:14px}.lh-section-label h2{font-family:\"aglet-sans\", \"Poppins\", sans-serif;font-size:28px;font-weight:700;line-height:1.2;margin:0;color:var(--lobyco-ink)}.lh-rows{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-template-rows:repeat(3, auto);grid-auto-flow:column;column-gap:48px}.lh-row{position:relative;display:grid;grid-template-columns:minmax(0, 1fr) auto 14px;grid-template-areas:\"title meta arrow\";align-items:center;column-gap:16px;padding:12px;margin:0 -12px;border-radius:var(--radius-sm);text-decoration:none;transition:background 0.15s}.lh-row::after{content:\"\";position:absolute;left:12px;right:12px;bottom:0;height:1px;background:var(--grey-2)}.lh-row:nth-child(3n)::after{display:none}.lh-row:hover{background:var(--twilight-light-3)}.lh-row:hover::after,.lh-row:has(+.lh-row:hover)::after{opacity:0}.lh-row-title{grid-area:title;font-size:16px;font-weight:400;color:var(--grey-8);transition:color 0.15s}.lh-row-meta{grid-area:meta;justify-self:end;text-align:right;font-size:14px;font-weight:500;color:var(--twilight-5);white-space:nowrap}.lh-row-arrow{grid-area:arrow;display:inline-flex;justify-content:flex-end}.lh-row:hover .lh-row-title{color:var(--twilight-5)}.lh-collections{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:12px}.lh-collections:not(.lh-collections-article){grid-auto-rows:1fr}.lh-collection{display:flex;align-items:stretch;gap:14px;padding:16px 18px;background:var(--pure-white);border:1px solid var(--twilight-1);border-radius:var(--radius-lg);overflow:hidden;text-decoration:none;transition:background 0.15s, transform 0.15s, border-color 0.15s}.lh-collection:hover{background:var(--twilight-light-3);border-color:var(--twilight-5);transform:translateY(-2px)}.lh-collection-icon{display:flex;align-self:flex-start;flex-shrink:0}.lh-collection-tile{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--lobyco-ink)}.lh-collection-tile svg{background-color:var(--lilac-1)}.lh-collection-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}.lh-collection h3,.lh-collection-title{display:block;font-family:\"aglet-sans\", \"Poppins\", sans-serif;font-size:18px;font-weight:400;margin:0 0 4px;color:var(--lobyco-ink)}.lh-collection p{font-size:14px;line-height:1.55;color:var(--grey-8);margin:0 0 12px}.lh-collection-count{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;background:var(--lilac-1);border-radius:var(--radius-pill);padding:4px 12px;font-size:12px;font-weight:600;color:var(--twilight-5);white-space:nowrap}.lh-collections-article{grid-template-columns:repeat(2, minmax(0, 1fr))}.lh-collection-body>p:last-child{margin-bottom:0}.card[role=\"link\"]{background:var(--pure-white);border:1px solid var(--twilight-1)!important;border-radius:var(--radius-lg);transition:background 0.15s, transform 0.15s, border-color 0.15s}.columns:has(>.card[role=\"link\"]){gap:12px}.columns>.card[role=\"link\"]{margin:0}.card[role=\"link\"]:hover{background:var(--twilight-light-3);border-color:var(--twilight-5)!important;transform:translateY(-2px)}.card[role=\"link\"] [data-component-part=\"card-content-container\"]{padding:16px 18px}.card[role=\"link\"] [data-component-part=\"card-icon\"]{display:none}.card[role=\"link\"] [data-component-part=\"card-title\"]{font-family:\"aglet-sans\", \"Poppins\", sans-serif;font-size:18px;font-weight:400;margin:0 0 4px;color:var(--lobyco-ink)}#content-area .card[role=\"link\"] [data-component-part=\"card-content\"],#content-area .card[role=\"link\"] [data-component-part=\"card-content\"] *{font-size:14px;line-height:1.55;color:var(--grey-8)}.card[role=\"link\"] [data-component-part=\"card-content\"]{margin-top:0}@media (max-width: 980px){.lh-rows{grid-template-columns:minmax(0, 1fr);grid-template-rows:none;grid-auto-flow:row}.lh-row:nth-child(3n)::after{display:block}.lh-row:last-child::after{display:none}.lh-collections{grid-template-columns:repeat(2, minmax(0, 1fr))}.lh-suggestions{flex-wrap:wrap}}@media (max-width: 640px){.lh-hero h1{font-size:32px;line-height:1.2}.lh-page{padding:32px 16px}.lh-row{grid-template-columns:minmax(0, 1fr) 14px;grid-template-areas:\"title arrow\" \"meta arrow\";row-gap:2px}.lh-row-meta{justify-self:start;text-align:left}.lh-collections{grid-template-columns:minmax(0, 1fr)}}.dark #pagination a,.dark #pagination a *{color:var(--dark-brand)!important}.dark .breadcrumb-item,.dark .breadcrumb-item a{color:var(--dark-text-muted)!important}.dark .breadcrumb-item a:hover{color:var(--dark-text)!important}.dark #content-area a.link:not([class*=\"lh-\"]),.dark #content-area :is(h1,h2,h3,h4,h5,h6) a{color:var(--twilight-3)!important}.dark #content-area a.link:not([class*=\"lh-\"]):hover{color:var(--twilight-2)!important}.dark .lh-hero{background:var(--dark-hero)}.dark .lh-section-label h2{color:var(--dark-brand)}.dark .lh-row::after{background:var(--dark-subtle)}.dark .lh-row:hover{background:var(--dark-hover)}.dark .lh-row-title{color:var(--dark-text)}.dark .lh-row-meta{color:var(--dark-text-muted)}.dark .lh-row:hover .lh-row-title{color:var(--dark-brand)}.dark .lh-collection{background:linear-gradient(135deg, var(--dark-tint), var(--dark-ground));border-color:var(--dark-entry-border)}.dark .lh-collection:hover{border-color:var(--dark-brand)}.dark .lh-collection-count{background:var(--dark-subtle)}.dark .lh-collection h3,.dark .lh-collection-title{color:var(--dark-text)}.dark .lh-collection p,.dark .lh-collection-count{color:var(--dark-text-muted)}.dark .card[role=\"link\"]{background:linear-gradient(135deg, var(--dark-tint), var(--dark-ground));border-color:var(--dark-entry-border)!important}.dark .card[role=\"link\"]:hover{border-color:var(--dark-brand)!important}.dark .card[role=\"link\"] [data-component-part=\"card-title\"]{color:var(--dark-text)}.dark #content-area .card[role=\"link\"] [data-component-part=\"card-content\"],.dark #content-area .card[role=\"link\"] [data-component-part=\"card-content\"] *{color:var(--dark-text-muted)}#content-area .mdx-content ol{list-style:none;padding-left:0;counter-reset:lh-step;--step-line: 1.75rem;--step-disc-size: 1.625rem}#content-area .mdx-content ol>li{counter-increment:lh-step;position:relative;padding-left:2.5rem}#content-area .mdx-content ol>li::before{content:counter(lh-step);position:absolute;left:0;top:calc((var(--step-line) - var(--step-disc-size)) / 2);width:var(--step-disc-size);height:var(--step-disc-size);border-radius:var(--radius-pill);display:flex;align-items:center;justify-content:center;font-size:0.875rem;font-weight:600;line-height:1;background:var(--step-disc-bg);color:var(--step-disc-ink)}#content-area .steps .step [class*=\"step-indicator\"]{background:var(--step-disc-bg);color:var(--step-disc-ink);font-size:0.875rem;font-weight:600}#content-area .mdx-content>h2{font-weight:400;font-size:26px}#page-title,#content-area .mdx-content>h2,#content-area .mdx-content h3{font-family:\"aglet-sans\", \"Poppins\", sans-serif}#content-area .mermaid .node rect{rx:var(--radius-diagram);ry:var(--radius-diagram)}html:not(.dark) #content-area .mermaid .node :is(rect.label-container,polygon){fill:var(--lilac-light-1);stroke:var(--twilight-1);vector-effect:non-scaling-stroke}html:not(.dark) #content-area .mermaid .node .nodeLabel,html:not(.dark) #content-area .mermaid .node .nodeLabel p{color:var(--twilight-6)}html:not(.dark) #content-area .mermaid g.edgeLabel foreignObject{overflow:visible}html:not(.dark) #content-area .mermaid g.edgeLabel :is(.labelBkg,span.edgeLabel){background-color:transparent}html:not(.dark) #content-area .mermaid g.edgeLabel p:not(:empty){display:inline-block;padding:0 8px;margin:0 -8px;border-radius:var(--radius-pill);background-color:var(--twilight-5);color:var(--lilac-1)}#content-area .mermaid path.flowchart-link{stroke-width:1.5px}#content-area .mermaid marker[id$=\"-pointEnd\"]{overflow:visible}#content-area .mermaid marker[id$=\"-pointEnd\"] path{d:path(\"M 0 0 L 5 5 L 0 10\");fill:none!important;stroke-width:1.875!important;stroke-dasharray:22.36 10!important;stroke-linecap:round;stroke-linejoin:round}html:not(.dark) #content-area .mermaid path.flowchart-link,html:not(.dark) #content-area .mermaid marker[id$=\"-pointEnd\"] path{stroke:var(--grey-4)}html:not(.dark) #content-area .callout:is([data-callout-type=\"info\"],[data-callout-type=\"note\"]){background-color:var(--lilac-light-1);border-color:var(--twilight-1)}html:not(.dark) #content-area .callout:is([data-callout-type=\"info\"],[data-callout-type=\"note\"]) [data-component-part=\"callout-icon\"] svg{color:var(--twilight-5)}html:not(.dark) #content-area .callout[data-callout-type=\"tip\"]{background-color:var(--flamingo-light-1);border-color:var(--flamingo-2)}html:not(.dark) #content-area .callout[data-callout-type=\"tip\"] [data-component-part=\"callout-icon\"] svg{color:var(--flamingo-7)}html:not(.dark) #content-area .callout:is([data-callout-type=\"info\"],[data-callout-type=\"note\"]) [data-component-part=\"callout-content\"]{color:var(--twilight-6)}html:not(.dark) #content-area .callout[data-callout-type=\"tip\"] [data-component-part=\"callout-content\"]{color:var(--flamingo-8)}#content-area div.mdx-content :is(span[data-rmiz],span[data-ramka-trigger]):has(+span[data-as=\"p\"]>em:only-child,+button[data-ramka-trigger]+span[data-as=\"p\"]>em:only-child) img{margin-bottom:4px}#content-area div.mdx-content :is(span[data-rmiz],[data-ramka-trigger])+span[data-as=\"p\"]:has(>em:only-child){margin-top:0;margin-bottom:32px;font-size:14px;line-height:1.5}[role=\"menuitem\"][data-lh-repeat]{display:none!important}[id=\"page-context-menu-button\"]{height:28px;padding-top:0;padding-bottom:0}[id=\"page-context-menu-button\"]>div{font-size:12px;line-height:16px}[id=\"page-context-menu-button\"]~button[aria-haspopup=\"menu\"]{height:28px}#header:has(.breadcrumb-list) div:has(>#page-title){position:static}#header:has(.breadcrumb-list) #page-title~[id=\"page-context-menu\"]{position:absolute;top:-2px;right:0}@container page-header (min-width: 520px){#header:has(#page-title~[id=\"page-context-menu\"]) .breadcrumb-list{padding-right:172px}}[role=\"menu\"]:has([data-lh-repeat]) [role=\"menuitem\"]>div:first-child{padding:7px}[role=\"menu\"]:has([data-lh-repeat]) [role=\"menuitem\"] .font-medium{font-size:12px;line-height:16px}#content-area .mdx-content a.link{color:var(--twilight-5);font-weight:400}html:not(.dark){--gray-950: var(--grey-8-channels);--gray-900: var(--grey-8-channels);--gray-800: var(--grey-8-channels)}html:not(.dark) .prose{--tw-prose-headings: var(--grey-8);--tw-prose-code: var(--grey-9)}html:not(.dark) .prose:not(.callout *){color:var(--grey-9)}html:not(.dark) .prose strong:not(.callout *){color:var(--grey-9)}"},{"filePath":"fonts.css","content":"@import url('https://use.typekit.net/icf0zik.css');/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiGyp8kv8JHgFVrJJLucXtAKPY.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiGyp8kv8JHgFVrJJLufntAKPY.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: italic;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiGyp8kv8JHgFVrJJLucHtA.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiEyp8kv8JHgFVrJJbecmNE.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* devanagari */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLCz7Z11lFc-K.woff2) format('woff2');\n unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Poppins';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/poppins/v24/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n"},{"filePath":"tokens.css","content":":root{--twilight-1: #dbd9ff;--twilight-2: #b2aafc;--twilight-3: #8c7cea;--twilight-4: #6a51ca;--twilight-5: #492c9d;--twilight-6: #2e1d62;--twilight-6-rgb: 46, 29, 98;--lilac-1: #f4ecff;--flamingo-1: #ffeaf7;--flamingo-2: #ffd3ee;--flamingo-5: #ff90d3;--flamingo-7: #a40074;--flamingo-8: #5b003d;--pumpkin-1: #fbdac9;--pumpkin-5: #ec6218;--pumpkin-7: #85370e;--grey-1: #f7f7f7;--grey-2: #ebebeb;--grey-4: #8e8e8e;--grey-6: #5c5c5c;--grey-7: #474747;--grey-8: #3c3c3c;--grey-9: #0c0c0c;--grey-8-channels: 60 60 60;--lobyco-ink: var(--twilight-5);--lobyco-pink: var(--flamingo-5);--ivory-5: #f9f9f1;--ivory-5-rgb: 249, 249, 241;--ivory-2: #fdfdf9;--ivory-2-rgb: 253, 253, 249;--ivory-3: #fbfbf4;--ivory-3-rgb: 251, 251, 244;--ivory-1: #ffffff;--ivory-1-rgb: 255, 255, 255;--page-ground: var(--ivory-5);--page-ground-rgb: var(--ivory-5-rgb);--blue-1: #f3f7fc;--blue-2: #d6e6f6;--blue-3: #a7c8ec;--blue-5: #2879c7;--mint-2: #e8f8f1;--mint-3: #cdefe0;--mint-4: #b0e4ce;--green-5: #12872a;--orange-1: #fef2d9;--orange-2: #fde7ba;--orange-3: #fedb93;--orange-5: #d18100;--red-1: #fcebe9;--red-2: #f9dbd7;--red-bright-3: #f2a1a1;--red-bright-6: #8c1010;--radius-xs: 4px;--radius-sm: 8px;--radius-diagram: 12px;--radius-md: 16px;--radius-lg: 24px;--radius-pill: 100px;--shadow-base: 0px 1px 4px rgba(0, 0, 0, 0.15);--color-text-primary: var(--grey-8);--header-height: 64px;--header-height-desktop: 96px;--pure-white: #ffffff;--twilight-light-1: #f4f4ff;--twilight-light-2: #eeefff;--twilight-light-3: #e4e4ff;--lilac-light-1: #f8f3ff;--flamingo-light-1: #fff4fb;--twilight-dark-1: #dcdbf2;--twilight-dark-2: #bcb9e2;--twilight-dark-3: #9d98ce;--twilight-dark-4: #7f7ab5;--twilight-dark-5: #635d97;--twilight-dark-6: #494376;--twilight-dark-7: #302a54;--twilight-dark-8: #191532;--twilight-dark-9: #050412;--neutral-dark-1: #dddce7;--neutral-dark-2: #bdbdca;--neutral-dark-3: #9f9ead;--neutral-dark-4: #818091;--neutral-dark-5: #656476;--neutral-dark-8: #191922;--dark-ground: var(--twilight-dark-9);--dark-hero: var(--twilight-dark-8);--dark-surface: var(--twilight-dark-8);--dark-tint: var(--twilight-dark-8);--dark-subtle: var(--twilight-dark-7);--dark-selected: var(--twilight-dark-8);--dark-hover: var(--neutral-dark-8);--dark-border: var(--twilight-dark-4);--dark-entry-border: var(--twilight-dark-4);--dark-text: var(--neutral-dark-1);--dark-text-muted: var(--neutral-dark-2);--dark-text-faint: var(--neutral-dark-4);--dark-brand: var(--twilight-dark-2);--entry-fill-from: #ece7fb;--entry-fill-to: #f7f4fd;--entry-body-text: #5c5080;--band-placeholder: #9a90b5}"}]}
{"page":{"pagePath":"api-reference/bonus","slug":"/api-reference/bonus","pageMetadata":{"title":"Bonus","description":"Bonus accounting and bonus calculation endpoints.","href":"/api-reference/bonus"},"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: \"Bonus accounting and bonus calculation endpoints.\"\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`,p:`p`,..._provideComponents(),...props.components},{Card,Columns}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!Columns)_missingMdxReference(`Columns`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Bonus is split into two services: one calculates what a customer has earned, the other keeps the ledger.`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`Bonus Calculation`,icon:`calculator`,href:`/api-reference/bonus/bonus-calculation`,children:_jsx(_components.p,{children:`How bonus is calculated from purchases and campaigns.`})}),_jsx(Card,{title:`Bonus Accounting`,icon:`book`,href:`/api-reference/bonus/bonus-accounting`,children:_jsx(_components.p,{children:`Balances, accruals and adjustments on the customer account.`})})]}),`\n`,_jsxs(_components.p,{children:[`Bonus is triggered by recording a purchase — see `,_jsx(_components.a,{href:`/integration/pos-point-of-sale-integrations/transaction-data`,children:`Transaction Data`}),`.`]})]})}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":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Bonus","description":"Bonus accounting and bonus calculation endpoints.","href":"/api-reference/bonus"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/lobyco-4c9fb3ad/bbc1cb74d82ab274/custom.js"],"subdomain":"lobyco-4c9fb3ad","siteName":"Lobyco Help center","title":"Bonus - Lobyco Help center","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-12T11:15:39.228Z","gitLastModified":"2026-08-12T11:14:24.000Z","originalFileLocation":"api-reference/bonus.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=\"Bonus accounting and bonus calculation endpoints.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lobyco Help center\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_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/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_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/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_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/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_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/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_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/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_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/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_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/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Bonus - Lobyco Help center\">\u003cmeta data-mint-head property=\"og:description\" content=\"Bonus accounting and bonus calculation endpoints.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lobyco Help center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://help.lobyco.com/api-reference/bonus\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lobyco-4c9fb3ad.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Bonus\u0026amp;description=Bonus+accounting+and+bonus+calculation+endpoints.\u0026amp;theme=dfa8fcbb27aec46b4253826f\u0026amp;signature=67214896c451301a3837a5403e18c77ef3396b4b0f8d365a2a43e25af332901a\">\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=\"Bonus - Lobyco Help center\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Bonus accounting and bonus calculation endpoints.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lobyco-4c9fb3ad.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Bonus\u0026amp;description=Bonus+accounting+and+bonus+calculation+endpoints.\u0026amp;theme=dfa8fcbb27aec46b4253826f\u0026amp;signature=67214896c451301a3837a5403e18c77ef3396b4b0f8d365a2a43e25af332901a\">\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/lobyco-4c9fb3ad/GXuV80rvtQJtdKFU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lobyco Help center\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#492C9D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://help.lobyco.com/api-reference/bonus\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/bonus.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://help.lobyco.com/#organization\",\"name\":\"Lobyco Help center\",\"url\":\"https://help.lobyco.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lobyco-4c9fb3ad/7MkE2F70G4ERnOnv/logo/light.svg?fit=max\u0026auto=format\u0026n=7MkE2F70G4ERnOnv\u0026q=85\u0026s=648c05c1bac302d3c1b2e30f319ddc5c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://help.lobyco.com#website\",\"name\":\"Lobyco Help center\",\"url\":\"https://help.lobyco.com\",\"publisher\":{\"@id\":\"https://help.lobyco.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://help.lobyco.com/api-reference/bonus#webpage\",\"url\":\"https://help.lobyco.com/api-reference/bonus\",\"name\":\"Bonus\",\"description\":\"Bonus accounting and bonus calculation endpoints.\",\"dateModified\":\"2026-08-12T11:14:24.000Z\",\"isPartOf\":{\"@id\":\"https://help.lobyco.com#website\"},\"breadcrumb\":{\"@id\":\"https://help.lobyco.com/api-reference/bonus#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://help.lobyco.com/api-reference/bonus#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Lobyco Help center\",\"item\":\"https://help.lobyco.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bonus\",\"item\":\"https://help.lobyco.com/api-reference/bonus\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://help.lobyco.com/api-reference/bonus#article\",\"headline\":\"Bonus\",\"name\":\"Bonus\",\"description\":\"Bonus accounting and bonus calculation endpoints.\",\"url\":\"https://help.lobyco.com/api-reference/bonus\",\"mainEntityOfPage\":{\"@id\":\"https://help.lobyco.com/api-reference/bonus#webpage\"},\"dateModified\":\"2026-08-12T11:14:24.000Z\",\"publisher\":{\"@id\":\"https://help.lobyco.com/#organization\"},\"isPartOf\":{\"@id\":\"https://help.lobyco.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lobyco Help center\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lobyco Help center\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/bonus.md","siteName":"Lobyco Help center","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"For marketers","pages":[{"title":"For marketers","href":"/business-documentation/get-started"}]},{"tab":"For developers","pages":[{"title":"For developers","href":"/integration/get-started"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/api-reference"},{"group":"Audience","root":{"title":"Audience","href":"/api-reference/audience"},"pages":[{"group":"Audiences","root":{"title":"Audiences","href":"/api-reference/audience/audiences"},"pages":[{"openapi":"openapi/audience-v1.json GET /v1/audiences/{audienceId}/customers","title":"Returns customers from audience by id","href":"/api-reference/audience/audiences/get-v1-audiences-audienceid-customers"},{"openapi":"openapi/audience-v1.json GET /v1/audiences/customers","title":"Returns customers that belong to at least one of passed audiences","href":"/api-reference/audience/audiences/get-v1-audiences-customers"},{"openapi":"openapi/audience-v1.json POST /v1/audiences","title":"Create audience with customers","href":"/api-reference/audience/audiences/post-v1-audiences"},{"openapi":"openapi/audience-v1.json POST /v1/audiences/{audienceId}/snapshot","title":"Creates an audience snapshot based on the provided audience ID.\nAn audience snapshot is a captured state of the audience customers.","href":"/api-reference/audience/audiences/post-v1-audiences-audienceid-snapshot"},{"openapi":"openapi/audience-v1.json PUT /v1/audiences/{audienceId}","title":"Update audience and update audience customers","href":"/api-reference/audience/audiences/put-v1-audiences-audienceid"},{"openapi":"openapi/audience-v1.json PATCH /v1/audiences/{audienceId}/customers","title":"Update audience customers","href":"/api-reference/audience/audiences/patch-v1-audiences-audienceid-customers"}]},{"group":"Customers","root":{"title":"Customers","href":"/api-reference/audience/customers"},"pages":[{"openapi":"openapi/audience-v1.json GET /v1/customers/{customerId}/audiences","title":"Returns all audiences to which current customer belongs","href":"/api-reference/audience/customers/get-v1-customers-customerid-audiences"}]},{"group":"CSV Import","root":{"title":"CSV Import","href":"/api-reference/audience/csv-import"},"pages":[{"openapi":"openapi/audience-dataimport-v1.json POST /v1/upload","sidebarTitle":"POST /v1/upload","title":null,"href":"/api-reference/audience/csv-import/post-v1-upload"},{"openapi":"openapi/audience-dataimport-v1.json POST /v1/import","sidebarTitle":"POST /v1/import","title":null,"href":"/api-reference/audience/csv-import/post-v1-import"},{"openapi":"openapi/audience-dataimport-v1.json PUT /v1/import","sidebarTitle":"PUT /v1/import","title":null,"href":"/api-reference/audience/csv-import/put-v1-import"},{"openapi":"openapi/audience-dataimport-v1.json GET /v1/import/{executionId}/status","sidebarTitle":"GET /v1/import/{executionId}/status","title":null,"description":null,"href":"/api-reference/audience/csv-import/get-v1-import-executionid-status"}]}]},{"group":"Bonus","root":{"title":"Bonus","href":"/api-reference/bonus"},"pages":[{"group":"Bonus Accounting","root":{"title":"Bonus Accounting","description":"Bonus balances, accruals and adjustments on the customer account.","href":"/api-reference/bonus/bonus-accounting"},"pages":[{"openapi":"openapi/bonus-v1.json GET /v1/accounts/{accountId}/balancesByTransactionType","title":"Get reserved amounts by transaction type","description":"Your backend calls this to see how much bonus on an account is tied up in transactions that are still waiting,\nsplit by transaction type: bonus on its way in, reserved until it is captured, and bonus on its way out,\nreserved for payments and other deductions. None of it can be spent. The spendable balance is `availableBalance`\non `GET /v1/members/{memberId}/accounts`.\n \nThe amounts are as they are booked, without the account type's conversion rate. A transaction type is listed\nonce the account has a transaction of that type, with zeros when none of them is waiting.","href":"/api-reference/bonus/bonus-accounting/get-v1-accounts-accountid-balancesbytransactiontype"},{"openapi":"openapi/bonus-v1.json GET /v1/accounts/{accountId}/detailed-statements","title":"Get detailed account statements","description":"Your backend calls this to audit an account or to reconcile it with your own books. Where the other statement\ncalls return what a customer is shown, this one returns every booking on the account, newest first: on the part\nthat can be spent (`Base`) and on the reserved part (`Reserve`), for transactions in every state, with the\namounts as they are booked.\n \nEach item carries the running `balance`, the spendable bonus on the account after that booking. Send\n`includeRunningBalance=false` to skip that calculation when you do not need it.\n \nThe list is paged: send `limit`, and pass the `nextCursor` of one page as `cursor` to get the next. A page\nwithout `nextCursor` is the last.","href":"/api-reference/bonus/bonus-accounting/get-v1-accounts-accountid-detailed-statements"},{"openapi":"openapi/bonus-v1.json GET /v1/accounts/{externalId}","title":"Get an account by external id","description":"Your backend calls this to read an account it created with an `externalId`: whether it is active, whether its\nbonus can be spent, and its account type. With `includeBalance=true` the response also carries the balance,\nwhich is the bonus on the account multiplied by the account type's `conversionRate`.\n \nTo read the accounts of a customer, with their ids, call `GET /v1/members/{memberId}/accounts`.","href":"/api-reference/bonus/bonus-accounting/get-v1-accounts-externalid"},{"openapi":"openapi/bonus-v1.json GET /v1/accounts/{externalId}/statements","title":"Get account statements by external id","description":"Your backend calls this to list what happened on an account it created with an `externalId`, newest first. Each\nitem is one booking on the account: bonus that was added, bonus that was taken out, or bonus reserved by a\ntransaction that is still waiting. A transaction that was captured in parts gives one item for each part.\n \nA payment's amount is multiplied by the conversion rate it was made at; other amounts are returned as they were\nbooked. The list is paged: send `limit`, and pass the `nextCursor` of one page as `cursor` to get the next. A\npage without `nextCursor` is the last.\n \nFor the statement of a customer's account, with titles and store names for display, call\n`GET /v1/members/{memberId}/statements`.","href":"/api-reference/bonus/bonus-accounting/get-v1-accounts-externalid-statements"},{"openapi":"openapi/bonus-v1.json POST /v1/accounts","title":"Create an account","description":"Your backend calls this to open a bonus account that is identified by an id of your own, the `externalId`, and\nthat no customer is linked to yet. To open the account of one customer, call\n`POST /v1/members/{memberId}/accounts` instead.\n \nThe account gets the account type named in `accountType`; leave it out where your environment has a single\naccount type. Keep the `accountId` from the response: the calls that link customers to the account, update it\nand add bonus to it take that id, and reading the account by `externalId` does not return it.\n \nThe call is not idempotent. A second call with the same `externalId` is refused with `AccountAlreadyExists`, so\nafter a failure read the account with `GET /v1/accounts/{externalId}` before trying again.","href":"/api-reference/bonus/bonus-accounting/post-v1-accounts"},{"openapi":"openapi/bonus-v1.json POST /v1/accounts/{accountId}/members","title":"Link customers to an account","description":"Your backend calls this to make an existing account the active account of one or more customers, for example\nwhen several customers share one account. From then on the calls that take a `memberId` reach this account for\neach of them.\n \nA customer who already has an active account is moved: the link to the earlier account is ended, and that\naccount and its bonus stay as they are. Customers are linked one after another, so when the call fails part-way\nthe first ones are already linked. The call can be repeated with the same list.","href":"/api-reference/bonus/bonus-accounting/post-v1-accounts-accountid-members"},{"openapi":"openapi/bonus-v1.json PATCH /v1/accounts/{accountId}","title":"Update an account","description":"Your backend calls this to activate or deactivate an account, to allow or stop spending from it, or to empty it.\nOnly what you send is changed: `isActive` and `isAllowedToSpend` keep their value when they are left out.\n \nWith `expireBalance=true` the account is emptied first: every transaction that is still waiting is cancelled,\nand the bonus that is then available is taken off the account as an `Expiry` transaction. This cannot be undone.\nWhere Lobyco has set your environment to require an empty account, every update of an account that still holds\navailable or reserved bonus is refused with `AccountBalanceMustBeZero` unless `expireBalance` is `true`.\n \nA deactivated account keeps its transactions and can be activated again. While it is inactive it accepts no new\ntransactions.","href":"/api-reference/bonus/bonus-accounting/patch-v1-accounts-accountid"},{"openapi":"openapi/bonus-v1.json GET /v1/members/{memberId}/accounts","title":"Get a customer's accounts","description":"Your backend, the POS or the app calls this to find the accounts a customer holds bonus on and to show or check\na balance. It returns every account the customer is or was linked to; `isActive` says which of them can be used\nnow.\n \nBalances are calculated only when you ask for them. `includeBalance=true` adds the available and the reserved\nbalance, and `includeExpiringBalance=true` adds the bonus that expires next, where your environment expires\nbonus. All of them are multiplied by the account type's `conversionRate`.","href":"/api-reference/bonus/bonus-accounting/get-v1-members-memberid-accounts"},{"openapi":"openapi/bonus-v1.json GET /v1/members/{memberId}/balance","title":"Get a customer's balance","description":"Deprecated. Use `GET /v1/members/{memberId}/accounts` with `includeBalance=true`, which also returns the\naccount's id and covers a customer with several accounts.\n \nReturns the available and the reserved bonus on the customer's active account, both multiplied by the account\ntype's `conversionRate`.","href":"/api-reference/bonus/bonus-accounting/get-v1-members-memberid-balance"},{"openapi":"openapi/bonus-v1.json GET /v1/members/{memberId}/statements","title":"Get a customer's statements","description":"Your backend or the app calls this to show a customer what happened on their account, newest first: bonus\nearned, payments, refunds, and what is still pending. Each item is ready for display, with a title, translated\nnames for the type and the state, and where the bonus came from and went to.\n \nIt reads the customer's active account and leaves cancelled transactions out. Bookings of one receipt and one\ntype are combined into a single item, except payments and adjustments. That happens after a page is read, so a\npage can hold fewer items than `limit`.\n \nThe list is paged: send `limit`, and pass the `nextCursor` of one page as `cursor` to get the next. A page\nwithout `nextCursor` is the last.","href":"/api-reference/bonus/bonus-accounting/get-v1-members-memberid-statements"},{"openapi":"openapi/bonus-v1.json GET /v1/members/{memberId}/statistics","title":"Get a customer's bonus statistics","description":"Your backend or the app calls this to show a customer how much bonus they earned over the last twelve months: by\ntype of bonus and month by month, with the percentages a chart needs. It reads the customer's active account and\ncounts final transactions of the bonus types your environment includes in statistics.\n \nThe period is the current month and the eleven before it, in your environment's time zone. From the first month\nthat has bonus on, a month without any is returned with zero.","href":"/api-reference/bonus/bonus-accounting/get-v1-members-memberid-statistics"},{"openapi":"openapi/bonus-v1.json POST /v1/members/{memberId}/accounts","title":"Create a customer account","description":"Your backend calls this to open the account a customer's bonus is kept on.\n \nThe call does not create a second account. When the customer already has an active account of the `accountType`,\nor an account with the `externalId` exists, the id of that account is returned and nothing is changed: the\nvalues in the request are not applied to it. That makes the call safe to repeat.\n \nWith an `Operation-Id` header the call is also idempotent on that id: a repeat with the same id returns the\nfirst answer, and the same id with other values is refused with `InconsistentRetry`.","href":"/api-reference/bonus/bonus-accounting/post-v1-members-memberid-accounts"},{"openapi":"openapi/bonus-v1.json POST /v1/members/{memberId}/activate","title":"Activate a customer's account","description":"Deprecated. Use `PATCH /v1/accounts/{accountId}` with `isActive` set to `true`.\n \nActivates the account the customer is linked to, so that it accepts transactions again. An account that is\nactive already is left as it is.","href":"/api-reference/bonus/bonus-accounting/post-v1-members-memberid-activate"},{"openapi":"openapi/bonus-v1.json POST /v1/members/{memberId}/bonuses","title":"Load bonus","description":"Deprecated. Use `POST /v1/members/{memberId}/transactions` with `instantCapture` set to `true`, which does the\nsame and can also set an expiry date.\n \nAdds bonus to the customer's active account at once, or takes it off with a negative `amount`. Where the account\ntype has a maximum balance, an amount that would exceed it is cut down to what still fits.\n \nThe call is idempotent on `operationId`: repeating it with the same id and the same values returns the first\nanswer and books nothing new, and the same id with another amount or type is refused with `InconsistentRetry`.","href":"/api-reference/bonus/bonus-accounting/post-v1-members-memberid-bonuses"},{"openapi":"openapi/bonus-v1.json POST /v1/members/{memberId}/changeAllowanceToSpend","title":"Allow or stop spending for a customer","description":"Deprecated. Use `PATCH /v1/accounts/{accountId}` with `isAllowedToSpend`.\n \nSets whether the bonus on the customer's active account can be spent in payments. Bonus can still be added to an\naccount that is not allowed to spend.","href":"/api-reference/bonus/bonus-accounting/post-v1-members-memberid-changeallowancetospend"},{"openapi":"openapi/bonus-v1.json POST /v1/members/{memberId}/deactivate","title":"Deactivate a customer's account","description":"Deprecated. Use `PATCH /v1/accounts/{accountId}` with `isActive` set to `false`.\n \nDeactivates the customer's active account, which then accepts no new transactions. Unlike the replacement, it\ndoes not look at the balance and cannot expire it. The call can be repeated: a customer without an active\naccount gets the same answer.","href":"/api-reference/bonus/bonus-accounting/post-v1-members-memberid-deactivate"},{"openapi":"openapi/bonus-v1.json POST /v1/members/{memberId}/payments","title":"Reserve a payment for a customer","description":"Deprecated. Use `POST /v1/payments`, which takes the `memberId` in the body and can also make the payment final\nat once.\n \nReserves bonus on the customer's active account for a payment. The amount leaves the available balance at once,\nand the transaction waits: capture it with `POST /v2/transactions/{id}/capture` when the purchase is final, or\nrelease it with `POST /v2/transactions/{id}/cancel`.\n \nThe account must be allowed to spend. With `reserveAvailable=true` a customer who has less than `amount`\navailable pays with all there is, and `reservedAmount` says how much that was. The call is idempotent on\n`operationId`: the same id with another amount or `reserveAvailable` is refused with `InconsistentRetry`.","href":"/api-reference/bonus/bonus-accounting/post-v1-members-memberid-payments"},{"openapi":"openapi/bonus-v1.json POST /v1/members/{memberId}/transactions","title":"Create a transaction for a customer","description":"Your backend calls this to add bonus to a customer's account, or to take bonus off it: for example to post an\naccrual your own system calculated. It books on the customer's active account. When you know the account by its\nid, or want to move bonus between two accounts, call `POST /v1/transactions`. To let a customer pay with bonus,\ncall `POST /v1/payments`: the types `Payment` and `Refund` are refused here.\n \nA positive `amount` adds bonus, a negative one takes it off. With `instantCapture` set to `true` the transaction\nis final at once. With `false` the amount is only reserved and the transaction waits: finish it with\n`POST /v2/transactions/{id}/capture` or `POST /v2/transactions/{id}/cancel`, or send `autoCaptureDate` and\nLobyco captures it at that time.\n \nWhere the account type has a maximum balance, an amount that would take the account over it is cut down to what\nstill fits, and the response's `amount` says how much was booked. An account that is already at its maximum\nrefuses the call with `AccountTypeMaxBalanceExceeded`. Taking bonus off is not checked against the balance,\nwhich can go below zero.\n \nThe call is idempotent on `operationId`: repeating it with the same id and the same values returns the first\nanswer and books nothing new. The same id with another customer, amount, type or `instantCapture` is refused\nwith `InconsistentRetry`.","href":"/api-reference/bonus/bonus-accounting/post-v1-members-memberid-transactions"},{"openapi":"openapi/bonus-v1.json GET /v1/transactions","title":"Find a transaction by operation id","description":"Your backend calls this to find out whether a create call went through, for example after a timeout: send the\n`operationId` of the request and get the transaction it created, if there is one. Its `transactionId` is what\nthe capture, cancel and refund calls take.\n \nThe answer is a list, because the id is a filter: it holds the one transaction that was created with this\n`operationId`, or nothing.","href":"/api-reference/bonus/bonus-accounting/get-v1-transactions"},{"openapi":"openapi/bonus-v1.json GET /v1/transactions/{id}","title":"Get a transaction","description":"Your backend calls this to see where a transaction stands before it captures, cancels or refunds it, or to check\nafterwards that an operation went through. Besides the state, it returns what can still be captured or cancelled\nin `remainingReservedAmount`, what can still be refunded in `remainingCapturedAmount`, and the operations so\nfar: the reservation, each capture and cancel and, for a payment, each refund.","href":"/api-reference/bonus/bonus-accounting/get-v1-transactions-id"},{"openapi":"openapi/bonus-v1.json POST /v1/transactions","title":"Create a transaction on an account","description":"Your backend calls this to add bonus to an account, or to take bonus off it, when it knows the account by its\n`accountId`: for example to post an accrual your own system calculated. To address the account through the\ncustomer, call `POST /v1/members/{memberId}/transactions`. To let a customer pay with bonus, call\n`POST /v1/payments`: the types `Payment` and `Refund` are refused here.\n \nA positive `amount` adds bonus to the account in `toAccountId`, a negative one takes it off. With\n`instantCapture` left at `true` the transaction is final at once. With `false` the amount is only reserved and\nthe transaction waits: finish it with `POST /v2/transactions/{id}/capture` or\n`POST /v2/transactions/{id}/cancel`, or send `autoCaptureDate` and Lobyco captures it at that time.\n \nWith `fromAccountId` the call moves bonus between two accounts: the amount comes from that account, never more\nthan it has available, and all it has available when `amount` is left out.\n \nWhere the account type has a maximum balance, an amount that would take the account over it is cut down to what\nstill fits, and the response's `amount` says how much was booked. An account that is already at its maximum\nrefuses the call with `AccountTypeMaxBalanceExceeded`. Taking bonus off is not checked against the balance,\nwhich can go below zero.\n \nThe call is idempotent on `operationId`: repeating it with the same id and the same values returns the first\nanswer and books nothing new. The same id with another account, amount, type or `instantCapture` is refused with\n`InconsistentRetry`.","href":"/api-reference/bonus/bonus-accounting/post-v1-transactions"},{"openapi":"openapi/bonus-v1.json POST /v1/transactions/{id}/cancel","title":"Cancel a transaction (v1)","description":"Your backend calls this to release everything a waiting transaction still has reserved, for example when a\npurchase is abandoned. A reserved payment goes back to the customer's available balance.\n`POST /v2/transactions/{id}/cancel` does the same and can also release a part.\n \nThe call can be repeated: a transaction that is cancelled already gets the same answer. A final transaction\ncannot be cancelled; pay a captured payment back with `POST /v2/transactions/{id}/refund`.","href":"/api-reference/bonus/bonus-accounting/post-v1-transactions-id-cancel"},{"openapi":"openapi/bonus-v1.json POST /v1/transactions/{id}/capture","title":"Capture a transaction (v1)","description":"Your backend calls this to make a waiting transaction final: everything it still has reserved is booked.\n`POST /v2/transactions/{id}/capture` does the same and can also capture a part, release the rest and add\nmetadata.\n \nThe call can be repeated: a transaction that is final already gets the same answer. A cancelled transaction\ncannot be captured.","href":"/api-reference/bonus/bonus-accounting/post-v1-transactions-id-capture"},{"openapi":"openapi/bonus-v1.json POST /v1/transactions/{id}/refund","title":"Refund a payment (v1)","description":"Your backend calls this to pay a captured payment back to the customer in full, for example when a whole\npurchase is returned. It creates a new transaction of the type `Refund` that puts what is left of the payment's\ncaptured amount back on the customer's account. For a partial refund, or to refund a transaction that is not a\npayment, use `POST /v2/transactions/{id}/refund`.\n \nThe customer's account must be active. A repeat never refunds twice: it returns the first refund, or is refused\nwith `NoCapturedAmountToRefund` once nothing is left to refund.","href":"/api-reference/bonus/bonus-accounting/post-v1-transactions-id-refund"},{"openapi":"openapi/bonus-v1.json POST /v2/transactions/{id}/cancel","title":"Cancel a transaction","description":"The POS or your backend calls this to release what a waiting transaction has reserved, for example when a\npurchase is abandoned or comes out cheaper than what was reserved. A reserved payment goes back to the\ncustomer's available balance. Without `amount` everything that is still reserved is released; with an `amount`\nonly that part.\n \nWhen nothing is left reserved the transaction becomes `Cancelled`, or `Successful` when a part of it was\ncaptured before. A final transaction cannot be cancelled; pay a captured payment back with\n`POST /v2/transactions/{id}/refund`.\n \nThe call is idempotent on `operationId` within the transaction: repeating it with the same id returns the first\nanswer, and the same id with another `amount` is refused with `InconsistentRetry`.","href":"/api-reference/bonus/bonus-accounting/post-v2-transactions-id-cancel"},{"openapi":"openapi/bonus-v1.json POST /v2/transactions/{id}/capture","title":"Capture a transaction","description":"The POS or your backend calls this when the purchase behind a waiting transaction is final, to book what was\nreserved. Without `amount` everything that is still reserved is captured. With an `amount` only that part is\ncaptured, and the rest stays reserved for a later capture or cancel, unless `cancelRemainingAmount` is `true`,\nwhich releases the rest in the same call. When nothing is left reserved the transaction becomes `Successful`.\n \n`metadata` adds key-value pairs to the transaction, for example a `receiptId` that is known only now. A key the\ntransaction has already cannot be changed here.\n \nThe call is idempotent on `operationId` within the transaction: repeating it with the same id returns the first\nanswer, and the same id with another `amount` is refused with `InconsistentRetry`. Use a new id for each partial\ncapture.","href":"/api-reference/bonus/bonus-accounting/post-v2-transactions-id-capture"},{"openapi":"openapi/bonus-v1.json POST /v2/transactions/{id}/refund","title":"Refund a transaction","description":"The POS or your backend calls this to reverse a captured transaction in full or in part, typically to pay a\nbonus payment back when goods are returned. It creates a new transaction that moves the bonus the other way: a\nrefunded payment puts bonus back on the customer's account, a refunded accrual takes it off.\n \nWithout `amount` everything that is captured and not refunded yet is reversed. With an `amount` only that part\nis, and the response's `remainingCapturedAmount` says what can still be refunded. The refund has the type in\n`refundTransactionType`; left out, a payment is refunded as `Refund` and any other transaction as its own type.\nIt carries the original transaction's metadata, with the pairs in `metadata` added and, for a key both have,\nreplacing the original's.\n \nOnly a captured transaction can be refunded. One that is still waiting is refused, and so are a cancelled one, a\nrefund itself and a transfer between two accounts. The customer's account must be active.\n \nSend an `operationId` with every refund, and a new one each time: a repeat with the same id returns the first\nrefund, and the same id with another `amount` or type is refused with `InconsistentRetry`. Two refunds of one\ntransaction without an id count as the same request.","href":"/api-reference/bonus/bonus-accounting/post-v2-transactions-id-refund"},{"openapi":"openapi/bonus-v1.json PATCH /v1/transactions/{id}","title":"Update a transaction's metadata","description":"Your backend calls this to change the key-value pairs kept with a transaction, for example to add a `receiptId`\nthat was not known when the transaction was created. Nothing else about a transaction can be changed.\n \nThe `metadata` you send replaces everything that was stored, so a key you leave out is removed. To keep the\nexisting pairs, read them with `GET /v1/transactions/{id}`, change what you need and send them all back.\nStatements show the new values.\n \nLobyco keeps pairs of its own there: `memberId` on a transaction that was created through a customer, and\n`conversionRate` on a payment. Send them back unchanged. Without `conversionRate` a payment's amount on\nstatements is no longer multiplied by its rate.","href":"/api-reference/bonus/bonus-accounting/patch-v1-transactions-id"},{"openapi":"openapi/bonus-v1.json POST /v1/payments","title":"Create a payment","description":"The POS or your backend calls this when a customer pays with bonus. It takes the `amount` off the customer's\nactive account as a transaction of the type `Payment`.\n \nWith `instantCapture=false` the amount is reserved first. It leaves the available balance at once, and the\ntransaction waits until you capture it with `POST /v2/transactions/{id}/capture`, when the purchase is final, or\nrelease it with `POST /v2/transactions/{id}/cancel`. With `instantCapture=true` the payment is final at once. To\npay bonus back after a return, call `POST /v2/transactions/{id}/refund`.\n \nThe account must be allowed to spend and must have the bonus available. With `reserveAvailable=true` a customer\nwho has less than `amount` available pays with all there is, and the response's `amount` says how much that was.\nWith `false` the call is refused with `NotEnoughMoney`.\n \nThe call is idempotent on `operationId`: repeating it with the same id and the same values returns the first\nanswer and takes nothing twice. The same id with another customer, amount, `reserveAvailable` or\n`instantCapture` is refused with `InconsistentRetry`.","href":"/api-reference/bonus/bonus-accounting/post-v1-payments"}]},{"group":"Bonus Calculation","root":{"title":"Bonus Calculation","href":"/api-reference/bonus/bonus-calculation"},"pages":[{"openapi":"openapi/bonus-calculation-v1.json POST /v1/campaigns/{id}/files/{fileType}","title":"Upload product filter","description":"Uploads a file for the specified bonus campaign and updates the campaign's associated file reference based on the specified CampaignFileType.\nSupported file types vary depending on the BonusType of the campaign. Upload will fail if the selected fileType is not \ncompatible with the campaign's bonus type.\n\n\nSupported files types for bonus types: \n\n1. ProductBonus: Percentage, FixedPrice \n\n2. BasketBonus: ExcludedProductIds, ExcludedCategories \n\n3. LocalBonus: ProductIds, ExcludedCategories","href":"/api-reference/bonus/bonus-calculation/post-v1-campaigns-id-files-filetype"}]}]},{"group":"Communication","root":{"title":"Communication","href":"/api-reference/communication"},"pages":[{"group":"Banner","root":{"title":"Banner","href":"/api-reference/communication/banner"},"pages":[{"openapi":"openapi/banner-v1.json GET /v1/banners","title":"Get available banners","href":"/api-reference/communication/banner/get-v1-banners"},{"openapi":"openapi/banner-v1.json GET /v2/banners","title":"Get available banners.","href":"/api-reference/communication/banner/get-v2-banners"}]},{"group":"Customer Feedback","root":{"title":"Customer Feedback","href":"/api-reference/communication/customer-feedback"},"pages":[{"group":"Feedback","pages":[{"openapi":"openapi/customerfeedback-v1.json GET /v1/Feedback","title":"Get feedback by receipt unique identifier","href":"/api-reference/communication/customer-feedback/get-v1-feedback"},{"openapi":"openapi/customerfeedback-v1.json GET /v1/Feedback/recent","title":"Get recent feedback","href":"/api-reference/communication/customer-feedback/get-v1-feedback-recent"},{"openapi":"openapi/customerfeedback-v1.json GET /v1/Feedback/state","title":"Get feedback state","href":"/api-reference/communication/customer-feedback/get-v1-feedback-state"},{"openapi":"openapi/customerfeedback-v1.json POST /v1/Feedback","title":"Create feedback","href":"/api-reference/communication/customer-feedback/post-v1-feedback"},{"openapi":"openapi/customerfeedback-v1.json PUT /v1/Feedback","title":"Update feedback","href":"/api-reference/communication/customer-feedback/put-v1-feedback"},{"openapi":"openapi/customerfeedback-v1.json PATCH /v1/Feedback/complete","title":"Complete feedback","href":"/api-reference/communication/customer-feedback/patch-v1-feedback-complete"},{"openapi":"openapi/customerfeedback-v1.json DELETE /v1/Feedback","title":"Delete feedback","href":"/api-reference/communication/customer-feedback/delete-v1-feedback"}]},{"group":"Reports","pages":[{"openapi":"openapi/customerfeedback-v1.json GET /v1/Feedback/aggregate_report","title":"Get aggregate report","href":"/api-reference/communication/customer-feedback/get-v1-feedback-aggregate-report"},{"openapi":"openapi/customerfeedback-v1.json GET /v1/Feedback/report","title":"Get daily report","href":"/api-reference/communication/customer-feedback/get-v1-feedback-report"},{"openapi":"openapi/customerfeedback-v1.json POST /v1/Feedback/report","title":"Upload report","href":"/api-reference/communication/customer-feedback/post-v1-feedback-report"}]},{"group":"Configuration","pages":[{"openapi":"openapi/customerfeedback-v1.json GET /v1/Feedback/options/{chainId}","title":"Get predefined options by chain","href":"/api-reference/communication/customer-feedback/get-v1-feedback-options-chainid"}]}]},{"group":"Feed","root":{"title":"Feed","href":"/api-reference/communication/feed"},"pages":[{"group":"Content items","pages":[{"openapi":"openapi/feed-v1.json GET /v1/Content","title":"Get a content item","href":"/api-reference/communication/feed/get-v1-content"},{"openapi":"openapi/feed-v1.json GET /v1/Content/filter","title":"Get list of content items","href":"/api-reference/communication/feed/get-v1-content-filter"},{"openapi":"openapi/feed-v1.json POST /v1/Content","title":"Create content item","href":"/api-reference/communication/feed/post-v1-content"},{"openapi":"openapi/feed-v1.json PUT /v1/Content","title":"Update content item","href":"/api-reference/communication/feed/put-v1-content"},{"openapi":"openapi/feed-v1.json PATCH /v1/Content/{id}/enable","title":"Enable content item","href":"/api-reference/communication/feed/patch-v1-content-id-enable"},{"openapi":"openapi/feed-v1.json DELETE /v1/Content","title":"Delete content item","href":"/api-reference/communication/feed/delete-v1-content"}]},{"group":"Publishing","pages":[{"openapi":"openapi/feed-v1.json PATCH /v1/Feed/externalId/{externalId}/publish","title":"Publish a content feed","href":"/api-reference/communication/feed/patch-v1-feed-externalid-externalid-publish"},{"openapi":"openapi/feed-v1.json PATCH /v1/Feed/externalId/{externalId}/unpublish","title":"Unpublish a content feed","href":"/api-reference/communication/feed/patch-v1-feed-externalid-externalid-unpublish"}]}]},{"group":"Prompt","root":{"title":"Prompt","href":"/api-reference/communication/prompt"},"pages":[{"group":"Availability","pages":[{"openapi":"openapi/prompt-v1.json GET /core/v1/interaction/available","title":"Get URL to prompt web view.","href":"/api-reference/communication/prompt/get-core-v1-interaction-available"},{"openapi":"openapi/prompt-v1.json GET /core/v1/interaction/available/details","title":"Get available prompts.","href":"/api-reference/communication/prompt/get-core-v1-interaction-available-details"}]},{"group":"Interactions","pages":[{"openapi":"openapi/prompt-v1.json POST /core/v1/interaction/{id}/accept","title":"Accept prompt.","href":"/api-reference/communication/prompt/post-core-v1-interaction-id-accept"},{"openapi":"openapi/prompt-v1.json POST /core/v1/interaction/{id}/decline","title":"Decline or close prompt.","href":"/api-reference/communication/prompt/post-core-v1-interaction-id-decline"}]},{"group":"Administration","pages":[{"openapi":"openapi/prompt-v1.json POST /s2s/v1/prompt","title":"Upsert prompt","href":"/api-reference/communication/prompt/post-s2s-v1-prompt"}]}]},{"group":"Push","root":{"title":"Push","href":"/api-reference/communication/push"},"pages":[{"group":"Notifications","pages":[{"openapi":"openapi/push-v1.json GET /v1/Notification/{externalId}","title":"Get push notification","href":"/api-reference/communication/push/get-v1-notification-externalid"},{"openapi":"openapi/push-v1.json POST /v1/Notification","title":"Create push notification.","href":"/api-reference/communication/push/post-v1-notification"},{"openapi":"openapi/push-v1.json PUT /v1/Notification","title":"Update push notification.","href":"/api-reference/communication/push/put-v1-notification"},{"openapi":"openapi/push-v1.json DELETE /v1/Notification/{externalId}","title":"Delete push notification","href":"/api-reference/communication/push/delete-v1-notification-externalid"}]},{"group":"Sending","pages":[{"openapi":"openapi/push-v1.json POST /v1/Campaign/notifications/send","title":"Create notification","href":"/api-reference/communication/push/post-v1-campaign-notifications-send"},{"openapi":"openapi/push-v1.json POST /v2/Campaign/notifications/send","title":"Create notification campaign","href":"/api-reference/communication/push/post-v2-campaign-notifications-send"}]},{"group":"Device subscriptions","pages":[{"openapi":"openapi/push-v1.json POST /v1/customers/{customerId}/subscription","title":"Subscribe device","href":"/api-reference/communication/push/post-v1-customers-customerid-subscription"},{"openapi":"openapi/push-v1.json DELETE /v1/customers/{customerId}/subscription","title":"Unsubscribes a device","href":"/api-reference/communication/push/delete-v1-customers-customerid-subscription"}]}]}]},{"group":"Delta Sharing Protocol","root":{"title":"Delta Sharing Protocol","href":"/api-reference/delta-sharing-protocol"},"pages":[{"group":"Shares","root":{"title":"Shares","href":"/api-reference/delta-sharing-protocol/shares"},"pages":[{"openapi":"openapi/delta-sharing-v0-2.yaml GET /shares","title":"List the shares accessible to the recipient","href":"/api-reference/delta-sharing-protocol/shares/get-shares"},{"openapi":"openapi/delta-sharing-v0-2.yaml GET /shares/{share}","title":"get the metadata of a share","href":"/api-reference/delta-sharing-protocol/shares/get-shares-share"},{"openapi":"openapi/delta-sharing-v0-2.yaml GET /shares/{share}/all-tables","title":"List the tables under all schemas in a share","href":"/api-reference/delta-sharing-protocol/shares/get-shares-share-all-tables"},{"openapi":"openapi/delta-sharing-v0-2.yaml GET /shares/{share}/schemas","title":"List the schemas in a share","href":"/api-reference/delta-sharing-protocol/shares/get-shares-share-schemas"}]},{"group":"Schemas","root":{"title":"Schemas","href":"/api-reference/delta-sharing-protocol/schemas"},"pages":[{"openapi":"openapi/delta-sharing-v0-2.yaml GET /shares/{share}/schemas/{schema}/tables","title":"List the tables in a given share's schema","href":"/api-reference/delta-sharing-protocol/schemas/get-shares-share-schemas-schema-tables"}]},{"group":"Tables","root":{"title":"Tables","href":"/api-reference/delta-sharing-protocol/tables"},"pages":[{"openapi":"openapi/delta-sharing-v0-2.yaml GET /shares/{share}/schemas/{schema}/tables/{table}/changes","title":"Read Change Data Feed from a Table","href":"/api-reference/delta-sharing-protocol/tables/get-shares-share-schemas-schema-tables-table-changes"},{"openapi":"openapi/delta-sharing-v0-2.yaml GET /shares/{share}/schemas/{schema}/tables/{table}/metadata","title":"Query the metadata and schema of the given table","href":"/api-reference/delta-sharing-protocol/tables/get-shares-share-schemas-schema-tables-table-metadata"},{"openapi":"openapi/delta-sharing-v0-2.yaml GET /shares/{share}/schemas/{schema}/tables/{table}/version","title":"Return the table version","href":"/api-reference/delta-sharing-protocol/tables/get-shares-share-schemas-schema-tables-table-version"},{"openapi":"openapi/delta-sharing-v0-2.yaml POST /shares/{share}/schemas/{schema}/tables/{table}/query","title":"Query the table","href":"/api-reference/delta-sharing-protocol/tables/post-shares-share-schemas-schema-tables-table-query"}]}]},{"group":"Digital Receipts","root":{"title":"Digital Receipts","href":"/api-reference/digital-receipts"},"pages":[{"group":"Receipts","root":{"title":"Receipts","href":"/api-reference/digital-receipts/receipts"},"pages":[{"openapi":"openapi/receipts-v1.json GET /v1/receipts","title":"Get receipts.","href":"/api-reference/digital-receipts/receipts/get-v1-receipts"},{"openapi":"openapi/receipts-v1.json GET /v1/receipts/{receiptId}","title":"Get receipt in HTML format.","href":"/api-reference/digital-receipts/receipts/get-v1-receipts-receiptid"},{"openapi":"openapi/receipts-v1.json GET /v1/receipts/{receiptId}/barcode","title":"Get barcode.","href":"/api-reference/digital-receipts/receipts/get-v1-receipts-receiptid-barcode"}]}]},{"group":"Data Import","root":{"title":"Data Import","href":"/api-reference/data-import"},"pages":[{"group":"Jobs V1","root":{"title":"Jobs V1","href":"/api-reference/data-import/jobs-v1"},"pages":[{"openapi":"openapi/dataimport-v1.json POST /v1/Jobs","sidebarTitle":"POST /v1/Jobs","title":null,"href":"/api-reference/data-import/jobs-v1/post-v1-jobs"},{"openapi":"openapi/dataimport-v1.json POST /v1/Jobs/{jobId}/batch","sidebarTitle":"POST /v1/Jobs/{jobId}/batch","title":null,"href":"/api-reference/data-import/jobs-v1/post-v1-jobs-jobid-batch"},{"openapi":"openapi/dataimport-v1.json GET /v1/Jobs/{jobId}","sidebarTitle":"GET /v1/Jobs/{jobId}","title":null,"href":"/api-reference/data-import/jobs-v1/get-v1-jobs-jobid"},{"openapi":"openapi/dataimport-v1.json GET /v1/Jobs/{jobId}/errors","sidebarTitle":"GET /v1/Jobs/{jobId}/errors","title":null,"href":"/api-reference/data-import/jobs-v1/get-v1-jobs-jobid-errors"},{"openapi":"openapi/dataimport-v1.json DELETE /v1/Jobs/{jobId}","sidebarTitle":"DELETE /v1/Jobs/{jobId}","title":null,"href":"/api-reference/data-import/jobs-v1/delete-v1-jobs-jobid"}]},{"group":"Jobs V2","root":{"title":"Jobs V2","href":"/api-reference/data-import/jobs-v2"},"pages":[{"openapi":"openapi/dataimport-v2.json POST /v2/Jobs","sidebarTitle":"POST /v2/Jobs","title":null,"href":"/api-reference/data-import/jobs-v2/post-v2-jobs"}]}]},{"group":"Loyalty \u0026 Membership","root":{"title":"Loyalty \u0026 Membership","href":"/api-reference/loyalty-and-membership"},"pages":[{"group":"Members","root":{"title":"Members","href":"/api-reference/loyalty-and-membership/members"},"pages":[{"group":"Members","pages":[{"openapi":"openapi/member-v1.json GET /v1/members/{memberId}","title":"Returns information about a specific member","href":"/api-reference/loyalty-and-membership/members/get-v1-members-memberid"},{"openapi":"openapi/member-v1.json GET /v1/members/search","title":"Searches members by a specific property","href":"/api-reference/loyalty-and-membership/members/get-v1-members-search"},{"openapi":"openapi/member-v1.json POST /v1/members/import","title":"Imports or updates members.","href":"/api-reference/loyalty-and-membership/members/post-v1-members-import"},{"openapi":"openapi/member-v1.json PUT /v1/members/{memberId}/activate","title":"Activates a member account","href":"/api-reference/loyalty-and-membership/members/put-v1-members-memberid-activate"},{"openapi":"openapi/member-v1.json PUT /v1/members/{memberId}/deactivate","title":"Deactivates a member account","href":"/api-reference/loyalty-and-membership/members/put-v1-members-memberid-deactivate"},{"openapi":"openapi/member-v1.json PATCH /v1/members/{memberId}","title":"Updates member properties.","href":"/api-reference/loyalty-and-membership/members/patch-v1-members-memberid"},{"openapi":"openapi/member-v1.json DELETE /v1/members/{memberId}","title":"Deletes a member and anonymizes their data","href":"/api-reference/loyalty-and-membership/members/delete-v1-members-memberid"}]},{"group":"Loyalty cards","pages":[{"openapi":"openapi/member-v1.json GET /v1/loyalty-cards","title":"Finds loyalty cards by member ID and state","href":"/api-reference/loyalty-and-membership/members/get-v1-loyalty-cards"},{"openapi":"openapi/member-v1.json POST /v1/loyalty-cards","title":"Creates a new loyalty card","href":"/api-reference/loyalty-and-membership/members/post-v1-loyalty-cards"},{"openapi":"openapi/member-v1.json POST /v1/loyalty-cards/{memberId}/deactivate","title":"Deactivates all active loyalty cards for a member","href":"/api-reference/loyalty-and-membership/members/post-v1-loyalty-cards-memberid-deactivate"},{"openapi":"openapi/member-v1.json POST /v1/loyalty-cards/import","title":"Imports or updates loyalty cards","href":"/api-reference/loyalty-and-membership/members/post-v1-loyalty-cards-import"},{"openapi":"openapi/member-v1.json PUT /v1/loyalty-cards/{cardId}","title":"Updates loyalty card properties","href":"/api-reference/loyalty-and-membership/members/put-v1-loyalty-cards-cardid"}]},{"group":"Linked members","pages":[{"openapi":"openapi/member-v1.json GET /v1/linked-members/{memberId}","title":"Returns both primary and related member links","href":"/api-reference/loyalty-and-membership/members/get-v1-linked-members-memberid"},{"openapi":"openapi/member-v1.json POST /v1/linked-members","title":"Creates a new link between primary and related member","href":"/api-reference/loyalty-and-membership/members/post-v1-linked-members"},{"openapi":"openapi/member-v1.json POST /v1/linked-members/import","title":"Imports multiple linked member relationships","href":"/api-reference/loyalty-and-membership/members/post-v1-linked-members-import"},{"openapi":"openapi/member-v1.json DELETE /v1/linked-members","title":"Removes link between members for the specified relationship type","href":"/api-reference/loyalty-and-membership/members/delete-v1-linked-members"}]},{"group":"Custom properties","pages":[{"openapi":"openapi/member-v1.json GET /v1/custom-properties/definitions","title":"Lists all registered custom property definitions","href":"/api-reference/loyalty-and-membership/members/get-v1-custom-properties-definitions"},{"openapi":"openapi/member-v1.json POST /v1/custom-properties/definitions","title":"Registers one or more custom property definitions","href":"/api-reference/loyalty-and-membership/members/post-v1-custom-properties-definitions"},{"openapi":"openapi/member-v1.json DELETE /v1/custom-properties/definitions/{name}","title":"Removes a custom property definition. Blocked if any member values are associated with it.","href":"/api-reference/loyalty-and-membership/members/delete-v1-custom-properties-definitions-name"}]},{"group":"Employee bonuses","pages":[{"openapi":"openapi/member-v1.json GET /v1/employee-bonuses/{memberId}","title":"Returns employee bonus information at a specific date and time","href":"/api-reference/loyalty-and-membership/members/get-v1-employee-bonuses-memberid"},{"openapi":"openapi/member-v1.json GET /v2/employee-bonuses/{memberId}","title":"Returns all employee bonus information by member ID","href":"/api-reference/loyalty-and-membership/members/get-v2-employee-bonuses-memberid"},{"openapi":"openapi/member-v1.json POST /v1/employee-bonuses/upsert","title":"Imports or updates employee bonuses compatible with data import service","href":"/api-reference/loyalty-and-membership/members/post-v1-employee-bonuses-upsert"}]}]},{"group":"Consent","root":{"title":"Consent","href":"/api-reference/loyalty-and-membership/consent"},"pages":[{"group":"Consents","pages":[{"openapi":"openapi/consent-v1.json GET /v1/Consents/{id}","title":"Get single consent by id","href":"/api-reference/loyalty-and-membership/consent/get-v1-consents-id"},{"openapi":"openapi/consent-v1.json GET /v1/Consents/all","title":"Gets list of all consents for user.","href":"/api-reference/loyalty-and-membership/consent/get-v1-consents-all"},{"openapi":"openapi/consent-v1.json GET /v1/Consents/latest","title":"Gets latest available consent by key","href":"/api-reference/loyalty-and-membership/consent/get-v1-consents-latest"},{"openapi":"openapi/consent-v1.json GET /v1/Consents/latest/all","title":"Gets list of available consents for user.","href":"/api-reference/loyalty-and-membership/consent/get-v1-consents-latest-all"},{"openapi":"openapi/consent-v1.json POST /v1/Consents/latest","title":"Gets list of available consents for user by keys","href":"/api-reference/loyalty-and-membership/consent/post-v1-consents-latest"},{"openapi":"openapi/consent-v1.json POST /v1/Consents/searches","title":"Get consents items by query","href":"/api-reference/loyalty-and-membership/consent/post-v1-consents-searches"}]},{"group":"User consents","pages":[{"openapi":"openapi/consent-v1.json GET /v1/UserConsents/all","title":"Returns a list of all user consents. Can be filtered by Active flag.","href":"/api-reference/loyalty-and-membership/consent/get-v1-userconsents-all"},{"openapi":"openapi/consent-v1.json POST /v1/UserConsents/activate","title":"Activates user consent","href":"/api-reference/loyalty-and-membership/consent/post-v1-userconsents-activate"},{"openapi":"openapi/consent-v1.json POST /v1/UserConsents/activate/bulk","title":"Activates member consents","href":"/api-reference/loyalty-and-membership/consent/post-v1-userconsents-activate-bulk"},{"openapi":"openapi/consent-v1.json POST /v1/UserConsents/reject","title":"Withdraws user consent even when it was not accepted before","href":"/api-reference/loyalty-and-membership/consent/post-v1-userconsents-reject"},{"openapi":"openapi/consent-v1.json POST /v1/UserConsents/withdraw","title":"Withdraws user consent","href":"/api-reference/loyalty-and-membership/consent/post-v1-userconsents-withdraw"},{"openapi":"openapi/consent-v1.json POST /v1/UserConsents/withdraw/bulk","title":"Withdraws member consents","href":"/api-reference/loyalty-and-membership/consent/post-v1-userconsents-withdraw-bulk"},{"openapi":"openapi/consent-v1.json PUT /v1/UserConsents/metadata","title":"Updates the metadata of a user consent","href":"/api-reference/loyalty-and-membership/consent/put-v1-userconsents-metadata"}]}]}]},{"group":"Payments","root":{"title":"Payments","href":"/api-reference/payments"},"pages":[{"group":"Payment Coordinator","root":{"title":"Payment Coordinator","href":"/api-reference/payments/payment-coordinator"},"pages":[{"group":"Payment locations","pages":[{"openapi":"openapi/payment-v1.json GET /v1/payment-locations/{paymentLocationId}","title":"Get payment location details","href":"/api-reference/payments/payment-coordinator/get-v1-payment-locations-paymentlocationid"},{"openapi":"openapi/payment-v1.json POST /v1/payment-locations/{paymentLocation}/setup","title":"Set up payment location.","href":"/api-reference/payments/payment-coordinator/post-v1-payment-locations-paymentlocation-setup"}]},{"group":"Check-in","pages":[{"openapi":"openapi/payment-v1.json GET /v1/checkin/{paymentLocation}","title":"Get check-ins","href":"/api-reference/payments/payment-coordinator/get-v1-checkin-paymentlocation"},{"openapi":"openapi/payment-v1.json GET /v1/checkin/code/{checkInCodeId}","title":"Get reverse check-in code details by id","href":"/api-reference/payments/payment-coordinator/get-v1-checkin-code-checkincodeid"},{"openapi":"openapi/payment-v1.json POST /v1/checkin/{paymentLocation}","title":"Register member at payment location","href":"/api-reference/payments/payment-coordinator/post-v1-checkin-paymentlocation"},{"openapi":"openapi/payment-v1.json POST /v1/checkin/{paymentLocation}/clear","title":"Clear check-in","href":"/api-reference/payments/payment-coordinator/post-v1-checkin-paymentlocation-clear"},{"openapi":"openapi/payment-v1.json POST /v1/checkin/{paymentLocation}/register-member","title":"Check for registered member at payment location","href":"/api-reference/payments/payment-coordinator/post-v1-checkin-paymentlocation-register-member"},{"openapi":"openapi/payment-v1.json POST /v1/checkin/code","title":"Generate reverse check-in code","href":"/api-reference/payments/payment-coordinator/post-v1-checkin-code"},{"openapi":"openapi/payment-v1.json POST /v2/checkin/{paymentLocation}","title":"Register member at payment location - v2","href":"/api-reference/payments/payment-coordinator/post-v2-checkin-paymentlocation"},{"openapi":"openapi/payment-v1.json POST /v2/checkin/{paymentLocation}/register-member","title":"Check for registered member at payment location - v2","href":"/api-reference/payments/payment-coordinator/post-v2-checkin-paymentlocation-register-member"}]},{"group":"Payments","pages":[{"openapi":"openapi/payment-v1.json GET /v1/payments","title":"Get payments","href":"/api-reference/payments/payment-coordinator/get-v1-payments"},{"openapi":"openapi/payment-v1.json GET /v1/payments/{paymentId}","title":"Get payment state","href":"/api-reference/payments/payment-coordinator/get-v1-payments-paymentid"},{"openapi":"openapi/payment-v1.json GET /v2/payments/{paymentId}","title":"Get payment","href":"/api-reference/payments/payment-coordinator/get-v2-payments-paymentid"},{"openapi":"openapi/payment-v1.json POST /v1/payments","title":"Create POS payment","href":"/api-reference/payments/payment-coordinator/post-v1-payments"},{"openapi":"openapi/payment-v1.json POST /v1/payments/{paymentId}/cancel","title":"Cancel payment","href":"/api-reference/payments/payment-coordinator/post-v1-payments-paymentid-cancel"},{"openapi":"openapi/payment-v1.json POST /v1/payments/{paymentId}/capture","title":"Capture payment","href":"/api-reference/payments/payment-coordinator/post-v1-payments-paymentid-capture"},{"openapi":"openapi/payment-v1.json POST /v1/payments/{paymentId}/refund","title":"Refund payment","href":"/api-reference/payments/payment-coordinator/post-v1-payments-paymentid-refund"},{"openapi":"openapi/payment-v1.json POST /v1/payments/external-action","title":"External Action Callback","href":"/api-reference/payments/payment-coordinator/post-v1-payments-external-action"},{"openapi":"openapi/payment-v1.json POST /v1/payments/init","title":"Init payment","href":"/api-reference/payments/payment-coordinator/post-v1-payments-init"},{"openapi":"openapi/payment-v1.json POST /v2/payments","title":"Create payment - v2","href":"/api-reference/payments/payment-coordinator/post-v2-payments"},{"openapi":"openapi/payment-v1.json POST /v2/payments/{paymentId}/capture","title":"Capture payment - v2","href":"/api-reference/payments/payment-coordinator/post-v2-payments-paymentid-capture"}]}]}]},{"group":"Promotion Platform","root":{"title":"Promotion Platform","href":"/api-reference/promotion-platform"},"pages":[{"group":"Offers V2","root":{"title":"Offers V2","href":"/api-reference/promotion-platform/offers-v2"},"pages":[{"openapi":"openapi/promotion-v2.json GET /v2/campaigns","title":"Get offers by filters","href":"/api-reference/promotion-platform/offers-v2/get-v2-campaigns"},{"openapi":"openapi/promotion-v2.json GET /v2/campaigns/{campaignId}","title":"Get offer by id","href":"/api-reference/promotion-platform/offers-v2/get-v2-campaigns-campaignid"},{"openapi":"openapi/promotion-v2.json POST /v2/campaigns","title":"Upsert offer","href":"/api-reference/promotion-platform/offers-v2/post-v2-campaigns"},{"openapi":"openapi/promotion-v2.json POST /v2/campaigns/file","title":"Upload an image","href":"/api-reference/promotion-platform/offers-v2/post-v2-campaigns-file"},{"openapi":"openapi/promotion-v2.json DELETE /v2/campaigns/{offerId}","title":"Mark offer as deleted","href":"/api-reference/promotion-platform/offers-v2/delete-v2-campaigns-offerid"}]},{"group":"Offers V3","root":{"title":"Offers V3","href":"/api-reference/promotion-platform/offers-v3"},"pages":[{"openapi":"openapi/promotion-v3.json GET /v3/offers","title":"Get offers by filters","href":"/api-reference/promotion-platform/offers-v3/get-v3-offers"},{"openapi":"openapi/promotion-v3.json GET /v3/offers/{offerId}","title":"Get offer by id","href":"/api-reference/promotion-platform/offers-v3/get-v3-offers-offerid"},{"openapi":"openapi/promotion-v3.json GET /v3/offers/types","title":"Get all available offer types","href":"/api-reference/promotion-platform/offers-v3/get-v3-offers-types"},{"openapi":"openapi/promotion-v3.json POST /v3/offers","title":"Upsert offer","href":"/api-reference/promotion-platform/offers-v3/post-v3-offers"},{"openapi":"openapi/promotion-v3.json DELETE /v3/offers/{offerId}","title":"Mark offer as deleted","href":"/api-reference/promotion-platform/offers-v3/delete-v3-offers-offerid"}]},{"group":"Personal Offers V3","root":{"title":"Personal Offers V3","href":"/api-reference/promotion-platform/personal-offers-v3"},"pages":[{"openapi":"openapi/promotion-v3.json GET /v3/personaloffers/status","title":"Get import job status","href":"/api-reference/promotion-platform/personal-offers-v3/get-v3-personaloffers-status"},{"openapi":"openapi/promotion-v3.json POST /v3/personaloffers","title":"Start a personal offers import","href":"/api-reference/promotion-platform/personal-offers-v3/post-v3-personaloffers"},{"openapi":"openapi/promotion-v3.json POST /v3/personaloffers/bulk","title":"Import personal offer coupons","href":"/api-reference/promotion-platform/personal-offers-v3/post-v3-personaloffers-bulk"},{"openapi":"openapi/promotion-v3.json POST /v3/personaloffers/finish-bulk","title":"Finish an import","href":"/api-reference/promotion-platform/personal-offers-v3/post-v3-personaloffers-finish-bulk"},{"openapi":"openapi/promotion-v3.json DELETE /v3/personaloffers","title":"Cancel an import","href":"/api-reference/promotion-platform/personal-offers-v3/delete-v3-personaloffers"}]},{"group":"Bulk V2","root":{"title":"Bulk V2","href":"/api-reference/promotion-platform/bulk-v2"},"pages":[{"openapi":"openapi/promotion-v2.json POST /v2/bulk/campaigns","title":"Import offers","href":"/api-reference/promotion-platform/bulk-v2/post-v2-bulk-campaigns"},{"openapi":"openapi/promotion-v2.json POST /v2/groups","title":"Upsert offers group","href":"/api-reference/promotion-platform/bulk-v2/post-v2-groups"}]},{"group":"Bulk V3","root":{"title":"Bulk V3","href":"/api-reference/promotion-platform/bulk-v3"},"pages":[{"openapi":"openapi/promotion-v3.json POST /v3/bulk/offers","title":"Import offers","href":"/api-reference/promotion-platform/bulk-v3/post-v3-bulk-offers"}]},{"group":"Coupons (Web \u0026 Mobile) V2","root":{"title":"Coupons (Web \u0026 Mobile) V2","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v2"},"pages":[{"openapi":"openapi/promotion-v2.json GET /v2/coupons","title":"Get customer coupons","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v2/get-v2-coupons"},{"openapi":"openapi/promotion-v2.json POST /v2/coupons/{couponId}/activate","title":"Activate coupon","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v2/post-v2-coupons-couponid-activate"},{"openapi":"openapi/promotion-v2.json POST /v2/coupons/{couponId}/deactivate","title":"Deactivate coupon","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v2/post-v2-coupons-couponid-deactivate"},{"openapi":"openapi/promotion-v2.json POST /v2/coupons/assign","title":"Create coupon","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v2/post-v2-coupons-assign"}]},{"group":"Coupons (Web \u0026 Mobile) V3","root":{"title":"Coupons (Web \u0026 Mobile) V3","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v3"},"pages":[{"openapi":"openapi/promotion-v3.json GET /v3/customers/{customerId}/coupons","title":"Get customer coupons","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v3/get-v3-customers-customerid-coupons"},{"openapi":"openapi/promotion-v3.json GET /v3/customers/{customerId}/coupons/{couponId}","title":"Get coupon by id","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v3/get-v3-customers-customerid-coupons-couponid"},{"openapi":"openapi/promotion-v3.json POST /v3/customers/{customerId}/coupons/{couponId}/activate","title":"Activate coupon","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v3/post-v3-customers-customerid-coupons-couponid-activate"},{"openapi":"openapi/promotion-v3.json POST /v3/customers/{customerId}/coupons/{couponId}/deactivate","title":"Deactivate coupon","href":"/api-reference/promotion-platform/coupons-web-and-mobile-v3/post-v3-customers-customerid-coupons-couponid-deactivate"}]},{"group":"Coupons (POS)","root":{"title":"Coupons (POS)","href":"/api-reference/promotion-platform/coupons-pos"},"pages":[{"openapi":"openapi/coupon-v1.json GET /api/v1/customers/{customerId}/coupons","title":"Get customer coupons (v1)","href":"/api-reference/promotion-platform/coupons-pos/get-api-v1-customers-customerid-coupons"},{"openapi":"openapi/coupon-v1.json GET /v2/customers/{customerId}/coupons","title":"Get customer coupons","href":"/api-reference/promotion-platform/coupons-pos/get-v2-customers-customerid-coupons"},{"openapi":"openapi/coupon-v1.json POST /api/v1/customers/{customerId}/coupons/reserve","title":"Reserve coupons","href":"/api-reference/promotion-platform/coupons-pos/post-api-v1-customers-customerid-coupons-reserve"},{"openapi":"openapi/coupon-v1.json POST /api/v1/customers/{customerId}/coupons/cancel-reservation","title":"Cancel coupon reservation","href":"/api-reference/promotion-platform/coupons-pos/post-api-v1-customers-customerid-coupons-cancel-reservation"},{"openapi":"openapi/coupon-v1.json POST /api/v1/customers/{customerId}/coupons/redeem","title":"Redeem coupons (v1)","href":"/api-reference/promotion-platform/coupons-pos/post-api-v1-customers-customerid-coupons-redeem"},{"openapi":"openapi/coupon-v1.json POST /v2/customers/{customerId}/coupons/redeem","title":"Redeem coupons","href":"/api-reference/promotion-platform/coupons-pos/post-v2-customers-customerid-coupons-redeem"},{"openapi":"openapi/coupon-v1.json POST /api/v1/customers/{customerId}/coupons/cancel-redeem","title":"Cancel coupon redemptions","href":"/api-reference/promotion-platform/coupons-pos/post-api-v1-customers-customerid-coupons-cancel-redeem"}]},{"group":"Challenges","root":{"title":"Challenges","href":"/api-reference/promotion-platform/challenges"},"pages":[{"openapi":"openapi/challenge-v3.json GET /v3/cards","title":"Get available challenges","href":"/api-reference/promotion-platform/challenges/get-v3-cards"},{"openapi":"openapi/challenge-v3.json PUT /v3/cards/{id}/activate","title":"Activate challenge","href":"/api-reference/promotion-platform/challenges/put-v3-cards-id-activate"}]},{"group":"Games","root":{"title":"Games","href":"/api-reference/promotion-platform/games"},"pages":[{"openapi":"openapi/game-v1.json GET /v1/games","title":"Get all games available to the member","href":"/api-reference/promotion-platform/games/get-v1-games"},{"openapi":"openapi/game-v1.json GET /v1/games/current","sidebarTitle":"GET /v1/games/current","title":null,"href":"/api-reference/promotion-platform/games/get-v1-games-current"},{"openapi":"openapi/game-v1.json POST /v1/games/{gameId}/start","title":"Start game","href":"/api-reference/promotion-platform/games/post-v1-games-gameid-start"}]},{"group":"Discounts","root":{"title":"Discounts","href":"/api-reference/promotion-platform/discounts"},"pages":[{"openapi":"openapi/pos-discount-v1.json POST /v1/discounted-purchases","title":"Calculate discounts for a purchase","href":"/api-reference/promotion-platform/discounts/post-v1-discounted-purchases"},{"openapi":"openapi/pos-discount-v1.json POST /v1/discounted-baskets","title":"Calculate discounts for a basket","href":"/api-reference/promotion-platform/discounts/post-v1-discounted-baskets"}]}]},{"group":"Retail Master Data","root":{"title":"Retail Master Data","href":"/api-reference/retail-master-data"},"pages":[{"group":"Purchases","root":{"title":"Purchases","href":"/api-reference/retail-master-data/purchases"},"pages":[{"openapi":"openapi/purchase-v1.json GET /v1/purchases/{receiptId}","title":"Get purchase by receiptId.","href":"/api-reference/retail-master-data/purchases/get-v1-purchases-receiptid"},{"openapi":"openapi/purchase-v1.json POST /v1/purchases","title":"Loads purchase.","href":"/api-reference/retail-master-data/purchases/post-v1-purchases"}]},{"group":"Stores","root":{"title":"Stores","href":"/api-reference/retail-master-data/stores"},"pages":[{"group":"Chains","pages":[{"openapi":"openapi/store-v3.json GET /v3/Chains","title":"Returns all chains.","href":"/api-reference/retail-master-data/stores/get-v3-chains"},{"openapi":"openapi/store-v3.json GET /v3/Chains/{chainId}","title":"Returns chain by chain id.","href":"/api-reference/retail-master-data/stores/get-v3-chains-chainid"},{"openapi":"openapi/store-v3.json POST /v3/Chains/import","title":"Import chains","href":"/api-reference/retail-master-data/stores/post-v3-chains-import"}]},{"group":"Stores","pages":[{"openapi":"openapi/store-v3.json GET /v3/Stores","title":"Get stores by specified query criteria. By default, opening hours are included in the response model. Set includeOpeningHours=false to exclude them.","href":"/api-reference/retail-master-data/stores/get-v3-stores"},{"openapi":"openapi/store-v3.json GET /v3/Stores/{storeId}","title":"Returns store by id. By default, opening hours are included in the response model. Set includeOpeningHours=false to exclude them.","href":"/api-reference/retail-master-data/stores/get-v3-stores-storeid"},{"openapi":"openapi/store-v3.json GET /v3/Stores/page","title":"Get stores page by specified query criteria.","href":"/api-reference/retail-master-data/stores/get-v3-stores-page"},{"openapi":"openapi/store-v3.json POST /v3/Stores/adjustments/import","title":"Imports Adjustment Opening Hours for specified stores.","href":"/api-reference/retail-master-data/stores/post-v3-stores-adjustments-import"},{"openapi":"openapi/store-v3.json POST /v3/Stores/import","title":"Imports stores including opening hours.","href":"/api-reference/retail-master-data/stores/post-v3-stores-import"},{"openapi":"openapi/store-v3.json POST /v3/Stores/import/data-import","title":"Imports stores including opening hours. Introduced for DataImport service.","href":"/api-reference/retail-master-data/stores/post-v3-stores-import-data-import"},{"openapi":"openapi/store-v3.json DELETE /v3/Stores/{storeId}","title":"Deletes store record with specified store id.","href":"/api-reference/retail-master-data/stores/delete-v3-stores-storeid"}]},{"group":"Assets","pages":[{"openapi":"openapi/store-v3.json POST /v3/Assets/{path}","title":"Uploads assets with specified path to the storage.","href":"/api-reference/retail-master-data/stores/post-v3-assets-path"}]}]},{"group":"Products","root":{"title":"Products","href":"/api-reference/retail-master-data/products"},"pages":[{"openapi":"openapi/product-catalog-v1.json GET /v1/Products/{externalId}","title":"Get product by external id","href":"/api-reference/retail-master-data/products/get-v1-products-externalid"},{"openapi":"openapi/product-catalog-v1.json GET /v1/Products/ean/{ean}","title":"Get product by EAN","href":"/api-reference/retail-master-data/products/get-v1-products-ean-ean"},{"openapi":"openapi/product-catalog-v1.json POST /v1/Products/import","title":"Upsert products","href":"/api-reference/retail-master-data/products/post-v1-products-import"},{"group":"Hierarchies","root":{"title":"Hierarchies","href":"/api-reference/retail-master-data/products/hierarchies"},"pages":[{"openapi":"openapi/product-catalog-v1.json GET /v1/Hierarchies","title":"Get hierarchy by hierarchy ids","href":"/api-reference/retail-master-data/products/hierarchies/get-v1-hierarchies"},{"openapi":"openapi/product-catalog-v1.json GET /v1/Hierarchies/{hierarchyId}","title":"Get hierarchy tree by hierarchy id","href":"/api-reference/retail-master-data/products/hierarchies/get-v1-hierarchies-hierarchyid"},{"openapi":"openapi/product-catalog-v1.json GET /v1/Hierarchies/product","title":"Get hierarchy for products","href":"/api-reference/retail-master-data/products/hierarchies/get-v1-hierarchies-product"},{"openapi":"openapi/product-catalog-v1.json POST /v1/Hierarchies/import","title":"Upsert full hierarchy tree","href":"/api-reference/retail-master-data/products/hierarchies/post-v1-hierarchies-import"},{"openapi":"openapi/product-catalog-v1.json PATCH /v1/Hierarchies/import","title":"Partial upsert of hierarchies","href":"/api-reference/retail-master-data/products/hierarchies/patch-v1-hierarchies-import"},{"openapi":"openapi/product-catalog-v1.json GET /v1/Products","title":"Get products","href":"/api-reference/retail-master-data/products/hierarchies/get-v1-products"}]},{"group":"Hierarchy Reference Book","root":{"title":"Hierarchy Reference Book","href":"/api-reference/retail-master-data/products/hierarchyreferencebook"},"pages":[{"openapi":"openapi/product-catalog-v1.json GET /v1/HierarchyReferenceBook","title":"Get full hierarchy reference book","href":"/api-reference/retail-master-data/products/hierarchyreferencebook/get-v1-hierarchyreferencebook"},{"openapi":"openapi/product-catalog-v1.json POST /v1/HierarchyReferenceBook/Import","title":"Upsert reference book","href":"/api-reference/retail-master-data/products/hierarchyreferencebook/post-v1-hierarchyreferencebook-import"}]}]},{"group":"Articles V1","root":{"title":"Articles V1","href":"/api-reference/retail-master-data/articles-v1"},"pages":[{"openapi":"openapi/product-catalog-v1.json POST /v1/import","title":"Legacy article upsert","href":"/api-reference/retail-master-data/articles-v1/post-v1-import"},{"openapi":"openapi/product-catalog-v1.json GET /v1/stores/{storeId}/articles","title":"Get article by storeId and EAN","href":"/api-reference/retail-master-data/articles-v1/get-v1-stores-storeid-articles"},{"openapi":"openapi/product-catalog-v1.json GET /v1/stores/{storeId}/articles/{articleId}","title":"Get article by storeId and articleId","href":"/api-reference/retail-master-data/articles-v1/get-v1-stores-storeid-articles-articleid"}]},{"group":"Articles V2","root":{"title":"Articles V2","href":"/api-reference/retail-master-data/articles-v2"},"pages":[{"openapi":"openapi/product-catalog-v2.json POST /v2/articles/import","title":"Upsert articles","href":"/api-reference/retail-master-data/articles-v2/post-v2-articles-import"},{"openapi":"openapi/product-catalog-v2.json POST /v2/articles/prices/import","title":"Upsert article prices","href":"/api-reference/retail-master-data/articles-v2/post-v2-articles-prices-import"},{"openapi":"openapi/product-catalog-v2.json GET /v2/stores/{storeId}/articles","title":"Get articles by store id","href":"/api-reference/retail-master-data/articles-v2/get-v2-stores-storeid-articles"},{"openapi":"openapi/product-catalog-v2.json GET /v2/stores/{storeId}/articles/{articleId}","title":"Get article by id","href":"/api-reference/retail-master-data/articles-v2/get-v2-stores-storeid-articles-articleid"}]}]},{"group":"Savings History","root":{"title":"Savings History","href":"/api-reference/savings-history"},"pages":[{"group":"Member Savings","root":{"title":"Member Savings","href":"/api-reference/savings-history/member-savings"},"pages":[{"openapi":"openapi/website-v1.json GET /web/v1/statements","title":"Gets member's active account statements","href":"/api-reference/savings-history/member-savings/get-web-v1-statements"},{"openapi":"openapi/website-v1.json GET /web/v1/statistics","title":"Gets member's active account statistics","href":"/api-reference/savings-history/member-savings/get-web-v1-statistics"}]}]}]}]},"basePath":"","title":"Bonus - Lobyco Help center","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":[],"chunks":[]}