Create and manage discount codes that customers redeem at checkout or operators apply to orders.
Catalog > Discounts > [code] > Details
Open in TWICE Admin
Catalog → Discount Codes
Primary purpose
The Discount Codes view lists all codes in your workspace. From here you create, edit, enable, disable, and archive codes.
Create a discount code
Click Create discount code to add a new code. The code is created immediately as a disabled placeholder and opens in the editor, where you configure its type, value, restrictions, and validity.Read more: How to create and share a discount code
View usage
The table shows each code’s usage count against its limit (or unlimited). Click a code to see its full configuration.
Enable or disable a code
Toggle a code’s Enabled status from the detail view. Disabled codes are rejected at checkout.
Search and filter
Search by code name, or filter by enabled status, validity dates, and usage count. The Value column filters on the type as one choice — Percentage, Fixed (per order), or Fixed (per item) — rather than on the two form controls separately.The Auto-apply column reads Automatic or Manual, and filters on the same two choices. Sort by code, value, usage count, valid-to date, or creation date.
Catalog > Discounts
Apply a code automatically
Turn Auto-apply on and the code stops depending on anyone typing it: shoppers see its discounted prices while browsing the storefront, and the discount lands on the order at checkout. In storefronts narrows which storefronts it works in.Read more: Discount Codes concept
Archive a code
Removing a code archives it. The action is Archive, from the detail view or by selecting codes in the table. The code leaves the list but still exists — find it under Settings → Archived assets to unarchive it or delete it permanently. Unarchiving fails if an active code has since taken the same string, so rename one of them first.Archiving a code does not affect orders that already used it — the code string and allocations are snapshotted on the order.Read more: Archiving and Deletion
Discount code settings
Configure these fields when creating or editing a discount code.The four catalog fields show their selection as removable chips. Click Edit on any of them to open a dialog listing your whole catalog, so you can browse for an item instead of recalling its name.
Setting
Description
Code
The string customers enter. Letters (including accented and non-Latin characters), digits, dashes, and underscores only (1–64 characters). Case-insensitive — stored as uppercase.
Description
Optional internal notes about the code’s purpose. Not visible to customers.
Enabled
Whether the code is active. Disabled codes are rejected at checkout and cannot be applied to orders.
Who can use this code
Anyone with the code (default) — customers, staff, and integrations can all redeem it. Only staff and integrations — customers who enter the code at checkout are rejected; staff and integrations can still apply it. Internal codes are marked with a “Staff only” chip in the table.
Auto-apply
Apply the code automatically instead of waiting for someone to type it. Shoppers see discounted prices while browsing, and the discount lands on the order at checkout. Off by default.
In storefronts
Shown only when Auto-apply is on. Which storefronts the code applies itself in. Leave empty for all storefronts.
Combinable
Whether the code may discount an item alongside other combinable codes. A non-combinable code is always the only discount on the items it applies to. Codes that discount different items work side by side either way. Off by default.
Discount type
Percentage (0–100 %) or Fixed (a currency amount).
Scope
Shown only for a fixed code. Per order applies the amount once to the whole order, spread across eligible items; Per item applies it to each eligible item separately. A percentage has no scope — it is per item by nature.
Value
The discount amount — a whole percentage or a currency amount depending on the type.
Applies to
Restrict to specific purchase types: bookings, sales, subscriptions. Leave empty to apply to all.
Applies for
Shown in a Subscriptions section, which appears whenever the code can reach subscriptions — including when Applies to is left empty. First cycle only, A number of cycles (which asks for Number of cycles), or Every cycle.
Apply to listings
Restrict to specific listings. Leave empty to apply to all.
Apply to collections
Restrict to items in specific collections. Leave empty to apply to all.
Exclude listings
Carve specific listings out of the code’s scope. An excluded listing never gets the discount, even when Apply to listings or Apply to collections covers it. Leave empty for None.
Exclude collections
Carve out every item in specific collections, on the same rule. Leave empty for None.
Limit to locations
Restrict to checkouts at specific service locations. An order-level gate — the whole checkout’s location either matches or it does not. Leave empty to apply to all.
Usage limit
Maximum number of times the code can be used. Leave empty for unlimited. On an auto-apply code this reads as “the first N orders get the discount” rather than as a per-customer limit, because every matching checkout claims the code.
Offered from / Offered until
Date window when the code is redeemable. Outside this window the code is rejected.
Discount period from / Discount period until
The dates the discount covers. A booking is covered when its start falls inside the window, a sale when it is bought inside it, and a subscription cycle when it is billed inside it.
Creating a discount code
Navigate to Catalog → Discount Codes.
Click Create discount code.
Set the Code string — pick something memorable for customers.
Choose the Discount type and enter the Value. A fixed code also asks for a Scope — per order or per item.
Add the restrictions you need: Applies to, Apply to listings, Apply to collections and Limit to locations. Name the items the code must never touch under Exclude listings and Exclude collections.
Set the two date windows, Offered from / Offered until and Discount period from / Discount period until.
Turn Auto-apply on if the code should apply itself rather than be typed, and pick the storefronts under In storefronts.
Set a Usage limit if the code should expire after a number of uses.
Toggle Enabled on when the code is ready for customers.
Save.
Related concepts
How discount codes work
Discount codes reduce the price of eligible items after the base price is calculated from Price Tables. Codes can be restricted by purchase type, listing, collection, location and date windows, and can carve named listings or collections back out of whatever they cover.Read more: Discount Codes concept
Price Tables
Price Tables define the base price for a listing. Discount codes apply on top of Price Table pricing.Read more: Price Tables
Discount codes on orders
Applied codes appear on the order with their per-item allocations. Operators can add or remove codes from the order detail page.Read more: Order Line Items
Visibility and permissions
This view is gated by catalog:discount, in the four operations — , , and .Owner, Admin and Manager hold every operation. Member does not hold it at all.For what each operation means and the full role matrix, see Users & Roles.
Related articles
Create a discount code
The task end to end — scoping, the two date windows, and diagnosing a rejected code.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"TWICE Commerce","colors":{"primary":"#212121","light":"#F4F4F4","dark":"#212121"},"logo":{"light":"https://mintcdn.com/twicecommerce/KD5MbyezoVxgw-eX/logo/twice-logo-solid.svg?fit=max\u0026auto=format\u0026n=KD5MbyezoVxgw-eX\u0026q=85\u0026s=a1a71755cbd917f23fac5655a627e893","dark":"https://mintcdn.com/twicecommerce/KD5MbyezoVxgw-eX/logo/twice-logo-solid_white.svg?fit=max\u0026auto=format\u0026n=KD5MbyezoVxgw-eX\u0026q=85\u0026s=19eb2023f5a2e29f22337e86347abdb5","href":"https://www.twicecommerce.com/"},"favicon":"https://mintcdn.com/twicecommerce/KD5MbyezoVxgw-eX/favicon.svg?fit=max\u0026auto=format\u0026n=KD5MbyezoVxgw-eX\u0026q=85\u0026s=8572ad950e73aaf44bbd9960aa4a8068","api":{"openapi":{"source":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json"},"params":{"expanded":"all"},"playground":{"display":"interactive"}},"appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://www.twicecommerce.com/","label":"Homepage"},{"href":"https://admin.twicecommerce.com/login","label":"Log in"}],"primary":{"type":"button","label":"Book a demo","href":"https://www.twicecommerce.com/demo"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/twicecommerce"}},"seo":{"metatags":{"charset":"UTF-8","viewport":"width=device-width, initial-scale=1.0","indexing":"navigable"}},"fonts":{"body":{"family":"Inter"}},"styling":{"eyebrows":"breadcrumbs","latex":true},"errors":{"404":{"redirect":false,"title":"Page not found","description":"**Looking for TWICE 1.0 docs?** They moved to [support.twicecommerce.com](https://support.twicecommerce.com) — 1.0 guides that used to live under `/docs` are all there now.\n\nOn **TWICE Commerce 2.0** you're in the right place: use the search above, or [start from the beginning](/index)."}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"navigation":{"languages":[{"language":"en","href":""},{"language":"fi","href":"fi"},{"language":"cs","href":""}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"twicecommerce","hasAudioNarration":false,"actualSubdomain":"twicecommerce","customDomains":["www.twicecommerce.com"],"gitSource":{"type":"github","owner":"rentle","repo":"twice-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afad797f20ad22eaaeee617","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"Admin API","count":396},{"language":"default","tag":"API","count":198},{"language":"fi","tag":"Dokumentaatio","count":186},{"language":"en","tag":"Docs","count":180},{"language":"cs","tag":"Dokumentace","count":180},{"language":"en","tag":"Guides","count":138},{"language":"cs","tag":"Návody","count":138},{"language":"fi","tag":"Oppaat","count":138},{"language":"en","tag":"Navigating in TWICE","count":129},{"language":"cs","tag":"Orientace v TWICE","count":129},{"language":"fi","tag":"Liikkuminen TWICEssä","count":129},{"language":"en","tag":"Working in TWICE","count":108},{"language":"cs","tag":"Práce v TWICE","count":108},{"language":"fi","tag":"Työskentely TWICEssä","count":108},{"language":"en","tag":"Inventory","count":56},{"language":"en","tag":"Orders","count":56},{"language":"cs","tag":"Inventář","count":56},{"language":"cs","tag":"Objednávky","count":56},{"language":"fi","tag":"Inventaario","count":56},{"language":"fi","tag":"Tilaukset","count":56},{"language":"en","tag":"Settings","count":54},{"language":"cs","tag":"Nastavení","count":54},{"language":"fi","tag":"Järjestelmän ymmärtäminen","count":54},{"language":"fi","tag":"Asetukset","count":54},{"language":"en","tag":"Catalog","count":53},{"language":"cs","tag":"Katalog","count":53},{"language":"fi","tag":"Katalogi","count":53},{"language":"en","tag":"Understand the system","count":51},{"language":"cs","tag":"Jak systém funguje","count":51},{"language":"cs","tag":"Prodejní kanály","count":45},{"language":"fi","tag":"Myyntikanavat","count":45},{"language":"en","tag":"Sales Channels","count":39},{"language":"default","tag":"orders","count":25},{"language":"default","tag":"catalog","count":24},{"language":"default","tag":"articles","count":23},{"language":"default","tag":"pricingTables","count":22},{"language":"default","tag":"files","count":13},{"language":"default","tag":"skus","count":12},{"language":"default","tag":"customers","count":11},{"language":"default","tag":"collections","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"TWK Everett\";src:url(\"/docs/fonts/TWKEverett-Medium.woff2\") format(\"woff2\"),\n url(\"/fonts/TWKEverett-Medium.woff2\") format(\"woff2\");font-weight:500;font-style:normal;font-display:swap}:root{--twice-font-nav: \"TWK Everett\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif;--twice-font-body: \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif;--twice-ink: #212121;--twice-body: #344054;--twice-secondary: #475467;--twice-tertiary: #667085;--twice-muted: #909090;--twice-hairline: #E8E8E8;--twice-surface: #FFFFFF;--twice-pill: #E8E8E8;--twice-purple: #B400FF;--twice-measure: 640px;--twice-ease: cubic-bezier(0.16, 1, 0.3, 1)}:root{--gray-100: 232 232 232}#page-title{font-size:44px;font-weight:500;line-height:1.08;letter-spacing:-0.025em;color:var(--twice-ink)}.breadcrumb-item{font-size:14px;color:var(--twice-muted)}#content-area h2:not([data-component-part]){font-size:28px;font-weight:500;line-height:1.2;letter-spacing:-0.01em;color:var(--twice-ink)}#content-area h3:not([data-component-part]){font-size:20px;font-weight:500;line-height:1.3;letter-spacing:0;color:var(--twice-ink)}#content-area .prose{font-size:16px;line-height:1.7;color:var(--twice-body)}#content-area .prose p,#content-area .prose li{font-size:16px;line-height:1.7;color:var(--twice-body)}#content-area #header .prose,#content-area #header .prose p{font-size:20px;line-height:1.4;color:var(--twice-secondary)}#content-container #content-area{max-width:var(--twice-measure)}#content-area .prose a{color:var(--twice-ink);text-decoration:underline;text-underline-offset:2px;transition:color 200ms var(--twice-ease)}#content-area .prose a.link,#content-area .prose a{border-bottom:0}#content-area .prose a:hover{color:var(--twice-purple)}@media (max-width: 640px){#page-title{font-size:30px}#content-area #header .prose,#content-area #header .prose p{font-size:18px}#content-area h2:not([data-component-part]){font-size:24px}#content-area h3:not([data-component-part]){font-size:20px}}#navbar a,#localization-select-trigger{font-family:var(--twice-font-nav);font-size:14px;font-weight:500}#search-bar-entry,#search-bar-entry-mobile{font-size:14px;font-weight:400;color:var(--twice-muted)}.nav-tabs-item{font-family:var(--twice-font-nav);font-size:14px;font-weight:500;color:var(--twice-tertiary)}.nav-tabs-item[data-active=\"true\"]{color:var(--twice-ink)}.nav-tabs-item[data-active=\"true\"]>div{height:2px}#sidebar-content{width:280px;background:transparent;border-right:1px solid var(--twice-hairline)}.sidebar-group-header{font-family:var(--twice-font-nav);font-size:12px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase;color:var(--twice-ink)}.sidebar-nav-group-divider{background:transparent}.sidebar-group li>a,.sidebar-group li>button{font-size:14px;color:var(--twice-secondary);border-radius:6px;transition:color 200ms var(--twice-ease)}.sidebar-group li>a:hover,.sidebar-group li>button:hover{background-color:rgba(0, 0, 0, 0.04);color:var(--twice-ink)}.sidebar-group li[data-active-nav-item=\"true\"]>a{background-color:var(--twice-pill);color:var(--twice-ink);font-weight:500;text-shadow:none}#content-area .prose code{font-size:12.5px;background:var(--twice-surface);border:1px solid var(--twice-hairline);border-radius:4px;padding:1px 5px;color:var(--twice-body)}#content-area .code-block code,#content-area pre code{background:none;border:0;border-radius:0;padding:0;font-size:13px}#content-area .accordion-group{border-width:1px 0 0 0;border-color:var(--twice-hairline);border-radius:0}#content-area details.accordion{background:transparent;border-radius:0;margin-bottom:0}#content-area details.accordion:last-child{border-bottom:1px solid var(--twice-hairline)}#content-area [data-component-part=\"accordion-button\"]{padding:16px 0;gap:16px}#content-area [data-component-part=\"accordion-caret-right\"]{order:1;margin-left:auto}#content-area [data-component-part=\"accordion-title-container\"]{flex:1}#content-area [data-component-part=\"accordion-icon\"]{display:none}#content-area [data-component-part=\"accordion-button\"]:hover{background:rgba(0, 0, 0, 0.02)}#content-area p[data-component-part=\"accordion-title\"]{font-size:17px;font-weight:500;color:var(--twice-ink)}#content-area [data-component-part=\"accordion-content\"]{padding:0 0 16px}#content-area [data-component-part=\"accordion-content\"] p,#content-area [data-component-part=\"accordion-content\"] li{font-size:15px;line-height:1.7;color:var(--twice-secondary)}#content-area [data-component-part=\"accordion-caret-right\"]{position:relative}#content-area [data-component-part=\"accordion-caret-right\"] svg{display:none}#content-area [data-component-part=\"accordion-caret-right\"]::before,#content-area [data-component-part=\"accordion-caret-right\"]::after{content:\"\";position:absolute;top:50%;left:50%;width:14px;height:2px;background:var(--twice-tertiary);transform:translate(-50%, -50%)}#content-area [data-component-part=\"accordion-caret-right\"]::after{transform:translate(-50%, -50%) rotate(90deg);transition:opacity 200ms var(--twice-ease)}#content-area [aria-expanded=\"true\"] [data-component-part=\"accordion-caret-right\"]::after{opacity:0}#content-area table{font-size:14px;line-height:1.55;border-collapse:collapse}#content-area table th{font-size:14px;font-weight:600;color:var(--twice-ink);padding:0 16px 12px 0;border-bottom:1px solid var(--twice-hairline)}#content-area table td{padding:14px 16px 14px 0;border-bottom:1px solid var(--twice-hairline);color:var(--twice-secondary)}#content-area table code{font-size:12.5px;background:none;border:0;padding:0;color:var(--twice-body)}#content-area .card[role=\"link\"] [data-component-part=\"card-icon\"]{display:none}#content-area .card[role=\"link\"]{background:transparent;border:1px solid var(--twice-hairline);border-radius:8px;box-shadow:none;margin:20px 0}#content-area .card[role=\"link\"] [data-component-part=\"card-content-container\"]{padding:14px 18px;padding-right:48px;gap:10px}#content-area .card[role=\"link\"] [data-component-part=\"card-title\"]{display:block;font-size:14px;font-weight:500;color:var(--twice-ink)}#content-area .card[role=\"link\"] [data-component-part=\"card-content\"]{display:block;margin-top:4px;margin-left:0;font-size:13px;color:var(--twice-secondary)}#content-area .card[role=\"link\"] [data-component-part=\"card-content\"] span{display:inline!important}#content-area .card[role=\"link\"] [data-component-part=\"card-content-container\"] div.absolute{display:none}#content-area .card[role=\"link\"] [data-component-part=\"card-content-container\"]::after{content:\"\\2197\";position:absolute;top:14px;right:18px;margin-left:0;color:var(--twice-secondary)}#content-area .card-group:has(.card[role=\"link\"]){--cols: 1 !important;gap:0;border-top:1px solid var(--twice-hairline)}#content-area .card-group .card[role=\"link\"]{background:transparent;border:0;border-radius:0;box-shadow:none;margin:0;overflow:visible}#content-area .card-group .card[role=\"link\"] [data-component-part=\"card-content-container\"]{display:grid;grid-template-columns:1fr 24px;gap:16px;padding:22px 0;align-items:baseline;border-bottom:1px solid var(--twice-hairline)}#content-area .card-group .card[role=\"link\"] [data-component-part=\"card-title\"]{font-size:17px;font-weight:500;line-height:1.3;color:var(--twice-ink);transition:color 200ms var(--twice-ease)}#content-area .card-group .card[role=\"link\"] [data-component-part=\"card-content\"],#content-area .card-group .card[role=\"link\"] [data-component-part=\"card-content\"] span{display:block;font-size:15px;line-height:1.55;color:var(--twice-tertiary)}#content-area .card-group .card[role=\"link\"] [data-component-part=\"card-content\"]{margin-top:4px;margin-left:0}#content-area .card-group .card[role=\"link\"] [data-component-part=\"card-content-container\"]::after{content:\"\\2192\";position:static;margin-left:0;justify-self:end;font-size:18px;color:var(--twice-ink);transition:transform 200ms var(--twice-ease)}#content-area .card-group.doc-rows-numbered{counter-reset:twice-row}#content-area .card-group.doc-rows-numbered .card{counter-increment:twice-row}#content-area .card-group.doc-rows-numbered .card[role=\"link\"] [data-component-part=\"card-content-container\"]{grid-template-columns:48px 1fr 24px}#content-area .card-group.doc-rows-numbered .card[role=\"link\"] [data-component-part=\"card-content-container\"]::before{content:counter(twice-row, decimal-leading-zero);font-size:13px;color:var(--twice-muted)}#content-area .card-group.doc-rows-numbered .card[role=\"link\"] [data-component-part=\"card-title\"]{font-size:18px}#content-area .card-group.doc-rows-condensed:has(.card[role=\"link\"]){border-top:0}#content-area .card-group.doc-rows-condensed .card[role=\"link\"] [data-component-part=\"card-content\"]{display:none}#content-area .card-group.doc-rows-condensed .card[role=\"link\"] [data-component-part=\"card-content-container\"]{padding:9px 0}#content-area .card-group.doc-rows-condensed .card[role=\"link\"] [data-component-part=\"card-title\"]{font-size:16px}#content-area .card-group .card[role=\"link\"]:hover [data-component-part=\"card-title\"]{color:var(--twice-purple)}#content-area .card-group .card[role=\"link\"]:hover [data-component-part=\"card-content-container\"]::after{transform:translateX(4px)}"}],"page":{"pagePath":"catalog/discount-codes","slug":"/catalog/discount-codes","pageMetadata":{"title":"Discount Codes","description":"Create and manage discount codes that customers redeem at checkout or operators apply to orders.","sidebarTitle":"Discount Codes","keywords":["catalog","discount","discount code","promo","coupon","manage"],"og:title":"Discount Codes - TWICE Commerce","og:description":"Create and manage discount codes in TWICE Commerce","og:type":"article","href":"/catalog/discount-codes"},"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: \"Create and manage discount codes that customers redeem at checkout or operators apply to orders.\"\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];const viewAccessDefinition=`The view operation: read a record without changing it.`;const manageAccessDefinition=`The manage operation: update an existing record. Creating and deleting are separate operations.`;const deleteAccessDefinition=`The delete operation: remove a record. Most areas archive instead of deleting.`;const createAccessDefinition=`The create operation: add a new record. Updating an existing one is the manage operation.`;function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,Frame,Heading,OptimizedImage,Table,Tooltip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsxs(_Fragment,{children:[_jsx(Frame,{caption:`Catalog > Discounts > [code] > Details`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-code-form.webp?fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=47efad5588f64c74bc53377d10c2b799`,alt:`Discount code Details card with Auto-apply on and In storefronts revealed`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`1080`,height:`1080`,\"data-path\":`images/catalog-discount-code-form.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-code-form.webp?w=280\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=81e913c85b00a3bbc6815fc65bb83ab8 280w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-code-form.webp?w=560\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=2e20c0a42d4022a57c9768177d7bbcb6 560w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-code-form.webp?w=840\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=b2ead673e7178e530cfdff9281b6447a 840w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-code-form.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=51474644c0e0df915fe877b86bfab922 1100w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-code-form.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=4f886e1386b03213e09e7e661f71f698 1650w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-code-form.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=7f5c8c6c9e3012984cb6234d7c52a312 2500w`})}),`\n`,_jsx(Card,{title:`Open in TWICE Admin`,icon:`external-link`,href:`https://admin.twicecommerce.com/catalog/discounts`,horizontal:true,children:_jsx(_components.p,{children:`Catalog → Discount Codes`})}),`\n`,_jsx(Heading,{level:`2`,id:`primary-purpose`,children:`Primary purpose`}),`\n`,_jsx(_components.p,{children:`The Discount Codes view lists all codes in your workspace. From here you create, edit, enable, disable, and archive codes.`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Create a discount code`,id:`create-a-discount-code`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Create discount code`}),` to add a new code. The code is created immediately as a disabled placeholder and opens in the editor, where you configure its type, value, restrictions, and validity.`]}),_jsxs(_components.p,{children:[`Read more: `,_jsx(_components.a,{href:`/guides/catalog/create-a-discount-code`,children:`How to create and share a discount code`})]})]}),_jsx(Accordion,{title:`View usage`,id:`view-usage`,children:_jsx(_components.p,{children:`The table shows each code’s usage count against its limit (or unlimited). Click a code to see its full configuration.`})}),_jsx(Accordion,{title:`Enable or disable a code`,id:`enable-or-disable-a-code`,children:_jsxs(_components.p,{children:[`Toggle a code’s `,_jsx(_components.strong,{children:`Enabled`}),` status from the detail view. Disabled codes are rejected at checkout.`]})}),_jsxs(Accordion,{title:`Search and filter`,id:`search-and-filter`,children:[_jsxs(_components.p,{children:[`Search by code name, or filter by enabled status, validity dates, and usage count. The `,_jsx(_components.strong,{children:`Value`}),` column filters on the type as one choice — `,_jsx(_components.strong,{children:`Percentage`}),`, `,_jsx(_components.strong,{children:`Fixed (per order)`}),`, or `,_jsx(_components.strong,{children:`Fixed (per item)`}),` — rather than on the two form controls separately.`]}),_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Auto-apply`}),` column reads `,_jsx(_components.strong,{children:`Automatic`}),` or `,_jsx(_components.strong,{children:`Manual`}),`, and filters on the same two choices. Sort by code, value, usage count, valid-to date, or creation date.`]}),_jsx(Frame,{caption:`Catalog > Discounts`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-codes-table.webp?fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=1c22bbaebb80bbbe5662fd49987c3425`,alt:`Discount codes table with the Auto-apply column reading Automatic or Manual`,\"data-og-width\":`1920`,width:`1920`,\"data-og-height\":`1080`,height:`1080`,\"data-path\":`images/catalog-discount-codes-table.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-codes-table.webp?w=280\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=8d577902af37585cdb956f1c5dad3a6f 280w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-codes-table.webp?w=560\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=ba76c30cdcdc0bfc1d57146b13db33ad 560w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-codes-table.webp?w=840\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=0b4e20621321001c17bb71e0a3e9da83 840w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-codes-table.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=3792f01fa85553e23dfb5da709b9879f 1100w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-codes-table.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=dc71b2b0a9c2b766cc5f18564e6e4328 1650w, https://mintcdn.com/twicecommerce/5OTuuPIJYJGO1PsM/images/catalog-discount-codes-table.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=5OTuuPIJYJGO1PsM\u0026q=85\u0026s=aee8d3d227ace3f5aa05bcf460835ce7 2500w`})})]}),_jsxs(Accordion,{title:`Apply a code automatically`,id:`apply-a-code-automatically`,children:[_jsxs(_components.p,{children:[`Turn `,_jsx(_components.strong,{children:`Auto-apply`}),` on and the code stops depending on anyone typing it: shoppers see its discounted prices while browsing the storefront, and the discount lands on the order at checkout. `,_jsx(_components.strong,{children:`In storefronts`}),` narrows which storefronts it works in.`]}),_jsxs(_components.p,{children:[`Read more: `,_jsx(_components.a,{href:`/concepts/catalog/discount-codes`,children:`Discount Codes concept`})]})]}),_jsxs(Accordion,{title:`Archive a code`,id:`archive-a-code`,children:[_jsxs(_components.p,{children:[`Removing a code archives it. The action is `,_jsx(_components.strong,{children:`Archive`}),`, from the detail view or by selecting codes in the table. The code leaves the list but still exists — find it under `,_jsx(_components.strong,{children:`Settings → Archived assets`}),` to unarchive it or delete it permanently. Unarchiving fails if an active code has since taken the same string, so rename one of them first.`]}),_jsx(_components.p,{children:`Archiving a code does not affect orders that already used it — the code string and allocations are snapshotted on the order.`}),_jsxs(_components.p,{children:[`Read more: `,_jsx(_components.a,{href:`/concepts/repeating-patterns/archiving-and-deletion`,children:`Archiving and Deletion`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`discount-code-settings`,children:`Discount code settings`}),`\n`,_jsx(_components.p,{children:`Configure these fields when creating or editing a discount code.`}),`\n`,_jsxs(_components.p,{children:[`The four catalog fields show their selection as removable chips. Click `,_jsx(_components.strong,{children:`Edit`}),` on any of them to open a dialog listing your whole catalog, so you can browse for an item instead of recalling its name.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Code`})}),_jsx(_components.td,{children:`The string customers enter. Letters (including accented and non-Latin characters), digits, dashes, and underscores only (1–64 characters). Case-insensitive — stored as uppercase.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Description`})}),_jsx(_components.td,{children:`Optional internal notes about the code’s purpose. Not visible to customers.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Enabled`})}),_jsx(_components.td,{children:`Whether the code is active. Disabled codes are rejected at checkout and cannot be applied to orders.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Who can use this code`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Anyone with the code`}),` (default) — customers, staff, and integrations can all redeem it. `,_jsx(_components.strong,{children:`Only staff and integrations`}),` — customers who enter the code at checkout are rejected; staff and integrations can still apply it. Internal codes are marked with a “Staff only” chip in the table.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Auto-apply`})}),_jsx(_components.td,{children:`Apply the code automatically instead of waiting for someone to type it. Shoppers see discounted prices while browsing, and the discount lands on the order at checkout. Off by default.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`In storefronts`})}),_jsxs(_components.td,{children:[`Shown only when `,_jsx(_components.strong,{children:`Auto-apply`}),` is on. Which storefronts the code applies itself in. Leave empty for all storefronts.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Combinable`})}),_jsx(_components.td,{children:`Whether the code may discount an item alongside other combinable codes. A non-combinable code is always the only discount on the items it applies to. Codes that discount different items work side by side either way. Off by default.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Discount type`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Percentage`}),` (0–100 %) or `,_jsx(_components.strong,{children:`Fixed`}),` (a currency amount).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Scope`})}),_jsxs(_components.td,{children:[`Shown only for a fixed code. `,_jsx(_components.strong,{children:`Per order`}),` applies the amount once to the whole order, spread across eligible items; `,_jsx(_components.strong,{children:`Per item`}),` applies it to each eligible item separately. A percentage has no scope — it is per item by nature.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Value`})}),_jsx(_components.td,{children:`The discount amount — a whole percentage or a currency amount depending on the type.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Applies to`})}),_jsx(_components.td,{children:`Restrict to specific purchase types: bookings, sales, subscriptions. Leave empty to apply to all.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Applies for`})}),_jsxs(_components.td,{children:[`Shown in a `,_jsx(_components.strong,{children:`Subscriptions`}),` section, which appears whenever the code can reach subscriptions — including when `,_jsx(_components.strong,{children:`Applies to`}),` is left empty. `,_jsx(_components.strong,{children:`First cycle only`}),`, `,_jsx(_components.strong,{children:`A number of cycles`}),` (which asks for `,_jsx(_components.strong,{children:`Number of cycles`}),`), or `,_jsx(_components.strong,{children:`Every cycle`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Apply to listings`})}),_jsx(_components.td,{children:`Restrict to specific listings. Leave empty to apply to all.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Apply to collections`})}),_jsx(_components.td,{children:`Restrict to items in specific collections. Leave empty to apply to all.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Exclude listings`})}),_jsxs(_components.td,{children:[`Carve specific listings out of the code’s scope. An excluded listing never gets the discount, even when `,_jsx(_components.strong,{children:`Apply to listings`}),` or `,_jsx(_components.strong,{children:`Apply to collections`}),` covers it. Leave empty for `,_jsx(_components.strong,{children:`None`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Exclude collections`})}),_jsxs(_components.td,{children:[`Carve out every item in specific collections, on the same rule. Leave empty for `,_jsx(_components.strong,{children:`None`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Limit to locations`})}),_jsx(_components.td,{children:`Restrict to checkouts at specific service locations. An order-level gate — the whole checkout’s location either matches or it does not. Leave empty to apply to all.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Usage limit`})}),_jsx(_components.td,{children:`Maximum number of times the code can be used. Leave empty for unlimited. On an auto-apply code this reads as “the first N orders get the discount” rather than as a per-customer limit, because every matching checkout claims the code.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Offered from / Offered until`}),_jsx(_components.td,{children:`Date window when the code is redeemable. Outside this window the code is rejected.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Discount period from / Discount period until`}),_jsx(_components.td,{children:`The dates the discount covers. A booking is covered when its start falls inside the window, a sale when it is bought inside it, and a subscription cycle when it is billed inside it.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`creating-a-discount-code`,children:`Creating a discount code`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Navigate to `,_jsx(_components.strong,{children:`Catalog → Discount Codes`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Create discount code`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Set the `,_jsx(_components.strong,{children:`Code`}),` string — pick something memorable for customers.`]}),`\n`,_jsxs(_components.li,{children:[`Choose the `,_jsx(_components.strong,{children:`Discount type`}),` and enter the `,_jsx(_components.strong,{children:`Value`}),`. A fixed code also asks for a `,_jsx(_components.strong,{children:`Scope`}),` — per order or per item.`]}),`\n`,_jsxs(_components.li,{children:[`Add the restrictions you need: `,_jsx(_components.strong,{children:`Applies to`}),`, `,_jsx(_components.strong,{children:`Apply to listings`}),`, `,_jsx(_components.strong,{children:`Apply to collections`}),` and `,_jsx(_components.strong,{children:`Limit to locations`}),`. Name the items the code must never touch under `,_jsx(_components.strong,{children:`Exclude listings`}),` and `,_jsx(_components.strong,{children:`Exclude collections`}),`.`]}),`\n`,_jsx(_components.li,{children:`Set the two date windows, Offered from / Offered until and Discount period from / Discount period until.`}),`\n`,_jsxs(_components.li,{children:[`Turn `,_jsx(_components.strong,{children:`Auto-apply`}),` on if the code should apply itself rather than be typed, and pick the storefronts under `,_jsx(_components.strong,{children:`In storefronts`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Set a `,_jsx(_components.strong,{children:`Usage limit`}),` if the code should expire after a number of uses.`]}),`\n`,_jsxs(_components.li,{children:[`Toggle `,_jsx(_components.strong,{children:`Enabled`}),` on when the code is ready for customers.`]}),`\n`,_jsx(_components.li,{children:`Save.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-concepts`,children:`Related concepts`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`How discount codes work`,id:`how-discount-codes-work`,children:[_jsx(_components.p,{children:`Discount codes reduce the price of eligible items after the base price is calculated from Price Tables. Codes can be restricted by purchase type, listing, collection, location and date windows, and can carve named listings or collections back out of whatever they cover.`}),_jsxs(_components.p,{children:[`Read more: `,_jsx(_components.a,{href:`/concepts/catalog/discount-codes`,children:`Discount Codes concept`})]})]}),_jsxs(Accordion,{title:`Price Tables`,id:`price-tables`,children:[_jsx(_components.p,{children:`Price Tables define the base price for a listing. Discount codes apply on top of Price Table pricing.`}),_jsxs(_components.p,{children:[`Read more: `,_jsx(_components.a,{href:`/concepts/catalog/price-tables`,children:`Price Tables`})]})]}),_jsxs(Accordion,{title:`Discount codes on orders`,id:`discount-codes-on-orders`,children:[_jsx(_components.p,{children:`Applied codes appear on the order with their per-item allocations. Operators can add or remove codes from the order detail page.`}),_jsxs(_components.p,{children:[`Read more: `,_jsx(_components.a,{href:`/orders/order-tabs/line-items`,children:`Order Line Items`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`visibility-and-permissions`,children:`Visibility and permissions`}),`\n`,_jsxs(_components.p,{children:[`This view is gated by `,_jsx(_components.code,{children:`catalog:discount`}),`, in the four operations — `,_jsx(Tooltip,{tip:viewAccessDefinition,children:`view`}),`, `,_jsx(Tooltip,{tip:createAccessDefinition,children:`create`}),`, `,_jsx(Tooltip,{tip:manageAccessDefinition,children:`manage`}),` and `,_jsx(Tooltip,{tip:deleteAccessDefinition,children:`delete`}),`.`]}),`\n`,_jsx(_components.p,{children:`Owner, Admin and Manager hold every operation. Member does not hold it at all.`}),`\n`,_jsxs(_components.p,{children:[`For what each operation means and the full role matrix, see `,_jsx(_components.a,{href:`/settings/users-roles`,children:`Users \u0026 Roles`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-articles`,children:`Related articles`}),`\n`,_jsx(CardGroup,{cols:2,className:`doc-rows-condensed`,children:_jsx(Card,{title:`Create a discount code`,icon:`percent`,href:`/guides/catalog/create-a-discount-code`,children:_jsx(_components.p,{children:`The task end to end — scoping, the two date windows, and diagnosing a rejected code.`})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{viewAccessDefinition,manageAccessDefinition,deleteAccessDefinition,createAccessDefinition,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Discount Codes","description":"Create and manage discount codes that customers redeem at checkout or operators apply to orders.","sidebarTitle":"Discount Codes","keywords":["catalog","discount","discount code","promo","coupon","manage"],"og:title":"Discount Codes - TWICE Commerce","og:description":"Create and manage discount codes in TWICE Commerce","og:type":"article","href":"/catalog/discount-codes"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Primary purpose","slug":"primary-purpose","depth":2,"children":[]},{"title":"Discount code settings","slug":"discount-code-settings","depth":2,"children":[]},{"title":"Creating a discount code","slug":"creating-a-discount-code","depth":2,"children":[]},{"title":"Related concepts","slug":"related-concepts","depth":2,"children":[]},{"title":"Visibility and permissions","slug":"visibility-and-permissions","depth":2,"children":[]},{"title":"Related articles","slug":"related-articles","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"twicecommerce","siteName":"TWICE Commerce","title":"Discount Codes - TWICE Commerce","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/catalog/discount-codes","matchLevel":0},"fi":{"href":"/fi/catalog/discount-codes","matchLevel":1},"cs":{"href":"/cs/catalog/discount-codes","matchLevel":1}}},"lastModified":"2026-11-12T00:22:10.228Z","originalFileLocation":"catalog/discount-codes.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Create and manage discount codes that customers redeem at checkout or operators apply to orders.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TWICE Commerce\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_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=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Discount Codes - TWICE Commerce\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create and manage discount codes in TWICE Commerce\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TWICE Commerce\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://www.twicecommerce.com/docs/catalog/discount-codes\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://twicecommerce.mintlify.site/docs/_mintlify/api/og/v2?division=Catalog\u0026amp;title=Discount+Codes\u0026amp;description=Create+and+manage+discount+codes+that+customers+redeem+at+checkout+or+operators+apply+to+orders.\u0026amp;theme=57a12529ba793aec12b4614b\u0026amp;signature=2dc90ce9388dd28dd2855540964e8b12e62dda671f1a32cc98dae1c28c26eb5c\">\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=\"Discount Codes - TWICE Commerce\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create and manage discount codes in TWICE Commerce\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://twicecommerce.mintlify.site/docs/_mintlify/api/og/v2?division=Catalog\u0026amp;title=Discount+Codes\u0026amp;description=Create+and+manage+discount+codes+that+customers+redeem+at+checkout+or+operators+apply+to+orders.\u0026amp;theme=57a12529ba793aec12b4614b\u0026amp;signature=2dc90ce9388dd28dd2855540964e8b12e62dda671f1a32cc98dae1c28c26eb5c\">\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=\"/docs/mintlify-assets/_mintlify/favicons/twicecommerce/iaNQCT4hiBv_0g5S/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TWICE Commerce\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#212121\">\u003cmeta data-mint-head name=\"charset\" content=\"UTF-8\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"indexing\" content=\"navigable\">\u003clink data-mint-head rel=\"canonical\" href=\"https://www.twicecommerce.com/docs/catalog/discount-codes\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/catalog/discount-codes.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://www.twicecommerce.com/docs/catalog/discount-codes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fi\" href=\"https://www.twicecommerce.com/docs/fi/catalog/discount-codes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"cs\" href=\"https://www.twicecommerce.com/docs/cs/catalog/discount-codes\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://www.twicecommerce.com/docs/catalog/discount-codes\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://www.twicecommerce.com/#organization\",\"name\":\"TWICE Commerce\",\"url\":\"https://www.twicecommerce.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/twicecommerce/KD5MbyezoVxgw-eX/logo/twice-logo-solid.svg?fit=max\u0026auto=format\u0026n=KD5MbyezoVxgw-eX\u0026q=85\u0026s=a1a71755cbd917f23fac5655a627e893\"}},{\"@type\":\"WebSite\",\"@id\":\"https://www.twicecommerce.com/docs#website\",\"name\":\"TWICE Commerce\",\"url\":\"https://www.twicecommerce.com/docs\",\"publisher\":{\"@id\":\"https://www.twicecommerce.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://www.twicecommerce.com/docs/catalog/discount-codes#webpage\",\"url\":\"https://www.twicecommerce.com/docs/catalog/discount-codes\",\"name\":\"Discount Codes\",\"description\":\"Create and manage discount codes that customers redeem at checkout or operators apply to orders.\",\"dateModified\":\"2026-11-12T00:22:10.228Z\",\"isPartOf\":{\"@id\":\"https://www.twicecommerce.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://www.twicecommerce.com/docs/catalog/discount-codes#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://www.twicecommerce.com/docs/catalog/discount-codes#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Navigating in TWICE\",\"item\":\"https://www.twicecommerce.com/docs/global-navigation/top-navigation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Catalog\",\"item\":\"https://www.twicecommerce.com/docs/catalog/overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Discount Codes\",\"item\":\"https://www.twicecommerce.com/docs/catalog/discount-codes\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://www.twicecommerce.com/docs/catalog/discount-codes#article\",\"headline\":\"Discount Codes\",\"name\":\"Discount Codes\",\"description\":\"Create and manage discount codes that customers redeem at checkout or operators apply to orders.\",\"url\":\"https://www.twicecommerce.com/docs/catalog/discount-codes\",\"mainEntityOfPage\":{\"@id\":\"https://www.twicecommerce.com/docs/catalog/discount-codes#webpage\"},\"dateModified\":\"2026-11-12T00:22:10.228Z\",\"keywords\":\"catalog, discount, discount code, promo, coupon, manage\",\"publisher\":{\"@id\":\"https://www.twicecommerce.com/#organization\"},\"isPartOf\":{\"@id\":\"https://www.twicecommerce.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TWICE Commerce\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"TWICE Commerce\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/catalog/discount-codes.md","siteName":"TWICE Commerce","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Docs","groups":[{"group":"Welcome to TWICE Docs","pages":[{"title":"How to use TWICE Docs","sidebarTitle":"Start here","href":""},{"title":"What is TWICE Commerce?","sidebarTitle":"TWICE Overview","href":"/twice-commerce-overview"},{"title":"Connect your AI tool to TWICE Commerce","sidebarTitle":"Set up MCP access","href":"/setup-mcp-access"}]},{"group":"Navigating in TWICE","pages":[{"group":"Navigation","icon":"/icons/table.svg","pages":[{"title":"Topbar","sidebarTitle":"Topbar","href":"/global-navigation/top-navigation"},{"title":"Sidebar","sidebarTitle":"Sidebar","href":"/global-navigation/sidebar"}]},{"title":"Home","sidebarTitle":"Home","icon":"https://mintlify.s3.us-west-1.amazonaws.com/twicecommerce/icons/home-05.svg","href":"/home"},{"group":"Inventory","icon":"/icons/inventory.svg","pages":[{"title":"Inventory Overview","sidebarTitle":"Overview","href":"/inventory/overview"},{"group":"Stock Items","pages":[{"title":"Stock Item - General","sidebarTitle":"General","href":"/inventory/stock-items/general"},{"title":"Stock Item - Attributes","sidebarTitle":"Attributes","href":"/inventory/stock-items/attributes"},{"title":"Stock Item - Income \u0026 Expenses","sidebarTitle":"Income \u0026 Expenses","href":"/inventory/stock-items/income-and-expenses"},{"title":"Stock Item - Fulfillment","sidebarTitle":"Fulfillment","href":"/inventory/stock-items/fulfillment"},{"title":"Stock Item - Documents","sidebarTitle":"Documents","href":"/inventory/stock-items/documents"},{"title":"Stock Item - Events","sidebarTitle":"Events","href":"/inventory/stock-items/events"},{"title":"Stock Item - Activity Log","sidebarTitle":"Activity Log","href":"/inventory/stock-items/activity-log"}]},{"group":"SKUs","pages":[{"title":"SKUs","sidebarTitle":"Overview","href":"/inventory/skus/overview"},{"title":"SKUs - General","sidebarTitle":"General","href":"/inventory/skus/general"},{"title":"SKU - Attributes","sidebarTitle":"Attributes","href":"/inventory/skus/attributes"},{"title":"SKUs - Stock Items","sidebarTitle":"Stock Items","href":"/inventory/skus/stock-items"},{"title":"SKU - Fulfillment","sidebarTitle":"Fulfillment","href":"/inventory/skus/fulfillment"},{"title":"SKUs - Documents","sidebarTitle":"Documents","href":"/inventory/skus/documents"},{"title":"SKUs > Activity Log","sidebarTitle":"Activity Log","href":"/inventory/skus/activity-log"}]}]},{"group":"Catalog","icon":"/icons/catalog.svg","pages":[{"title":"Catalog Overview","sidebarTitle":"Overview","href":"/catalog/overview"},{"group":"Listings","pages":[{"title":"Listings","sidebarTitle":"Overview","href":"/catalog/listings/overview"},{"title":"General","sidebarTitle":"General","href":"/catalog/listings/general"},{"title":"Listing - Attributes","sidebarTitle":"Attributes","href":"/catalog/listings/attributes"},{"title":"Listing variants","sidebarTitle":"Variants","href":"/catalog/listings/variants"},{"title":"Listing pricing","sidebarTitle":"Pricing","href":"/catalog/listings/pricing"},{"title":"Listing - Limits","sidebarTitle":"Limits","href":"/catalog/listings/limits"},{"title":"Listing - Fulfilment","sidebarTitle":"Fulfilment","href":"/catalog/listings/fulfillment"},{"title":"Listing - Barcodes","sidebarTitle":"Barcodes","href":"/catalog/listings/barcodes"},{"title":"Publishing","sidebarTitle":"Publishing","href":"/catalog/listings/publishing"},{"title":"Checkout Settings","sidebarTitle":"Checkout Settings","href":"/catalog/listings/checkout-settings"},{"title":"Listing - Add-on Settings","sidebarTitle":"Add-ons","href":"/catalog/listings/addons"},{"title":"Listing - Recommendations","sidebarTitle":"Recommendations","href":"/catalog/listings/recommendations"},{"title":"Listing marketing and SEO settings","sidebarTitle":"Marketing","href":"/catalog/listings/marketing"},{"title":"Documents","sidebarTitle":"Documents","href":"/catalog/listings/documents"},{"title":"Activity log","sidebarTitle":"Activity log","href":"/catalog/listings/activity-log"}]},{"group":"Collections","pages":[{"title":"Collections","sidebarTitle":"Overview","href":"/catalog/collections/overview"},{"title":"Collection - General","sidebarTitle":"General","href":"/catalog/collections/general"},{"title":"Collection - Listings","sidebarTitle":"Listings","href":"/catalog/collections/listings"},{"title":"Collection - Publishing","sidebarTitle":"Publishing","href":"/catalog/collections/publishing"},{"title":"Collection - Marketing","sidebarTitle":"Marketing","href":"/catalog/collections/marketing"}]},{"title":"Price Tables","description":"Reusable pricing templates that listings can connect to for centralized and consistent pricing management","sidebarTitle":"Price Tables","href":"/catalog/price-tables"},{"title":"Discount Codes","sidebarTitle":"Discount Codes","href":"/catalog/discount-codes"}]},{"group":"Orders","icon":"/icons/orders.svg","pages":[{"title":"Orders Overview","sidebarTitle":"Overview","description":"Manage all order types including sales, rentals, buybacks, and service orders in one unified view","href":"/orders/overview"},{"title":"Order - Summary","sidebarTitle":"Summary","href":"/orders/order-tabs/summary"},{"title":"Order - Details","sidebarTitle":"Details","href":"/orders/order-tabs/details"},{"title":"Order attributes","sidebarTitle":"Order attributes","href":"/orders/order-tabs/attributes"},{"title":"Order - Line Items","sidebarTitle":"Line Items","href":"/orders/order-tabs/line-items"},{"title":"Order - Customers","sidebarTitle":"Customers","href":"/orders/order-tabs/customers"},{"title":"Order - Stock Items","sidebarTitle":"Stock Items","href":"/orders/order-tabs/stock-items"},{"title":"Order - Fulfillment \u0026 Return","sidebarTitle":"Fulfillment \u0026 Return","href":"/orders/order-tabs/fulfillment-and-return"},{"title":"Order - Payment","sidebarTitle":"Payment","href":"/orders/order-tabs/payment"},{"title":"Order - Comments","sidebarTitle":"Comments","href":"/orders/order-tabs/comments"},{"title":"Order - Documents","sidebarTitle":"Documents","href":"/orders/order-tabs/documents"},{"title":"Order - Activity Log","sidebarTitle":"Activity Log","href":"/orders/order-tabs/activity-log"}]},{"group":"Customers","icon":"/icons/customers.svg","pages":[{"title":"Customers Overview","sidebarTitle":"Overview","href":"/customers/overview"},{"title":"Customer - General","sidebarTitle":"General","href":"/customers/customer-tabs/general"},{"title":"Customer - Attributes","sidebarTitle":"Attributes","href":"/customers/customer-tabs/attributes"},{"title":"Customer - Documents","sidebarTitle":"Documents","href":"/customers/customer-tabs/documents"},{"title":"Customer - Orders","sidebarTitle":"Orders","href":"/customers/customer-tabs/orders"},{"title":"Customer - Listings","sidebarTitle":"Listings","href":"/customers/customer-tabs/listings"},{"title":"Customer - Stock Items","sidebarTitle":"Stock Items","href":"/customers/customer-tabs/stock-items"},{"title":"Customer - Activity Log","sidebarTitle":"Activity Log","href":"/customers/customer-tabs/activity-log"}]},{"group":"Sales Channels","icon":"/icons/online-store.svg","pages":[{"group":"Online Store","pages":[{"title":"Online Store","sidebarTitle":"Overview","href":"/sales-channels/online-store/overview"},{"title":"Online Store - Themes","sidebarTitle":"Themes","href":"/sales-channels/online-store/themes"},{"title":"Online Store - Default Content","sidebarTitle":"Default content","href":"/sales-channels/online-store/content"},{"title":"Custom Scripts","sidebarTitle":"Custom scripts","href":"/sales-channels/online-store/custom-scripts"},{"title":"Privacy","sidebarTitle":"Privacy","href":"/sales-channels/online-store/privacy"},{"title":"Analytics","sidebarTitle":"Analytics","href":"/sales-channels/online-store/analytics"},{"group":"Theme Editor","pages":[{"title":"Theme Editor","sidebarTitle":"Overview","href":"/sales-channels/online-store/theme-editor/overview"},{"group":"Pages","pages":[{"title":"Theme Editor - Home page","sidebarTitle":"Home","href":"/sales-channels/online-store/theme-editor/pages/home"},{"title":"Theme Editor - About page","sidebarTitle":"About","href":"/sales-channels/online-store/theme-editor/pages/about"},{"title":"Theme Editor - Collection page","sidebarTitle":"Collection","href":"/sales-channels/online-store/theme-editor/pages/collection"},{"title":"Theme Editor - Listing page","sidebarTitle":"Listing","href":"/sales-channels/online-store/theme-editor/pages/listing"},{"title":"Theme Editor - Stores page","sidebarTitle":"Stores","href":"/sales-channels/online-store/theme-editor/pages/stores"},{"title":"Theme Editor - Store page","sidebarTitle":"Store","href":"/sales-channels/online-store/theme-editor/pages/store"},{"title":"Theme Editor - Bag page","sidebarTitle":"Bag","href":"/sales-channels/online-store/theme-editor/pages/bag"},{"title":"Theme Editor - Checkout page","sidebarTitle":"Checkout","href":"/sales-channels/online-store/theme-editor/pages/checkout"}]},{"group":"Settings","pages":[{"title":"Theme Editor - Theme settings","sidebarTitle":"Theme settings","href":"/sales-channels/online-store/theme-editor/settings/theme-panel"},{"title":"Theme Editor - Logo","sidebarTitle":"Logo","href":"/sales-channels/online-store/theme-editor/settings/logo"},{"title":"Theme Editor - Colors","sidebarTitle":"Colors","href":"/sales-channels/online-store/theme-editor/settings/colors"},{"title":"Theme Editor - Header bar","sidebarTitle":"Header bar","href":"/sales-channels/online-store/theme-editor/settings/header-bar"},{"title":"Theme Editor - Typography","sidebarTitle":"Typography","href":"/sales-channels/online-store/theme-editor/settings/typography"},{"title":"Theme Editor - Layout","sidebarTitle":"Layout","href":"/sales-channels/online-store/theme-editor/settings/layout"},{"title":"Theme Editor - Buttons","sidebarTitle":"Buttons","href":"/sales-channels/online-store/theme-editor/settings/buttons"},{"title":"Theme Editor - Inputs","sidebarTitle":"Inputs","href":"/sales-channels/online-store/theme-editor/settings/inputs"},{"title":"Theme Editor - Breadcrumbs","sidebarTitle":"Breadcrumbs","href":"/sales-channels/online-store/theme-editor/settings/breadcrumbs"},{"title":"Theme Editor - Collapsible section","sidebarTitle":"Collapsible section","href":"/sales-channels/online-store/theme-editor/settings/collapsible-section"},{"title":"Theme Editor - Calendar","sidebarTitle":"Calendar","href":"/sales-channels/online-store/theme-editor/settings/calendar"},{"title":"Theme Editor - Variant pills","sidebarTitle":"Variant pills","href":"/sales-channels/online-store/theme-editor/settings/variant-pills"},{"title":"Theme Editor - Listings card","sidebarTitle":"Listings card","href":"/sales-channels/online-store/theme-editor/settings/listings-card"},{"title":"Theme Editor - Collection card","sidebarTitle":"Collection card","href":"/sales-channels/online-store/theme-editor/settings/collection-card"},{"title":"Theme Editor - Pickup availability","sidebarTitle":"Pickup availability","href":"/sales-channels/online-store/theme-editor/settings/pickup-availability"},{"title":"Theme Editor - Cart store selector","sidebarTitle":"Cart store selector","href":"/sales-channels/online-store/theme-editor/settings/cart-store-selector"},{"title":"Theme Editor - Availability indicator","sidebarTitle":"Availability indicator","href":"/sales-channels/online-store/theme-editor/settings/availability-indicator"},{"title":"Theme Editor - Announcement bar","sidebarTitle":"Announcement bar","href":"/sales-channels/online-store/theme-editor/settings/announcement-bar"},{"title":"Theme Editor - Search bar","sidebarTitle":"Search bar","href":"/sales-channels/online-store/theme-editor/settings/search-bar"},{"title":"Theme Editor - Filter section","sidebarTitle":"Filter section","href":"/sales-channels/online-store/theme-editor/settings/filter-section"},{"title":"Theme Editor - Store selection sidebar","sidebarTitle":"Store selection sidebar","href":"/sales-channels/online-store/theme-editor/settings/store-selection"},{"title":"Theme Editor - Custom CSS","sidebarTitle":"Custom CSS","href":"/sales-channels/online-store/theme-editor/settings/custom-css"},{"title":"Theme Editor - Theme style","sidebarTitle":"Theme style","href":"/sales-channels/online-store/theme-editor/settings/theme-style"}]}]}]}]},{"group":"Reports","icon":"/icons/reports.svg","pages":[{"title":"Reports","sidebarTitle":"Reports","href":"/reports"}]},{"title":"Workflows","sidebarTitle":"Workflows","icon":"https://mintlify.s3.us-west-1.amazonaws.com/twicecommerce/icons/workflows.svg","href":"/workflows"},{"group":"Settings","icon":"/icons/settings.svg","pages":[{"title":"Settings - Account Details","sidebarTitle":"Account details","href":"/settings/account"},{"title":"Profile Settings","sidebarTitle":"Profile","href":"/settings/profile"},{"title":"Settings - General","sidebarTitle":"General","href":"/settings/organization"},{"title":"Settings - Locations","sidebarTitle":"Locations","href":"/settings/locations"},{"title":"Settings - Users \u0026 Roles","sidebarTitle":"Users \u0026 Roles","href":"/settings/users-roles"},{"title":"Settings - Security","sidebarTitle":"Security","href":"/settings/security"},{"title":"Settings - Subscription","sidebarTitle":"Subscription","href":"/settings/subscription"},{"title":"Settings - Taxes","sidebarTitle":"Taxes","href":"/settings/taxes"},{"title":"Settings - Payments","sidebarTitle":"Payments","href":"/settings/payments"},{"group":"Checkouts","pages":[{"title":"Checkouts","sidebarTitle":"Overview","href":"/settings/checkouts"},{"title":"Checkout - Steps \u0026 Sections","sidebarTitle":"Steps \u0026 sections","href":"/settings/checkouts/steps"},{"title":"Checkout - Styling","sidebarTitle":"Styling","href":"/settings/checkouts/styling"}]},{"group":"Orders","pages":[{"title":"Settings - Orders","sidebarTitle":"Orders","href":"/settings/orders"},{"title":"Settings - Fulfillment lifecycle","sidebarTitle":"Fulfillment lifecycle","href":"/settings/orders/item-fulfillment-states"},{"title":"Settings - Order lifecycle","sidebarTitle":"Order lifecycle","href":"/settings/orders/order-lifecycle"},{"title":"Settings - Order view","sidebarTitle":"Order view","href":"/settings/orders/order-view"}]},{"title":"Settings - Bookings","sidebarTitle":"Bookings","href":"/settings/bookings"},{"title":"Settings - Terms \u0026 Policies","sidebarTitle":"Terms \u0026 Policies","href":"/settings/terms-policies"},{"title":"Settings - Documents","sidebarTitle":"Documents","href":"/settings/documents"},{"title":"Settings - Emails","sidebarTitle":"Emails","href":"/settings/emails"},{"title":"Settings - Translations","sidebarTitle":"Translations","href":"/settings/translations"},{"title":"Settings - Listing Templates","sidebarTitle":"Listing Templates","href":"/settings/listing-templates"},{"title":"Settings - File Manager","sidebarTitle":"File Manager","href":"/settings/file-manager"},{"title":"Settings - Attributes \u0026 Tags","sidebarTitle":"Attributes \u0026 Tags","href":"/settings/attributes-tags"},{"title":"Settings - Categories \u0026 Taxonomies","sidebarTitle":"Categories \u0026 Taxonomies","href":"/settings/categories-taxonomies"},{"title":"Settings - Archived Assets","sidebarTitle":"Archived Assets","href":"/settings/archived-assets"},{"title":"Settings - Integrations \u0026 API","sidebarTitle":"Integrations","href":"/settings/integrations"},{"title":"Settings - Domains","sidebarTitle":"Domains","href":"/settings/domains"}]}]},{"group":"Understand the system","pages":[{"title":"The Operating System approach","sidebarTitle":"OS approach","icon":"https://mintlify.s3.us-west-1.amazonaws.com/twicecommerce/icons/twice-symbol-dark.svg","href":"/concepts/os-approach"},{"title":"Glossary","sidebarTitle":"Glossary","icon":"https://mintlify.s3.us-west-1.amazonaws.com/twicecommerce/icons/book.svg","href":"/concepts/glossary"},{"title":"Locations in TWICE Commerce","sidebarTitle":"Locations","icon":"https://mintlify.s3.us-west-1.amazonaws.com/twicecommerce/icons/home-05.svg","href":"/concepts/admin/locations"},{"group":"Repeating Patterns","icon":"/icons/table.svg","pages":[{"title":"Status vs State","sidebarTitle":"Status vs State","href":"/concepts/repeating-patterns/status-vs-state"},{"title":"Archiving and Deletion","sidebarTitle":"Archiving and Deletion","href":"/concepts/repeating-patterns/archiving-and-deletion"},{"title":"Usage Patterns","sidebarTitle":"Usage Patterns","href":"/concepts/repeating-patterns/usage-patterns"},{"title":"Design Patterns","sidebarTitle":"Design Patterns","href":"/concepts/repeating-patterns/design-patterns"},{"title":"Common Workflows","sidebarTitle":"Common Workflows","href":"/concepts/repeating-patterns/common-workflows"},{"title":"Activity Logs","sidebarTitle":"Activity Logs","href":"/concepts/admin/activity-logs"},{"group":"Shared UI Elements","pages":[{"title":"Tables in TWICE Commerce","sidebarTitle":"Tables","href":"/admin/tables"},{"title":"Attributes and attribute groups","sidebarTitle":"Attributes","href":"/admin/attributes-and-attribute-groups"},{"title":"Attribute formulas","sidebarTitle":"Formulas","href":"/admin/formulas"}]},{"title":"Category Taxonomy","sidebarTitle":"Category Taxonomy","href":"/concepts/admin/category-taxonomy"},{"title":"Attributes","sidebarTitle":"Attributes","href":"/concepts/admin/attributes"},{"title":"Attribute Groups","sidebarTitle":"Attribute Groups","href":"/concepts/admin/attribute-groups"},{"title":"Smart fields","sidebarTitle":"Smart fields","href":"/concepts/admin/smart-fields"},{"title":"Multi-Language Content","sidebarTitle":"Multi-Language Content","href":"/concepts/admin/translations"},{"title":"Localization","sidebarTitle":"Localization","href":"/concepts/admin/localization"},{"title":"UI visibility","sidebarTitle":"UI visibility","href":"/concepts/admin/visible-areas"}]},{"group":"Inventory","icon":"/icons/inventory.svg","pages":[{"title":"Stock Item vs SKU","sidebarTitle":"Stock Item vs SKU","href":"/inventory/stock-item-vs-sku"},{"title":"Stock Item","sidebarTitle":"Stock Items","href":"/concepts/inventory/stock-items"},{"title":"SKU (Stock Keeping Unit)","sidebarTitle":"SKUs","href":"/concepts/inventory/skus"},{"title":"Stock Code (Item Code)","sidebarTitle":"Stock Codes","href":"/concepts/inventory/stock-codes"},{"title":"Inventory Tracking","sidebarTitle":"Inventory Tracking","href":"/concepts/inventory/inventory-tracking"},{"title":"Stock Item Status","sidebarTitle":"Stock Item Status","href":"/concepts/inventory/stock-item-status"},{"title":"Stock Item State","sidebarTitle":"Stock Item State","href":"/concepts/inventory/stock-item-state"},{"title":"Stock Item Events","sidebarTitle":"Stock Item Events","href":"/concepts/inventory/events"}]},{"group":"Catalog","icon":"/icons/catalog.svg","pages":[{"title":"Listing","sidebarTitle":"Listings","href":"/concepts/catalog/listings"},{"title":"Listing Availability","sidebarTitle":"Availability","href":"/concepts/catalog/availability"},{"title":"Collection","sidebarTitle":"Collections","href":"/concepts/catalog/collections"},{"title":"Category tree","sidebarTitle":"Category trees","href":"/concepts/catalog/category-trees"},{"title":"Category tree styles in the shop sidebar","sidebarTitle":"Sidebar styles","href":"/concepts/catalog/category-tree-sidebar-styles"},{"title":"Category trees in the header","sidebarTitle":"Trees in the header","href":"/concepts/catalog/category-trees-in-the-header"},{"title":"Compare category tree displays","sidebarTitle":"Compare displays","href":"/concepts/catalog/category-tree-displays"},{"title":"Variant","sidebarTitle":"Variants","href":"/concepts/catalog/variants"},{"title":"Price Table","sidebarTitle":"Price Tables","href":"/concepts/catalog/price-tables"},{"title":"Rate-based pricing","sidebarTitle":"Rate-based pricing","href":"/concepts/catalog/rate-based-pricing"},{"title":"Subscriptions","sidebarTitle":"Subscriptions","href":"/concepts/catalog/subscriptions"},{"title":"Discount Codes","sidebarTitle":"Discount Codes","href":"/concepts/catalog/discount-codes"}]},{"group":"Customers","icon":"/icons/customers.svg","pages":[{"title":"Customer Profile","sidebarTitle":"Customer Profiles","href":"/concepts/customers/customer-profiles"},{"title":"Customer Tag","sidebarTitle":"Customer Tags","href":"/concepts/customers/customer-groups"}]},{"group":"Orders","icon":"/icons/orders.svg","pages":[{"title":"Order Types","sidebarTitle":"Order Types","href":"/concepts/orders/order-types"},{"title":"Order Lifecycle","sidebarTitle":"Order Lifecycle","href":"/concepts/orders/order-lifecycle"},{"title":"How Payments Work in TWICE","sidebarTitle":"Payments","href":"/concepts/orders/payments"},{"title":"Security Deposits","sidebarTitle":"Security Deposits","href":"/concepts/orders/deposits"},{"title":"Auto-Fulfillment","href":"/concepts/orders/auto-fulfillment"},{"title":"Stock Item Conflicts","sidebarTitle":"Stock Item Conflicts","href":"/concepts/orders/stock-item-conflicts"},{"title":"Subscription Portal","href":"/concepts/orders/subscription-portal"}]},{"group":"Sales Channels","icon":"/icons/online-store.svg","pages":[{"title":"Online Store","sidebarTitle":"Online Store","href":"/concepts/sales-channels/online-store"}]},{"group":"Reports","icon":"/icons/reports.svg","pages":[{"title":"Finance Reports","href":"/concepts/reports/finance-reports"}]},{"group":"Integrations","icon":"/icons/integrations.svg","pages":[{"title":"Integrations","sidebarTitle":"Overview","href":"/concepts/integrations/overview"},{"title":"Webhooks","href":"/concepts/integrations/webhooks"},{"title":"API keys","href":"/concepts/integrations/api-keys"},{"title":"Bulk Creation","href":"/concepts/integrations/bulk-creation"}]}]}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/launch/overview"}]},{"tab":"Updates","pages":[{"title":"Updates","href":"/updates"}]},{"tab":"Roadmap","pages":[{"title":"Roadmap","href":"/roadmap"}]},{"tab":"API","dropdowns":[{"dropdown":"Admin API","icon":"briefcase","description":"Merchant-facing API","groups":[{"group":"Admin API","pages":[{"group":"articles","pages":[{"title":"List articles by filters","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/articles/","href":"/api-reference/articles/list-articles-by-filters"},{"title":"Create a stock item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/articles/","href":"/api-reference/articles/create-a-stock-item"},{"title":"Create many stock items","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/articles/create-many","href":"/api-reference/articles/create-many-stock-items"},{"title":"Get article by ID","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/articles/{id}","href":"/api-reference/articles/get-article-by-id"},{"title":"Update a stock item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/articles/{id}","href":"/api-reference/articles/update-a-stock-item"},{"title":"List scheduled events for a stock item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/articles/{id}/scheduled-events","href":"/api-reference/articles/list-scheduled-events-for-a-stock-item"},{"title":"Create a scheduled event","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/articles/{id}/scheduled-events","href":"/api-reference/articles/create-a-scheduled-event"},{"title":"Get a scheduled event","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/articles/{id}/scheduled-events/{eventId}","href":"/api-reference/articles/get-a-scheduled-event"},{"title":"Update a scheduled event","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/articles/{id}/scheduled-events/{eventId}","href":"/api-reference/articles/update-a-scheduled-event"},{"title":"Delete a scheduled event","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/articles/{id}/scheduled-events/{eventId}","href":"/api-reference/articles/delete-a-scheduled-event"},{"title":"Archive article","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/articles/{id}/archive","href":"/api-reference/articles/archive-article"},{"title":"Unarchive article","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/articles/{id}/unarchive","href":"/api-reference/articles/unarchive-article"},{"title":"Check whether a stock-item code is available","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/articles/validate-code","href":"/api-reference/articles/check-whether-a-stock-item-code-is-available"},{"title":"Check whether stock-item codes are available","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/articles/validate-codes","href":"/api-reference/articles/check-whether-stock-item-codes-are-available"},{"title":"Preview a stock-item quantity reduction","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/articles/{id}/plan-quantity-change","href":"/api-reference/articles/preview-a-stock-item-quantity-reduction"},{"title":"Preview a stock-item buffer-time change","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/articles/{id}/plan-buffer-change","href":"/api-reference/articles/preview-a-stock-item-buffer-time-change"},{"title":"Apply a buffer-time change, optionally skipping bookings it cannot fit","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/articles/{id}/apply-buffer-change","href":"/api-reference/articles/apply-a-buffer-time-change-optionally-skipping-bookings-it-cannot-fit"},{"title":"List per-booking buffers for a stock item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/articles/{id}/booking-buffer","href":"/api-reference/articles/list-per-booking-buffers-for-a-stock-item"},{"title":"Set the buffer for a single booking","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/articles/{id}/booking-buffer","href":"/api-reference/articles/set-the-buffer-for-a-single-booking"},{"title":"Increase stock-item quantity","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/articles/{id}/increase-quantity","href":"/api-reference/articles/increase-stock-item-quantity"},{"title":"Reduce stock-item quantity","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/articles/{id}/decrease-quantity","href":"/api-reference/articles/reduce-stock-item-quantity"},{"title":"Add tags to a stock item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/articles/{id}/tags","href":"/api-reference/articles/add-tags-to-a-stock-item"},{"title":"Remove tags from a stock item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/articles/{id}/tags","href":"/api-reference/articles/remove-tags-from-a-stock-item"}]},{"group":"attributes","pages":[{"title":"Get an attribute by ID","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/attributes/{attributeId}","href":"/api-reference/attributes/get-an-attribute-by-id"},{"title":"Delete an attribute","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/attributes/{attributeId}","href":"/api-reference/attributes/delete-an-attribute"},{"title":"Update an attribute","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/attributes/{attributeId}","href":"/api-reference/attributes/update-an-attribute"},{"title":"Get all attributes","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/attributes","href":"/api-reference/attributes/get-all-attributes"},{"title":"Create a new attribute","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/attributes","href":"/api-reference/attributes/create-a-new-attribute"},{"title":"Get all values for an attribute","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/attributes/{attributeId}/values","href":"/api-reference/attributes/get-all-values-for-an-attribute"}]},{"group":"availability","pages":[{"title":"Get bookable availability across a date range (calendar view)","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/availability/{catalogItemId}/range","href":"/api-reference/availability/get-bookable-availability-across-a-date-range-calendar-view"},{"title":"Check whether one booking window is bookable (pre-order validation)","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/availability/{catalogItemId}/period","href":"/api-reference/availability/check-whether-one-booking-window-is-bookable-pre-order-validation"}]},{"group":"catalog","pages":[{"title":"List catalog items","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/catalog/","href":"/api-reference/catalog/list-catalog-items"},{"title":"Create catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/catalog/","href":"/api-reference/catalog/create-catalog-item"},{"title":"Get catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/catalog/{id}","href":"/api-reference/catalog/get-catalog-item"},{"title":"Update catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/catalog/{id}","href":"/api-reference/catalog/update-catalog-item"},{"title":"Set inventory rules for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/catalog/{id}/rules","href":"/api-reference/catalog/set-inventory-rules-for-a-catalog-item"},{"title":"Set variant inventory rules for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/catalog/{id}/variant-rules","href":"/api-reference/catalog/set-variant-inventory-rules-for-a-catalog-item"},{"title":"Archive catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/catalog/{id}/archive","href":"/api-reference/catalog/archive-catalog-item"},{"title":"Unarchive catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/catalog/{id}/unarchive","href":"/api-reference/catalog/unarchive-catalog-item"},{"title":"Delete a catalog item inventory rule","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/catalog/{id}/rules/{ruleId}","href":"/api-reference/catalog/delete-a-catalog-item-inventory-rule"},{"title":"Delete a rule condition from a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/catalog/{id}/conditions/{conditionId}","href":"/api-reference/catalog/delete-a-rule-condition-from-a-catalog-item"},{"title":"Link catalog item to service location","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/catalog/{id}/service-locations","href":"/api-reference/catalog/link-catalog-item-to-service-location"},{"title":"Unlink catalog item from service location","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/catalog/{id}/service-locations/{linkId}","href":"/api-reference/catalog/unlink-catalog-item-from-service-location"},{"title":"Add tags to a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/catalog/{id}/tags","href":"/api-reference/catalog/add-tags-to-a-catalog-item"},{"title":"Remove tags from a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/catalog/{id}/tags","href":"/api-reference/catalog/remove-tags-from-a-catalog-item"},{"title":"Get checkout requirements for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/catalog/{id}/checkout-requirements","href":"/api-reference/catalog/get-checkout-requirements-for-a-catalog-item"},{"title":"Update checkout requirements for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/catalog/{id}/checkout-requirements","href":"/api-reference/catalog/update-checkout-requirements-for-a-catalog-item"},{"title":"Add a checkout requirement field to a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/catalog/{id}/checkout-requirements/fields","href":"/api-reference/catalog/add-a-checkout-requirement-field-to-a-catalog-item"},{"title":"Delete a checkout requirement field for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/catalog/{id}/checkout-requirements/fields/{fieldId}","href":"/api-reference/catalog/delete-a-checkout-requirement-field-for-a-catalog-item"},{"title":"Update a checkout requirement field for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/catalog/{id}/checkout-requirements/fields/{fieldId}","href":"/api-reference/catalog/update-a-checkout-requirement-field-for-a-catalog-item"},{"title":"List add-ons","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/catalog/{id}/add-ons","href":"/api-reference/catalog/list-add-ons"},{"title":"Create add-on","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/catalog/{id}/add-ons","href":"/api-reference/catalog/create-add-on"},{"title":"Get add-on","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/catalog/{id}/add-ons/{addonId}","href":"/api-reference/catalog/get-add-on"},{"title":"Delete add-on","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/catalog/{id}/add-ons/{addonId}","href":"/api-reference/catalog/delete-add-on"},{"title":"Update add-on","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/catalog/{id}/add-ons/{addonId}","href":"/api-reference/catalog/update-add-on"}]},{"group":"checkoutLinks","pages":[{"title":"Create a checkout link for an existing order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/checkout-links/","href":"/api-reference/checkoutlinks/create-a-checkout-link-for-an-existing-order"},{"title":"Revoke a checkout link so it can no longer be opened or paid","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/checkout-links/{checkoutLinkId}/revoke","href":"/api-reference/checkoutlinks/revoke-a-checkout-link-so-it-can-no-longer-be-opened-or-paid"}]},{"group":"collections","pages":[{"title":"List collections","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/collections","href":"/api-reference/collections/list-collections"},{"title":"Create collection","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/collections","href":"/api-reference/collections/create-collection"},{"title":"Get collection by ID","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/collections/{id}","href":"/api-reference/collections/get-collection-by-id"},{"title":"Update collection","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/collections/{id}","href":"/api-reference/collections/update-collection"},{"title":"Archive collection","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/collections/{id}/archive","href":"/api-reference/collections/archive-collection"},{"title":"Unarchive collection","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/collections/{id}/unarchive","href":"/api-reference/collections/unarchive-collection"},{"title":"Add catalog item to collection","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/collections/{id}/items","href":"/api-reference/collections/add-catalog-item-to-collection"},{"title":"Delete catalog item from collection","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/collections/{id}/items","href":"/api-reference/collections/delete-catalog-item-from-collection"},{"title":"List catalog items for collection","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/collections/{id}/catalog-items","href":"/api-reference/collections/list-catalog-items-for-collection"}]},{"group":"customers","pages":[{"title":"Get a customer by ID","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/customers/{customerId}","href":"/api-reference/customers/get-a-customer-by-id"},{"title":"Update customer details","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/customers/{customerId}","href":"/api-reference/customers/update-customer-details"},{"title":"Get customer orders","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/customers/{customerId}/orders","href":"/api-reference/customers/get-customer-orders"},{"title":"Get all customers","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/customers","href":"/api-reference/customers/get-all-customers"},{"title":"Create a new customer","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/customers","href":"/api-reference/customers/create-a-new-customer"},{"title":"Create new customers","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/customers/many","href":"/api-reference/customers/create-new-customers"},{"title":"Archive a customer","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/customers/{customerId}/archive","href":"/api-reference/customers/archive-a-customer"},{"title":"Unarchive a customer","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/customers/{customerId}/unarchive","href":"/api-reference/customers/unarchive-a-customer"},{"title":"Check whether customer emails are available","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/customers/validate-emails","href":"/api-reference/customers/check-whether-customer-emails-are-available"},{"title":"Add tags to a customer","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/customers/{id}/tags","href":"/api-reference/customers/add-tags-to-a-customer"},{"title":"Remove tags from a customer","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/customers/{id}/tags","href":"/api-reference/customers/remove-tags-from-a-customer"}]},{"group":"discountCodes","pages":[{"title":"List discount codes","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/discount-codes","href":"/api-reference/discountcodes/list-discount-codes"},{"title":"Create a discount code","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/discount-codes","href":"/api-reference/discountcodes/create-a-discount-code"},{"title":"Get discount code by id","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/discount-codes/{id}","href":"/api-reference/discountcodes/get-discount-code-by-id"},{"title":"Update a discount code","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/discount-codes/{id}","href":"/api-reference/discountcodes/update-a-discount-code"},{"title":"Archive a discount code","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/discount-codes/{id}/archive","href":"/api-reference/discountcodes/archive-a-discount-code"},{"title":"Unarchive a discount code","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/discount-codes/{id}/unarchive","href":"/api-reference/discountcodes/unarchive-a-discount-code"},{"title":"Validate a discount code against an order context","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/discount-codes/validate","href":"/api-reference/discountcodes/validate-a-discount-code-against-an-order-context"}]},{"group":"files","pages":[{"title":"Upload files","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/files/create","href":"/api-reference/files/upload-files"},{"title":"List files","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/files/list","href":"/api-reference/files/list-files"},{"title":"Delete files","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/files/delete-many","href":"/api-reference/files/delete-files"},{"title":"Update files","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/files/update-many","href":"/api-reference/files/update-files"},{"title":"List documents for a resource","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/files/documents/{resourceType}/{resourceId}","href":"/api-reference/files/list-documents-for-a-resource"},{"title":"Link documents to a resource","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/files/documents/{resourceType}/{resourceId}","href":"/api-reference/files/link-documents-to-a-resource"},{"title":"Unlink documents from a resource","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/files/documents/{resourceType}/{resourceId}","href":"/api-reference/files/unlink-documents-from-a-resource"},{"title":"Reorder documents for a resource","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/files/documents/{resourceType}/{resourceId}/reorder","href":"/api-reference/files/reorder-documents-for-a-resource"},{"title":"List media for a resource","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/files/media/{resourceType}/{resourceId}","href":"/api-reference/files/list-media-for-a-resource"},{"title":"Link media to a resource","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/files/media/{resourceType}/{resourceId}","href":"/api-reference/files/link-media-to-a-resource"},{"title":"Unlink media from a resource","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/files/media/{resourceType}/{resourceId}","href":"/api-reference/files/unlink-media-from-a-resource"},{"title":"Reorder media for a resource","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/files/media/{resourceType}/{resourceId}/reorder","href":"/api-reference/files/reorder-media-for-a-resource"},{"title":"Get resolved documents for an order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/files/orders/{orderId}/documents","href":"/api-reference/files/get-resolved-documents-for-an-order"}]},{"group":"orderAttributes","pages":[{"title":"List captured attribute values for an order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/orders/{orderId}/attributes","href":"/api-reference/orderattributes/list-captured-attribute-values-for-an-order"},{"title":"Remove a captured attribute value from an order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/orders/{orderId}/attributes/{attributeId}","href":"/api-reference/orderattributes/remove-a-captured-attribute-value-from-an-order"},{"title":"Set a captured attribute value on an order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/orders/{orderId}/attributes/{attributeId}","href":"/api-reference/orderattributes/set-a-captured-attribute-value-on-an-order"}]},{"group":"orders","pages":[{"title":"Get an order by ID","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/orders/{orderId}","href":"/api-reference/orders/get-an-order-by-id"},{"title":"Update order main details","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/orders/{orderId}","href":"/api-reference/orders/update-order-main-details"},{"title":"Get all orders","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/orders","href":"/api-reference/orders/get-all-orders"},{"title":"Create a new order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders","href":"/api-reference/orders/create-a-new-order"},{"title":"Close an order (terminal transition)","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders/{orderId}/close","href":"/api-reference/orders/close-an-order-terminal-transition"},{"title":"Add tags to an order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders/{orderId}/tags","href":"/api-reference/orders/add-tags-to-an-order"},{"title":"Remove tags from an order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/orders/{orderId}/tags","href":"/api-reference/orders/remove-tags-from-an-order"},{"title":"Add item to order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders/{orderId}/lineItems","href":"/api-reference/orders/add-item-to-order"},{"title":"Add many items to order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders/{orderId}/lineItems/create-many","href":"/api-reference/orders/add-many-items-to-order"},{"title":"Update order item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/orders/{orderId}/lineItems/{lineItemId}","href":"/api-reference/orders/update-order-item"},{"title":"Remove item from order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/orders/{orderId}/lineItems/{lineItemId}","href":"/api-reference/orders/remove-item-from-order"},{"title":"Update article in order item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/orders/{orderId}/stockItems/{stockItemId}","href":"/api-reference/orders/update-article-in-order-item"},{"title":"Remove article from order item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/orders/{orderId}/stockItems/{stockItemId}","href":"/api-reference/orders/remove-article-from-order-item"},{"title":"Add customer to order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders/{orderId}/customers","href":"/api-reference/orders/add-customer-to-order"},{"title":"Update customer in order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/orders/{orderId}/customers/{customerId}","href":"/api-reference/orders/update-customer-in-order"},{"title":"Remove customer from order with explicit line-item handling","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/orders/{orderId}/customers/{customerId}","href":"/api-reference/orders/remove-customer-from-order-with-explicit-line-item-handling"},{"title":"Add comment to order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders/{orderId}/comments","href":"/api-reference/orders/add-comment-to-order"},{"title":"Update comment in order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/orders/{orderId}/comments/{commentId}","href":"/api-reference/orders/update-comment-in-order"},{"title":"Remove comment from order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/orders/{orderId}/comments/{commentId}","href":"/api-reference/orders/remove-comment-from-order"},{"title":"Validate a discount code against the order and, when valid, allocate it across eligible line items","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders/{orderId}/discount-codes","href":"/api-reference/orders/validate-a-discount-code-against-the-order-and-when-valid-allocate-it-across-eligible-line-items"},{"title":"Remove an applied discount code from all line items of the order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/orders/{orderId}/discount-codes/{code}","href":"/api-reference/orders/remove-an-applied-discount-code-from-all-line-items-of-the-order"},{"title":"Get payments for an order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/orders/{orderId}/payments","href":"/api-reference/orders/get-payments-for-an-order"},{"title":"Get invoices for an order (incl. upcoming scheduled subscription invoices)","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/orders/{orderId}/invoices","href":"/api-reference/orders/get-invoices-for-an-order-incl-upcoming-scheduled-subscription-invoices"},{"title":"Cancel a subscription — stop future billing and withdraw its open invoice","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders/{orderId}/subscriptions/{subscriptionId}/cancel","href":"/api-reference/orders/cancel-a-subscription-—-stop-future-billing-and-withdraw-its-open-invoice"},{"title":"Get checkout links for an order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/orders/{orderId}/checkout-links","href":"/api-reference/orders/get-checkout-links-for-an-order"}]},{"group":"payments","pages":[{"title":"Refund a transaction","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/transactions/{transactionId}/refund","href":"/api-reference/payments/refund-a-transaction"},{"title":"Capture an authorised deposit hold on a deposit-auth transaction","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/transactions/{transactionId}/capture-deposit","href":"/api-reference/payments/capture-an-authorised-deposit-hold-on-a-deposit-auth-transaction"},{"title":"Cancel (release) the remaining hold on a deposit-auth transaction","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/transactions/{transactionId}/cancel-deposit","href":"/api-reference/payments/cancel-release-the-remaining-hold-on-a-deposit-auth-transaction"},{"title":"Record a manual payment against an order","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/orders/{orderId}/payments/manual","href":"/api-reference/payments/record-a-manual-payment-against-an-order"}]},{"group":"pricingTables","pages":[{"title":"List catalog pricing configurations","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/pricing-tables/","href":"/api-reference/pricingtables/list-catalog-pricing-configurations"},{"title":"Create a pricing table","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/pricing-tables/","href":"/api-reference/pricingtables/create-a-pricing-table"},{"title":"Get a catalog pricing configuration","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/pricing-tables/{pricingTableId}","href":"/api-reference/pricingtables/get-a-catalog-pricing-configuration"},{"title":"Update a pricing table","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/pricing-tables/update-table/{pricingTableId}/","href":"/api-reference/pricingtables/update-a-pricing-table"},{"title":"Archive catalog pricing table","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/pricing-tables/archive-table/{pricingTableId}","href":"/api-reference/pricingtables/archive-catalog-pricing-table"},{"title":"Unarchive catalog pricing table","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/pricing-tables/unarchive-table/{pricingTableId}","href":"/api-reference/pricingtables/unarchive-catalog-pricing-table"},{"title":"Add a rental pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/pricing-tables/pricing-table/{pricingTableId}/row","href":"/api-reference/pricingtables/add-a-rental-pricing-row"},{"title":"Delete a rental pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/pricing-tables/pricing-table/{pricingTableId}/row/{pricingRowId}","href":"/api-reference/pricingtables/delete-a-rental-pricing-row"},{"title":"Update a rental pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/pricing-tables/pricing-table/{pricingTableId}/row/{pricingRowId}","href":"/api-reference/pricingtables/update-a-rental-pricing-row"},{"title":"Add a sale pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/pricing-tables/pricing-table/{pricingTableId}/sales-row","href":"/api-reference/pricingtables/add-a-sale-pricing-row"},{"title":"Delete a sale pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/pricing-tables/pricing-table/{pricingTableId}/sales-row/{salesRowId}","href":"/api-reference/pricingtables/delete-a-sale-pricing-row"},{"title":"Update a sale pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/pricing-tables/pricing-table/{pricingTableId}/sales-row/{salesRowId}","href":"/api-reference/pricingtables/update-a-sale-pricing-row"},{"title":"Add a subscription pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/pricing-tables/pricing-table/{pricingTableId}/subscription-row","href":"/api-reference/pricingtables/add-a-subscription-pricing-row"},{"title":"Delete a subscription pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/pricing-tables/pricing-table/{pricingTableId}/subscription-row/{subscriptionRowId}","href":"/api-reference/pricingtables/delete-a-subscription-pricing-row"},{"title":"Update a subscription pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/pricing-tables/pricing-table/{pricingTableId}/subscription-row/{subscriptionRowId}","href":"/api-reference/pricingtables/update-a-subscription-pricing-row"},{"title":"Add an external pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/pricing-tables/pricing-table/{pricingTableId}/external-pricing-row","href":"/api-reference/pricingtables/add-an-external-pricing-row"},{"title":"Delete an external pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/pricing-tables/pricing-table/{pricingTableId}/external-pricing-row/{externalPricingRowId}","href":"/api-reference/pricingtables/delete-an-external-pricing-row"},{"title":"Update an external pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/pricing-tables/pricing-table/{pricingTableId}/external-pricing-row/{externalPricingRowId}","href":"/api-reference/pricingtables/update-an-external-pricing-row"},{"title":"Calculate catalog item price for selected pricing row","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/pricing-tables/pricing-table/{pricingTableId}/fixed-price","href":"/api-reference/pricingtables/calculate-catalog-item-price-for-selected-pricing-row"},{"title":"Calculate catalog item price for selected date range","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/pricing-tables/pricing-table/{pricingTableId}/rate-based-price","href":"/api-reference/pricingtables/calculate-catalog-item-price-for-selected-date-range"},{"title":"List catalog items using a pricing table","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/pricing-tables/pricing-table/{pricingTableId}/connected-catalog-items","href":"/api-reference/pricingtables/list-catalog-items-using-a-pricing-table"},{"title":"Attach a pricing table to a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/pricing-tables/pricing-table/{pricingTableId}/link-catalog-item","href":"/api-reference/pricingtables/attach-a-pricing-table-to-a-catalog-item"}]},{"group":"serviceLocations","pages":[{"title":"List service locations","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/service-locations/","href":"/api-reference/servicelocations/list-service-locations"},{"title":"Create a pickup location","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/service-locations/","href":"/api-reference/servicelocations/create-a-pickup-location"},{"title":"Get a service location","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/service-locations/{id}","href":"/api-reference/servicelocations/get-a-service-location"},{"title":"Update a service location","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/service-locations/{id}","href":"/api-reference/servicelocations/update-a-service-location"},{"title":"Archive a service location","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/service-locations/{id}/archive","href":"/api-reference/servicelocations/archive-a-service-location"},{"title":"Unarchive a service location","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/service-locations/{id}/unarchive","href":"/api-reference/servicelocations/unarchive-a-service-location"}]},{"group":"skus","pages":[{"title":"Get all SKUs","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/skus","href":"/api-reference/skus/get-all-skus"},{"title":"Create a SKU","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/skus","href":"/api-reference/skus/create-a-sku"},{"title":"Get a SKU by ID","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/skus/{skuId}","href":"/api-reference/skus/get-a-sku-by-id"},{"title":"Update a SKU","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/skus/{skuId}","href":"/api-reference/skus/update-a-sku"},{"title":"Create many SKUs","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/skus/many","href":"/api-reference/skus/create-many-skus"},{"title":"Check whether SKU codes are available","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/skus/validate-codes","href":"/api-reference/skus/check-whether-sku-codes-are-available"},{"title":"Preview a SKU buffer-time change","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/skus/{skuId}/plan-buffer-change","href":"/api-reference/skus/preview-a-sku-buffer-time-change"},{"title":"Change SKU default buffer times","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/skus/{skuId}/apply-buffer-change","href":"/api-reference/skus/change-sku-default-buffer-times"},{"title":"Archive a SKU","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/skus/{skuId}/archive","href":"/api-reference/skus/archive-a-sku"},{"title":"Unarchive a SKU","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/skus/{skuId}/unarchive","href":"/api-reference/skus/unarchive-a-sku"},{"title":"Add tags to a SKU","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/skus/{id}/tags","href":"/api-reference/skus/add-tags-to-a-sku"},{"title":"Remove tags from a SKU","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/skus/{id}/tags","href":"/api-reference/skus/remove-tags-from-a-sku"}]},{"group":"tags","pages":[{"title":"Get all tags","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/tags","href":"/api-reference/tags/get-all-tags"},{"title":"Create a new tag","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/tags","href":"/api-reference/tags/create-a-new-tag"},{"title":"Get tag by id","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/tags/{id}","href":"/api-reference/tags/get-tag-by-id"},{"title":"Update a tag","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/tags/{id}","href":"/api-reference/tags/update-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/tags/{id}","href":"/api-reference/tags/delete-a-tag"}]},{"group":"taxes","pages":[{"title":"Get a tax by ID","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/taxes/{taxId}","href":"/api-reference/taxes/get-a-tax-by-id"},{"title":"Delete a tax","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/taxes/{taxId}","href":"/api-reference/taxes/delete-a-tax"},{"title":"Update a tax","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/taxes/{taxId}","href":"/api-reference/taxes/update-a-tax"},{"title":"Get all taxes","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/taxes/","href":"/api-reference/taxes/get-all-taxes"},{"title":"Create a new tax","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/taxes/","href":"/api-reference/taxes/create-a-new-tax"}]},{"group":"tenants","pages":[{"title":"Get your own merchant data","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/merchant","href":"/api-reference/tenants/get-your-own-merchant-data"},{"title":"Update current merchant data","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json patch /v1/admin/merchant","href":"/api-reference/tenants/update-current-merchant-data"}]},{"group":"unavailability","pages":[{"title":"Delete an unavailability","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/unavailabilities/{id}","href":"/api-reference/unavailability/delete-an-unavailability"}]},{"group":"variants","pages":[{"title":"Get all variants for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/variants/{catalogItemId}","href":"/api-reference/variants/get-all-variants-for-a-catalog-item"},{"title":"Create a new variant for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/variants/{catalogItemId}","href":"/api-reference/variants/create-a-new-variant-for-a-catalog-item"},{"title":"Update a variant for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/variants/{catalogItemId}/{variantId}","href":"/api-reference/variants/update-a-variant-for-a-catalog-item"},{"title":"Delete a variant for a catalog item","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/variants/{catalogItemId}/{variantId}","href":"/api-reference/variants/delete-a-variant-for-a-catalog-item"},{"title":"Get all values for a variant","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/variants/{catalogItemId}/values/{variantId}","href":"/api-reference/variants/get-all-values-for-a-variant"},{"title":"Create new values for a variant","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/variants/{catalogItemId}/values/{variantId}","href":"/api-reference/variants/create-new-values-for-a-variant"},{"title":"Delete a value for a variant","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/variants/{catalogItemId}/values/{variantId}","href":"/api-reference/variants/delete-a-value-for-a-variant"}]},{"group":"webhook subscriptions","pages":[{"title":"List subscriptions for webhooks","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/hooks/webhooks/subscription","href":"/api-reference/webhook-subscriptions/list-subscriptions-for-webhooks"},{"title":"Create a webhook subscription","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/hooks/webhooks/subscription","href":"/api-reference/webhook-subscriptions/create-a-webhook-subscription"},{"title":"Get a webhook subscription","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/hooks/webhooks/subscription/{id}","href":"/api-reference/webhook-subscriptions/get-a-webhook-subscription"},{"title":"Update a webhook subscription","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json put /v1/admin/hooks/webhooks/subscription/{id}","href":"/api-reference/webhook-subscriptions/update-a-webhook-subscription"},{"title":"Delete a webhook subscription","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json delete /v1/admin/hooks/webhooks/subscription/{id}","href":"/api-reference/webhook-subscriptions/delete-a-webhook-subscription"},{"title":"Get the signing secret of a webhook subscription","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/hooks/webhooks/subscription/{id}/secret","href":"/api-reference/webhook-subscriptions/get-the-signing-secret-of-a-webhook-subscription"},{"title":"Rotate the signing secret of a webhook subscription","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/hooks/webhooks/subscription/{id}/secret/rotate","href":"/api-reference/webhook-subscriptions/rotate-the-signing-secret-of-a-webhook-subscription"},{"title":"List delivery deliveries for a webhook subscription","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json get /v1/admin/hooks/webhooks/subscription/{id}/deliveries","href":"/api-reference/webhook-subscriptions/list-delivery-deliveries-for-a-webhook-subscription"},{"title":"Redeliver a recorded webhook delivery to the target URL","deprecated":null,"version":null,"openapi":"https://server.twicecommerce.com/api/admin/openapi-mintlify.json post /v1/admin/hooks/webhooks/subscription/{id}/deliveries/{deliveryId}/redeliver","href":"/api-reference/webhook-subscriptions/redeliver-a-recorded-webhook-delivery-to-the-target-url"}]}]}]}]}]},{"language":"fi","pages":[{"title":"fi","href":"/fi/catalog/discount-codes"}]},{"language":"cs","pages":[{"title":"cs","href":"/cs/catalog/discount-codes"}]}]},"basePath":"","title":"Discount Codes - TWICE Commerce","buildId":"dpl_5Wnaxc3m8t3HZwdvwe36fSBdcT12","deploymentId":"dpl_5Wnaxc3m8t3HZwdvwe36fSBdcT12","dynamics":["07c022d89b","a74be98ba7","a9bb46feb3"],"chunks":["Frame-Clk0sFFM.js","DynamicMarkdown-CKZBuKr4.js","zoom-image-lightbox-BV5xN-vS.js","lightbox-handle-r17bVUz3.js","Markdown-Z1l8BMeJ.js","dist-B4nDkaYj.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","katex-YMM-FMeD.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","AssistantPageLink-ilslkC03.js"]}