The type of allocations for this reward. assets-only means only assets are allocable, entries-only means only entries are allocable, and assets-and-entries means both assets and entries are allocable.
Whether the assets supply is shared across allocations. If true, the total supply of assets across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.
Whether the entries supply is shared across allocations. If true, the total supply of entries across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.
Maximum number of assets a single user can acquire through any distribution. Must be > 0 if allocationsType is assets-only or assets-and-entries. Optional, defaults to Infinity on Create.
Maximum number of entries a single user can acquire through any distribution. Must be > 0 if allocationsType is entries-only or assets-and-entries. Optional, defaults to Infinity on Create.
The type of allocations for this reward. assets-only means only assets are allocable, entries-only means only entries are allocable, and assets-and-entries means both assets and entries are allocable.
Whether the assets supply is shared across allocations. If true, the total supply of assets across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.
Whether the entries supply is shared across allocations. If true, the total supply of entries across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.
When this reward expires (or giveaway takes place)
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Nudj Platform Documentation","colors":{"primary":"#8082A6","light":"#AFA9D9","dark":"#BDB7E4"},"logo":{"light":"https://mintcdn.com/nudj/Fh-MK3NeO4rWK1Z6/logo/nudj-logo.png?fit=max\u0026auto=format\u0026n=Fh-MK3NeO4rWK1Z6\u0026q=85\u0026s=7340cd62c3a41730e5ce025fd75c842b","dark":"https://mintcdn.com/nudj/Fh-MK3NeO4rWK1Z6/logo/nudj-dark-logo.png?fit=max\u0026auto=format\u0026n=Fh-MK3NeO4rWK1Z6\u0026q=85\u0026s=8cabc0966dfccab00fad982bcf3b465f"},"favicon":"https://mintcdn.com/nudj/Fh-MK3NeO4rWK1Z6/favicon.ico?fit=max\u0026auto=format\u0026n=Fh-MK3NeO4rWK1Z6\u0026q=85\u0026s=7426330b653f33c458339d01295a6965","api":{"playground":{"display":"interactive"}},"appearance":{"default":"light"},"background":{"color":{"light":"#F5F3FB","dark":"#0F1119"}},"navbar":{"links":[{"href":"mailto:support@nudj.cx","label":"Support"}],"primary":{"type":"button","label":"Get API Tokens","href":"https://admin.nudj.cx/admin/settings/organisation?tab=developer"}},"footer":{"socials":{"x":"https://x.com/nudj","github":"https://github.com/nudj-digital","linkedin":"https://www.linkedin.com/company/nudj"}},"fonts":{"heading":{"family":"Playfair Display","weight":700},"body":{"family":"Outfit","weight":400}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nudj","hasAudioNarration":false,"actualSubdomain":"nudj","customDomains":["docs.nudj.cx"],"gitSource":{"type":"github","owner":"nudj-digital","repo":"monorepo","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae2174a83326b7b15ea3131","collectionId":"0f9591e5-8c10-41aa-a451-0a3b520f8055","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae2174a83326b7b15ea3131"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae2174a83326b7b15ea3131","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Admin API","count":235},{"language":"default","tag":"Control Room","count":93},{"language":"default","tag":"Integration API","count":87},{"language":"default","tag":"Analytics API","count":54},{"language":"default","tag":"User Guide","count":41},{"language":"default","tag":"Ways to Engage","count":39},{"language":"default","tag":"Challenges","count":39},{"language":"default","tag":"Rewards","count":30},{"language":"default","tag":"Organization Settings","count":26},{"language":"default","tag":"Developer","count":25}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#content-area a.link{color:#5f6193;text-decoration-color:#5f6193}#content-area a.link:focus-visible,#content-area a.link:hover{color:#4a4c79;text-decoration-color:#4a4c79}.dark #content-area a.link{color:#bdb7e4;text-decoration-color:#bdb7e4}.dark #content-area a.link:focus-visible,.dark #content-area a.link:hover{color:#d4cfee;text-decoration-color:#d4cfee}"}],"page":{"pagePath":"api-reference/admin/post-rewards-id","slug":"/api-reference/admin/post-rewards-id","pageMetadata":{"title":"Update a reward by id","openapi":"openapi/admin.json POST /rewards/{id}","description":"Update a reward by id.","href":"/api-reference/admin/post-rewards-id"},"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: \"Update a reward by id.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update a reward by id","openapi":"openapi/admin.json POST /rewards/{id}","description":"Update a reward by id.","href":"/api-reference/admin/post-rewards-id"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/nudj/a4881203b9b8dc75/generate-api-docs.js","/_mintlify/custom/nudj/90666c9eadd6f6ca/update-navigation.js","/_mintlify/custom/nudj/cb82a77682afa872/fetch-openapi.js","/_mintlify/custom/nudj/17b922120d4f8afe/fix-navigation.js","/_mintlify/custom/nudj/e3afd7dfb92e6b1b/normalize-openapi.js","/_mintlify/custom/nudj/3e9096727cf1ed8d/restore-general-docs.js","/_mintlify/custom/nudj/05ef9ce7c833cf9b/scripts/generate-all-releases.js","/_mintlify/custom/nudj/e04dda1835326c9c/scripts/sync-highlights-nav.js","/_mintlify/custom/nudj/0a7a1d9fd5d964ad/scripts/sync-releases-nav.js"],"openApiReferenceData":{"operation":{"operationId":"updateReward","summary":"Update a reward by id","description":"Update a reward by id.","tags":["Reward"],"parameters":["029e4729-37c4-4ce9-8b35-f8b014139b46","c4c15088-f419-4efa-9b71-47bf967dc879"],"requestBody":"2a2f6774-729e-4f07-81ba-75f008a36b57","responses":{"200":"0a930c81-558c-4fed-9632-bc5a677adefa","400":"5ab9dc34-16d6-497b-b68e-987ff31fc803","500":"b2e510bf-1ce2-4841-8bef-fab1cf87dfd9"},"method":"post","type":"path","servers":["a3578f1c-2881-4c69-bd19-b47edca235fe"],"security":["0d04aee5-14a8-4cbe-bdea-886653c3f242"],"path":"/rewards/{id}","baseUrlOptions":["https://{subdomain}.nudj.cx/api/v2/admin"],"title":"Update a reward by id","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"029e4729-37c4-4ce9-8b35-f8b014139b46":{"in":"path","name":"id","description":"The id of the reward to update","schema":{"type":"string","description":"The id of the reward to update","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true},"c4c15088-f419-4efa-9b71-47bf967dc879":{"in":"header","name":"x-language","description":"The language to update the reward in. This will update the reward's content for the specified language.","schema":{"type":"string","description":"The language to update the reward in. This will update the reward's content for the specified language.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"additionalCommunityIds":{"type":"array","items":{"type":"string","uniqueKey":"additionalCommunityIds.items.[INDEX]","typeLabel":"string"},"description":"The additional communities this reward is available in","uniqueKey":"additionalCommunityIds","typeLabel":"string[]"},"assetPointsPrice":{"type":"number","minimum":0,"description":"The points cost to acquire one asset of this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.","uniqueKey":"assetPointsPrice","typeLabel":"number"},"isManualGiveaway":{"type":"boolean","description":"Whether the giveaway should be manual (true) or automatic (false)","uniqueKey":"isManualGiveaway","typeLabel":"boolean"},"entryPointsPrice":{"type":"number","minimum":0,"description":"The points cost to acquire one entry for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.","uniqueKey":"entryPointsPrice","typeLabel":"number"},"allocationsType":{"type":"string","enum":["assets-only","entries-only","assets-and-entries"],"description":"The type of allocations for this reward. assets-only means only assets are allocable, entries-only means only entries are allocable, and assets-and-entries means both assets and entries are allocable.","uniqueKey":"allocationsType","typeLabel":"enum\u003cstring>"},"isSharedAssetsSupply":{"type":"boolean","description":"Whether the assets supply is shared across allocations. If true, the total supply of assets across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.","uniqueKey":"isSharedAssetsSupply","typeLabel":"boolean"},"isSharedEntriesSupply":{"type":"boolean","description":"Whether the entries supply is shared across allocations. If true, the total supply of entries across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.","uniqueKey":"isSharedEntriesSupply","typeLabel":"boolean"},"redemptionConfig":{"oneOf":[{"type":"object","title":"RewardRedemptionConfigRichText","description":"A reward redemption config rich text","required":["type","additionalInformation","autoRedeem","content"],"properties":{"type":{"type":"string","const":"rich-text","description":"Rich text redemption config","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.type","typeLabel":"string"},"additionalInformation":{"type":"array","items":{"type":"object","properties":{"variableConfigId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The ID of the variable config that defines the data type, validation rules, and UI rendering","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.additionalInformation.items.[INDEX].variableConfigId","typeLabel":"string"},"required":{"type":"boolean","description":"Whether this variable must be filled out by the user before proceeding","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.additionalInformation.items.[INDEX].required","typeLabel":"boolean"},"position":{"type":"number","minimum":1,"description":"The display order position of this variable in the form or UI","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.additionalInformation.items.[INDEX].position","typeLabel":"number"}},"required":["variableConfigId","required","position"],"title":"Variable Config Reference","description":"A reference to a variable configuration that defines a form field or data collection point, including its display order, requirement status, and validation rules. Used to specify what information to collect from users in forms, communities, and other data collection contexts.","uniqueKey":"redemptionConfig.oneOf.0.additionalInformation.items.[INDEX]","typeLabel":"Variable Config Reference · object"},"description":"Configurable form fields to collect additional user information when user redeems the reward. Each field (e.g., email, phone, address) is defined by a variable config that specifies its type, validation rules, and display order.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.additionalInformation","typeLabel":"Variable Config Reference · object[]"},"autoRedeem":{"type":"boolean","description":"Whether the reward should be automatically redeemed when claimed","example":false,"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.autoRedeem","typeLabel":"boolean"},"content":{"type":"string","description":"The rich text content. HTML is supported.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.content","typeLabel":"string"},"instructions":{"oneOf":[{"type":"string","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.0.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.0.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.instructions","typeLabel":"string | null"},"instructionsImageUrl":{"oneOf":[{"type":"string","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.0.instructionsImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.0.instructionsImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.instructionsImageUrl","typeLabel":"string | null"},"supportEmail":{"oneOf":[{"type":"string","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.supportEmail","typeLabel":"string\u003cemail> | null"},"supportPhoneNumber":{"oneOf":[{"type":"string","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportPhoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.supportPhoneNumber","typeLabel":"string | null"},"supportUrl":{"oneOf":[{"type":"string","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.supportUrl","typeLabel":"string | null"},"redeemByDate":{"oneOf":[{"type":"string","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.0.redeemByDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.0.redeemByDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.redeemByDate","typeLabel":"string | null"}},"uniqueKey":"redemptionConfig.oneOf.0","typeLabel":"RewardRedemptionConfigRichText · object"},{"type":"object","title":"RewardRedemptionConfigCode","description":"A reward redemption config code","required":["type","additionalInformation","autoRedeem","displayMode","store"],"properties":{"type":{"type":"string","const":"code","description":"Code redemption config","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.type","typeLabel":"string"},"additionalInformation":{"type":"array","items":{"type":"object","properties":{"variableConfigId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The ID of the variable config that defines the data type, validation rules, and UI rendering","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.additionalInformation.items.[INDEX].variableConfigId","typeLabel":"string"},"required":{"type":"boolean","description":"Whether this variable must be filled out by the user before proceeding","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.additionalInformation.items.[INDEX].required","typeLabel":"boolean"},"position":{"type":"number","minimum":1,"description":"The display order position of this variable in the form or UI","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.additionalInformation.items.[INDEX].position","typeLabel":"number"}},"required":["variableConfigId","required","position"],"title":"Variable Config Reference","description":"A reference to a variable configuration that defines a form field or data collection point, including its display order, requirement status, and validation rules. Used to specify what information to collect from users in forms, communities, and other data collection contexts.","uniqueKey":"redemptionConfig.oneOf.1.additionalInformation.items.[INDEX]","typeLabel":"Variable Config Reference · object"},"description":"Configurable form fields to collect additional user information when user redeems the reward. Each field (e.g., email, phone, address) is defined by a variable config that specifies its type, validation rules, and display order.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.additionalInformation","typeLabel":"Variable Config Reference · object[]"},"autoRedeem":{"type":"boolean","description":"Whether the reward should be automatically redeemed when claimed","example":false,"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.autoRedeem","typeLabel":"boolean"},"displayMode":{"type":"string","enum":["text","link","barcode-code128","barcode-code39","barcode-code39ext","barcode-upca","barcode-upce","barcode-ean13","barcode-ean8","barcode-ean5","barcode-ean2","barcode-itf14","barcode-interleaved2of5","barcode-qr","barcode-datamatrix","barcode-pdf417","barcode-azteccode","shopify-code-and-store-link","shopify-checkout-link"],"description":"Display mode for code redemption","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.displayMode","typeLabel":"enum\u003cstring>"},"store":{"type":"string","enum":["none","mongodb"],"description":"The store where the code can be retrieved","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.store","typeLabel":"enum\u003cstring>"},"instructions":{"oneOf":[{"type":"string","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.1.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.1.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.instructions","typeLabel":"string | null"},"instructionsImageUrl":{"oneOf":[{"type":"string","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.1.instructionsImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.1.instructionsImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.instructionsImageUrl","typeLabel":"string | null"},"supportEmail":{"oneOf":[{"type":"string","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.supportEmail","typeLabel":"string\u003cemail> | null"},"supportPhoneNumber":{"oneOf":[{"type":"string","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportPhoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.supportPhoneNumber","typeLabel":"string | null"},"supportUrl":{"oneOf":[{"type":"string","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.supportUrl","typeLabel":"string | null"},"redeemByDate":{"oneOf":[{"type":"string","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.1.redeemByDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.1.redeemByDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.redeemByDate","typeLabel":"string | null"},"prefix":{"oneOf":[{"type":"string","uniqueKey":"redemptionConfig.oneOf.1.prefix.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"redemptionConfig.oneOf.1.prefix.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.prefix","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The code to redeem","uniqueKey":"redemptionConfig.oneOf.1.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The code to redeem","uniqueKey":"redemptionConfig.oneOf.1.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.code","typeLabel":"string | null"}},"uniqueKey":"redemptionConfig.oneOf.1","typeLabel":"RewardRedemptionConfigCode · object"},{"type":"object","title":"Reward Redemption Config Badge","description":"A reward redemption config for badges","required":["type","additionalInformation","autoRedeem"],"properties":{"type":{"type":"string","const":"badge","description":"Badge redemption config","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.type","typeLabel":"string"},"additionalInformation":{"type":"array","items":{"type":"object","properties":{"variableConfigId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The ID of the variable config that defines the data type, validation rules, and UI rendering","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.additionalInformation.items.[INDEX].variableConfigId","typeLabel":"string"},"required":{"type":"boolean","description":"Whether this variable must be filled out by the user before proceeding","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.additionalInformation.items.[INDEX].required","typeLabel":"boolean"},"position":{"type":"number","minimum":1,"description":"The display order position of this variable in the form or UI","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.additionalInformation.items.[INDEX].position","typeLabel":"number"}},"required":["variableConfigId","required","position"],"title":"Variable Config Reference","description":"A reference to a variable configuration that defines a form field or data collection point, including its display order, requirement status, and validation rules. Used to specify what information to collect from users in forms, communities, and other data collection contexts.","uniqueKey":"redemptionConfig.oneOf.2.additionalInformation.items.[INDEX]","typeLabel":"Variable Config Reference · object"},"description":"Configurable form fields to collect additional user information when user redeems the reward. Each field (e.g., email, phone, address) is defined by a variable config that specifies its type, validation rules, and display order.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.additionalInformation","typeLabel":"Variable Config Reference · object[]"},"autoRedeem":{"type":"boolean","description":"Whether the reward should be automatically redeemed when claimed","example":false,"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.autoRedeem","typeLabel":"boolean"},"instructions":{"oneOf":[{"type":"string","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.2.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.2.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.instructions","typeLabel":"string | null"},"instructionsImageUrl":{"oneOf":[{"type":"string","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.2.instructionsImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.2.instructionsImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.instructionsImageUrl","typeLabel":"string | null"},"supportEmail":{"oneOf":[{"type":"string","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.supportEmail","typeLabel":"string\u003cemail> | null"},"supportPhoneNumber":{"oneOf":[{"type":"string","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportPhoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.supportPhoneNumber","typeLabel":"string | null"},"supportUrl":{"oneOf":[{"type":"string","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.supportUrl","typeLabel":"string | null"},"redeemByDate":{"oneOf":[{"type":"string","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.2.redeemByDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.2.redeemByDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.redeemByDate","typeLabel":"string | null"}},"uniqueKey":"redemptionConfig.oneOf.2","typeLabel":"Reward Redemption Config Badge · object"},{"type":"object","title":"RewardRedemptionConfigShopify","description":"A reward redemption config based on a Shopify discount","required":["type","additionalInformation","autoRedeem","displayMode","shopifyStoreLink","prefix","shopifyDiscountId"],"properties":{"type":{"type":"string","const":"shopify","description":"Shopify discount redemption config","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.type","typeLabel":"string"},"additionalInformation":{"type":"array","items":{"type":"object","properties":{"variableConfigId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The ID of the variable config that defines the data type, validation rules, and UI rendering","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.additionalInformation.items.[INDEX].variableConfigId","typeLabel":"string"},"required":{"type":"boolean","description":"Whether this variable must be filled out by the user before proceeding","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.additionalInformation.items.[INDEX].required","typeLabel":"boolean"},"position":{"type":"number","minimum":1,"description":"The display order position of this variable in the form or UI","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.additionalInformation.items.[INDEX].position","typeLabel":"number"}},"required":["variableConfigId","required","position"],"title":"Variable Config Reference","description":"A reference to a variable configuration that defines a form field or data collection point, including its display order, requirement status, and validation rules. Used to specify what information to collect from users in forms, communities, and other data collection contexts.","uniqueKey":"redemptionConfig.oneOf.3.additionalInformation.items.[INDEX]","typeLabel":"Variable Config Reference · object"},"description":"Configurable form fields to collect additional user information when user redeems the reward. Each field (e.g., email, phone, address) is defined by a variable config that specifies its type, validation rules, and display order.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.additionalInformation","typeLabel":"Variable Config Reference · object[]"},"autoRedeem":{"type":"boolean","description":"Whether the reward should be automatically redeemed when claimed","example":false,"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.autoRedeem","typeLabel":"boolean"},"displayMode":{"type":"string","enum":["text","link","barcode-code128","barcode-code39","barcode-code39ext","barcode-upca","barcode-upce","barcode-ean13","barcode-ean8","barcode-ean5","barcode-ean2","barcode-itf14","barcode-interleaved2of5","barcode-qr","barcode-datamatrix","barcode-pdf417","barcode-azteccode","shopify-code-and-store-link","shopify-checkout-link"],"description":"Display mode for Shopify discount redemption","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.displayMode","typeLabel":"enum\u003cstring>"},"shopifyStoreLink":{"type":"string","description":"The Shopify store URL to use for the discount redemption. Useful if the store has a custom domain, or you want to redirect to a specific product page.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.shopifyStoreLink","typeLabel":"string"},"prefix":{"type":"string","description":"The prefix for the Shopify discount code","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.prefix","typeLabel":"string"},"shopifyDiscountId":{"type":"string","description":"The Shopify discount ID","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.shopifyDiscountId","typeLabel":"string"},"instructions":{"oneOf":[{"type":"string","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.3.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.3.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.instructions","typeLabel":"string | null"},"instructionsImageUrl":{"oneOf":[{"type":"string","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.3.instructionsImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.3.instructionsImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.instructionsImageUrl","typeLabel":"string | null"},"supportEmail":{"oneOf":[{"type":"string","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.supportEmail","typeLabel":"string\u003cemail> | null"},"supportPhoneNumber":{"oneOf":[{"type":"string","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportPhoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.supportPhoneNumber","typeLabel":"string | null"},"supportUrl":{"oneOf":[{"type":"string","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.supportUrl","typeLabel":"string | null"},"redeemByDate":{"oneOf":[{"type":"string","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.3.redeemByDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.3.redeemByDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.redeemByDate","typeLabel":"string | null"}},"uniqueKey":"redemptionConfig.oneOf.3","typeLabel":"RewardRedemptionConfigShopify · object"}],"uniqueKey":"redemptionConfig","typeLabel":"RewardRedemptionConfigRichText · object | RewardRedemptionConfigCode · object | Reward Redemption Config Badge · object | RewardRedemptionConfigShopify · object"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"description":"Tags associated with this reward","uniqueKey":"tags","typeLabel":"string[]"},"campaigns":{"type":"array","items":{"type":"string","uniqueKey":"campaigns.items.[INDEX]","typeLabel":"string"},"description":"Campaigns this reward is part of","uniqueKey":"campaigns","typeLabel":"string[]"},"featured":{"oneOf":[{"type":"boolean","description":"Whether this reward is featured","uniqueKey":"featured.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this reward is featured","uniqueKey":"featured.oneOf.1","typeLabel":"null"}],"uniqueKey":"featured","typeLabel":"boolean | null"},"status":{"type":"string","enum":["archived","draft","expired","live","scheduled"],"description":"The current status of this reward","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"startsAt":{"oneOf":[{"type":"string","description":"When this reward becomes available","uniqueKey":"startsAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"When this reward becomes available","uniqueKey":"startsAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"startsAt","typeLabel":"string | null"},"expiresAt":{"oneOf":[{"type":"string","description":"When this reward expires (or giveaway takes place)","uniqueKey":"expiresAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"When this reward expires (or giveaway takes place)","uniqueKey":"expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"expiresAt","typeLabel":"string | null"},"drawsAt":{"oneOf":[{"type":"string","description":"When this reward giveaway will be drawn","uniqueKey":"drawsAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"When this reward giveaway will be drawn","uniqueKey":"drawsAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"drawsAt","typeLabel":"string | null"},"isGlobalTemplate":{"type":"boolean","description":"Whether the reward is a global template","uniqueKey":"isGlobalTemplate","typeLabel":"boolean"},"availableAsTemplateForOrganisations":{"type":"array","items":{"type":"string","uniqueKey":"availableAsTemplateForOrganisations.items.[INDEX]","typeLabel":"string"},"description":"The organisations that the reward is available as a template for","uniqueKey":"availableAsTemplateForOrganisations","typeLabel":"string[]"},"details":{"type":"object","properties":{"title":{"type":"string","description":"The title of the entity","uniqueKey":"details.title","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"The description of the entity","uniqueKey":"details.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the entity","uniqueKey":"details.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.description","typeLabel":"string | null"},"light":{"type":"object","properties":{"primaryImageUrl":{"oneOf":[{"type":"string","description":"The url of the primary image for this theme mode","uniqueKey":"details.light.primaryImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The url of the primary image for this theme mode","uniqueKey":"details.light.primaryImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.light.primaryImageUrl","typeLabel":"string | null"},"secondaryImageUrl":{"oneOf":[{"type":"string","description":"The url of the secondary image for this theme mode","uniqueKey":"details.light.secondaryImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The url of the secondary image for this theme mode","uniqueKey":"details.light.secondaryImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.light.secondaryImageUrl","typeLabel":"string | null"}},"description":"Light theme images","uniqueKey":"details.light","typeLabel":"object"},"dark":{"type":"object","properties":{"primaryImageUrl":{"oneOf":[{"type":"string","description":"The url of the primary image for this theme mode","uniqueKey":"details.dark.primaryImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The url of the primary image for this theme mode","uniqueKey":"details.dark.primaryImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.dark.primaryImageUrl","typeLabel":"string | null"},"secondaryImageUrl":{"oneOf":[{"type":"string","description":"The url of the secondary image for this theme mode","uniqueKey":"details.dark.secondaryImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The url of the secondary image for this theme mode","uniqueKey":"details.dark.secondaryImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"details.dark.secondaryImageUrl","typeLabel":"string | null"}},"description":"Dark theme images","uniqueKey":"details.dark","typeLabel":"object"}},"description":"Input for updating entity details with all fields optional","title":"Details Update Input","uniqueKey":"details","typeLabel":"Details Update Input · object"},"assetsSupply":{"oneOf":[{"type":"number","description":"The total supply of assets available for this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.","minimum":0,"uniqueKey":"assetsSupply.oneOf.0","typeLabel":"number"},{"type":"string","description":"The total supply of assets available for this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.","const":"Infinity","uniqueKey":"assetsSupply.oneOf.1","typeLabel":"string"},{"type":"null","description":"The total supply of assets available for this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.","uniqueKey":"assetsSupply.oneOf.2","typeLabel":"null"}],"uniqueKey":"assetsSupply","typeLabel":"number | string | null"},"entriesSupply":{"oneOf":[{"type":"number","description":"The total supply of entries available for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.","minimum":0,"uniqueKey":"entriesSupply.oneOf.0","typeLabel":"number"},{"type":"string","description":"The total supply of entries available for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.","const":"Infinity","uniqueKey":"entriesSupply.oneOf.1","typeLabel":"string"},{"type":"null","description":"The total supply of entries available for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.","uniqueKey":"entriesSupply.oneOf.2","typeLabel":"null"}],"uniqueKey":"entriesSupply","typeLabel":"number | string | null"},"maxAssetsPerUser":{"oneOf":[{"type":"number","description":"Maximum number of assets a single user can acquire through any distribution. Must be > 0 if allocationsType is assets-only or assets-and-entries. Optional, defaults to Infinity on Create.","minimum":1,"uniqueKey":"maxAssetsPerUser.oneOf.0","typeLabel":"number"},{"type":"string","description":"Maximum number of assets a single user can acquire through any distribution. Must be > 0 if allocationsType is assets-only or assets-and-entries. Optional, defaults to Infinity on Create.","const":"Infinity","uniqueKey":"maxAssetsPerUser.oneOf.1","typeLabel":"string"},{"type":"null","description":"Maximum number of assets a single user can acquire through any distribution. Must be > 0 if allocationsType is assets-only or assets-and-entries. Optional, defaults to Infinity on Create.","uniqueKey":"maxAssetsPerUser.oneOf.2","typeLabel":"null"}],"uniqueKey":"maxAssetsPerUser","typeLabel":"number | string | null"},"maxEntriesPerUser":{"oneOf":[{"type":"number","description":"Maximum number of entries a single user can acquire through any distribution. Must be > 0 if allocationsType is entries-only or assets-and-entries. Optional, defaults to Infinity on Create.","minimum":1,"uniqueKey":"maxEntriesPerUser.oneOf.0","typeLabel":"number"},{"type":"string","description":"Maximum number of entries a single user can acquire through any distribution. Must be > 0 if allocationsType is entries-only or assets-and-entries. Optional, defaults to Infinity on Create.","const":"Infinity","uniqueKey":"maxEntriesPerUser.oneOf.1","typeLabel":"string"},{"type":"null","description":"Maximum number of entries a single user can acquire through any distribution. Must be > 0 if allocationsType is entries-only or assets-and-entries. Optional, defaults to Infinity on Create.","uniqueKey":"maxEntriesPerUser.oneOf.2","typeLabel":"null"}],"uniqueKey":"maxEntriesPerUser","typeLabel":"number | string | null"},"allocations":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of this allocation","isRequired":true,"uniqueKey":"allocations.oneOf.0.items.[INDEX].id","typeLabel":"string"},"supply":{"oneOf":[{"type":"number","description":"The total supply of this allocation. Only used if isSharedAssetsSupply or isSharedEntriesSupply is false on the reward otherwise it should be 0.","minimum":0,"isRequired":true,"uniqueKey":"allocations.oneOf.0.items.[INDEX].supply.oneOf.0","typeLabel":"number"},{"type":"string","description":"The total supply of this allocation. Only used if isSharedAssetsSupply or isSharedEntriesSupply is false on the reward otherwise it should be 0.","const":"Infinity","isRequired":true,"uniqueKey":"allocations.oneOf.0.items.[INDEX].supply.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"allocations.oneOf.0.items.[INDEX].supply","typeLabel":"number | string"},"amountToDistribute":{"type":"number","minimum":1,"description":"The quantity of this specific reward to distribute when this allocation is selected. For example, if amountToDistribute is 3, then 3 units of this reward will be given to the recipient.","isRequired":true,"uniqueKey":"allocations.oneOf.0.items.[INDEX].amountToDistribute","typeLabel":"number"},"isShop":{"type":"boolean","description":"Whether this allocation is for the shop","isRequired":true,"uniqueKey":"allocations.oneOf.0.items.[INDEX].isShop","typeLabel":"boolean"},"isLive":{"type":"boolean","description":"Whether this allocation is live","isRequired":true,"uniqueKey":"allocations.oneOf.0.items.[INDEX].isLive","typeLabel":"boolean"}},"required":["id","supply","amountToDistribute","isShop","isLive"],"uniqueKey":"allocations.oneOf.0.items.[INDEX]","typeLabel":"object"},"uniqueKey":"allocations.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of this allocation"},"supply":{"oneOf":[{"type":"number","description":"The total supply of this allocation. Only used if isSharedAssetsSupply or isSharedEntriesSupply is false on the reward otherwise it should be 0.","minimum":0},{"type":"string","description":"The total supply of this allocation. Only used if isSharedAssetsSupply or isSharedEntriesSupply is false on the reward otherwise it should be 0.","const":"Infinity"}]},"amountToDistribute":{"type":"number","minimum":1,"description":"The quantity of this specific reward to distribute when this allocation is selected. For example, if amountToDistribute is 3, then 3 units of this reward will be given to the recipient."},"isShop":{"type":"boolean","description":"Whether this allocation is for the shop"},"isLive":{"type":"boolean","description":"Whether this allocation is live"}},"required":["id","supply","amountToDistribute","isShop","isLive"]},"uniqueKey":"allocations.oneOf.1","typeLabel":"null"}],"uniqueKey":"allocations","typeLabel":"object[] | null"},"metadata":{"oneOf":[{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.3.items.[INDEX].oneOf.2","typeLabel":"boolean"}],"uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.3.items.[INDEX]","typeLabel":"string | number | boolean"},"uniqueKey":"metadata.oneOf.0.additionalProperties.oneOf.3","typeLabel":"(string | number | boolean)[]"}],"uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string | number | boolean | (string | number | boolean)[]"},"description":"Additional metadata to store with the reward","uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"metadata.oneOf.1.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.oneOf.1.additionalProperties.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"metadata.oneOf.1.additionalProperties.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"metadata.oneOf.1.additionalProperties.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.oneOf.1.additionalProperties.oneOf.3.items.[INDEX].oneOf.2","typeLabel":"boolean"}],"uniqueKey":"metadata.oneOf.1.additionalProperties.oneOf.3.items.[INDEX]","typeLabel":"string | number | boolean"},"uniqueKey":"metadata.oneOf.1.additionalProperties.oneOf.3","typeLabel":"(string | number | boolean)[]"}],"uniqueKey":"metadata.oneOf.1.additionalProperties","typeLabel":"string | number | boolean | (string | number | boolean)[]"},"description":"Additional metadata to store with the reward","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"}},"description":"The input required to update a reward","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"additionalCommunityIds":["\u003cstring>"],"assetPointsPrice":1,"isManualGiveaway":true,"entryPointsPrice":1,"isSharedAssetsSupply":true,"isSharedEntriesSupply":true,"redemptionConfig":{"type":"rich-text","additionalInformation":[{"variableConfigId":"\u003cstring>","required":true,"position":2}],"autoRedeem":false,"content":"\u003cstring>","instructions":"\u003cstring>","instructionsImageUrl":"\u003cstring>","supportEmail":"jsmith@example.com","supportPhoneNumber":"\u003cstring>","supportUrl":"\u003cstring>","redeemByDate":"\u003cstring>"},"tags":["\u003cstring>"],"campaigns":["\u003cstring>"],"featured":true,"startsAt":"\u003cstring>","expiresAt":"\u003cstring>","drawsAt":"\u003cstring>","isGlobalTemplate":true,"availableAsTemplateForOrganisations":["\u003cstring>"],"details":{"title":"\u003cstring>","description":"\u003cstring>","light":{"primaryImageUrl":"\u003cstring>","secondaryImageUrl":"\u003cstring>"},"dark":{"primaryImageUrl":"\u003cstring>","secondaryImageUrl":"\u003cstring>"}},"assetsSupply":1,"entriesSupply":1,"maxAssetsPerUser":2,"maxEntriesPerUser":2,"allocations":[{"id":"\u003cstring>","supply":1,"amountToDistribute":2,"isShop":true,"isLive":true}],"metadata":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"0a930c81-558c-4fed-9632-bc5a677adefa":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the reward","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"organisationId":{"type":"string","description":"The organisation this reward belongs to","isRequired":true,"uniqueKey":"organisationId","typeLabel":"string"},"communityId":{"type":"string","description":"The community this reward belongs to","isRequired":true,"uniqueKey":"communityId","typeLabel":"string"},"additionalCommunityIds":{"type":"array","items":{"type":"string","uniqueKey":"additionalCommunityIds.items.[INDEX]","typeLabel":"string"},"description":"The additional communities this reward is available in","isRequired":true,"uniqueKey":"additionalCommunityIds","typeLabel":"string[]"},"details":{"type":"object","properties":{"title":{"type":"string","description":"The title of the entity","isRequired":true,"uniqueKey":"details.title","typeLabel":"string"},"description":{"oneOf":[{"type":"string","description":"The description of the entity","isRequired":true,"uniqueKey":"details.description.oneOf.0","typeLabel":"string"},{"type":"null","description":"The description of the entity","isRequired":true,"uniqueKey":"details.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"details.description","typeLabel":"string | null"},"light":{"type":"object","properties":{"primaryImageUrl":{"oneOf":[{"type":"string","description":"The url of the primary image for this theme mode","isRequired":true,"uniqueKey":"details.light.primaryImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The url of the primary image for this theme mode","isRequired":true,"uniqueKey":"details.light.primaryImageUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"details.light.primaryImageUrl","typeLabel":"string | null"},"secondaryImageUrl":{"oneOf":[{"type":"string","description":"The url of the secondary image for this theme mode","isRequired":true,"uniqueKey":"details.light.secondaryImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The url of the secondary image for this theme mode","isRequired":true,"uniqueKey":"details.light.secondaryImageUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"details.light.secondaryImageUrl","typeLabel":"string | null"}},"required":["primaryImageUrl","secondaryImageUrl"],"description":"Light theme images","isRequired":true,"uniqueKey":"details.light","typeLabel":"object"},"dark":{"type":"object","properties":{"primaryImageUrl":{"oneOf":[{"type":"string","description":"The url of the primary image for this theme mode","isRequired":true,"uniqueKey":"details.dark.primaryImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The url of the primary image for this theme mode","isRequired":true,"uniqueKey":"details.dark.primaryImageUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"details.dark.primaryImageUrl","typeLabel":"string | null"},"secondaryImageUrl":{"oneOf":[{"type":"string","description":"The url of the secondary image for this theme mode","isRequired":true,"uniqueKey":"details.dark.secondaryImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The url of the secondary image for this theme mode","isRequired":true,"uniqueKey":"details.dark.secondaryImageUrl.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"details.dark.secondaryImageUrl","typeLabel":"string | null"}},"required":["primaryImageUrl","secondaryImageUrl"],"description":"Dark theme images","isRequired":true,"uniqueKey":"details.dark","typeLabel":"object"}},"required":["title","description","light","dark"],"description":"Used to describe an entity","title":"Details","isRequired":true,"uniqueKey":"details","typeLabel":"Details · object"},"assetPointsPrice":{"type":"number","minimum":0,"description":"The points cost to acquire one asset of this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.","isRequired":true,"uniqueKey":"assetPointsPrice","typeLabel":"number"},"assetPointsSwapValue":{"type":"number","minimum":0,"description":"[Not yet implemented] The points value received when swapping this reward asset back. If 0, asset cannot be swapped.","isRequired":true,"uniqueKey":"assetPointsSwapValue","typeLabel":"number"},"entryPointsPrice":{"type":"number","minimum":0,"description":"The points cost to acquire one entry for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.","isRequired":true,"uniqueKey":"entryPointsPrice","typeLabel":"number"},"assetsSupply":{"oneOf":[{"type":"number","description":"The total supply of assets available for this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.","minimum":0,"isRequired":true,"uniqueKey":"assetsSupply.oneOf.0","typeLabel":"number"},{"type":"string","description":"The total supply of assets available for this reward. Must be > 0 if allocationsType is assets-only or assets-and-entries.","const":"Infinity","isRequired":true,"uniqueKey":"assetsSupply.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"assetsSupply","typeLabel":"number | string"},"entriesSupply":{"oneOf":[{"type":"number","description":"The total supply of entries available for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.","minimum":0,"isRequired":true,"uniqueKey":"entriesSupply.oneOf.0","typeLabel":"number"},{"type":"string","description":"The total supply of entries available for this reward. Must be > 0 if allocationsType is entries-only or assets-and-entries.","const":"Infinity","isRequired":true,"uniqueKey":"entriesSupply.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"entriesSupply","typeLabel":"number | string"},"maxAssetsPerUser":{"oneOf":[{"type":"number","description":"Maximum number of assets a single user can acquire through any distribution. Must be > 0 if allocationsType is assets-only or assets-and-entries.","minimum":1,"isRequired":true,"uniqueKey":"maxAssetsPerUser.oneOf.0","typeLabel":"number"},{"type":"string","description":"Maximum number of assets a single user can acquire through any distribution. Must be > 0 if allocationsType is assets-only or assets-and-entries.","const":"Infinity","isRequired":true,"uniqueKey":"maxAssetsPerUser.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"maxAssetsPerUser","typeLabel":"number | string"},"maxEntriesPerUser":{"oneOf":[{"type":"number","description":"Maximum number of entries a single user can acquire through any distribution. Must be > 0 if allocationsType is entries-only or assets-and-entries.","minimum":1,"isRequired":true,"uniqueKey":"maxEntriesPerUser.oneOf.0","typeLabel":"number"},{"type":"string","description":"Maximum number of entries a single user can acquire through any distribution. Must be > 0 if allocationsType is entries-only or assets-and-entries.","const":"Infinity","isRequired":true,"uniqueKey":"maxEntriesPerUser.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"maxEntriesPerUser","typeLabel":"number | string"},"allocationsType":{"type":"string","enum":["assets-only","entries-only","assets-and-entries"],"description":"The type of allocations for this reward. assets-only means only assets are allocable, entries-only means only entries are allocable, and assets-and-entries means both assets and entries are allocable.","isRequired":true,"uniqueKey":"allocationsType","typeLabel":"enum\u003cstring>"},"isSharedAssetsSupply":{"type":"boolean","description":"Whether the assets supply is shared across allocations. If true, the total supply of assets across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.","isRequired":true,"uniqueKey":"isSharedAssetsSupply","typeLabel":"boolean"},"isSharedEntriesSupply":{"type":"boolean","description":"Whether the entries supply is shared across allocations. If true, the total supply of entries across all allocations will be capped at the value set here. If false, each allocation will use its own supply value.","isRequired":true,"uniqueKey":"isSharedEntriesSupply","typeLabel":"boolean"},"allocations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"The ID of this allocation","isRequired":true,"uniqueKey":"allocations.items.[INDEX].id","typeLabel":"string"},"allocationType":{"type":"string","enum":["assets","entries"],"description":"The type of allocation, either assets or entries. If the reward has a type of assets-and-entries, this allocation can have both assets and entries. Otherwise, it can only have one type matching the reward's allocation type.","isRequired":true,"uniqueKey":"allocations.items.[INDEX].allocationType","typeLabel":"enum\u003cstring>"},"supply":{"oneOf":[{"type":"number","description":"The total supply of this allocation. Only used if isSharedAssetsSupply or isSharedEntriesSupply is false on the reward.","minimum":0,"isRequired":true,"uniqueKey":"allocations.items.[INDEX].supply.oneOf.0","typeLabel":"number"},{"type":"string","description":"The total supply of this allocation. Only used if isSharedAssetsSupply or isSharedEntriesSupply is false on the reward.","const":"Infinity","isRequired":true,"uniqueKey":"allocations.items.[INDEX].supply.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"allocations.items.[INDEX].supply","typeLabel":"number | string"},"amountToDistribute":{"type":"number","minimum":1,"description":"The quantity of this specific reward to distribute when this allocation is selected. For example, if amountToDistribute is 3, then 3 units of this reward will be given to the recipient.","isRequired":true,"uniqueKey":"allocations.items.[INDEX].amountToDistribute","typeLabel":"number"},"distributed":{"type":"number","minimum":0,"description":"The amount already distributed for this allocation","isRequired":true,"uniqueKey":"allocations.items.[INDEX].distributed","typeLabel":"number"},"isShop":{"type":"boolean","description":"Whether this allocation is for the shop","isRequired":true,"uniqueKey":"allocations.items.[INDEX].isShop","typeLabel":"boolean"},"isLive":{"type":"boolean","description":"Whether this allocation is live","isRequired":true,"uniqueKey":"allocations.items.[INDEX].isLive","typeLabel":"boolean"}},"required":["id","allocationType","supply","amountToDistribute","distributed","isShop","isLive"],"description":"A reward allocation","title":"RewardAllocation","uniqueKey":"allocations.items.[INDEX]","typeLabel":"RewardAllocation · object"},"description":"The allocations configured for this reward","isRequired":true,"uniqueKey":"allocations","typeLabel":"RewardAllocation · object[]"},"redemptionConfig":{"oneOf":[{"type":"object","title":"RewardRedemptionConfigRichText","description":"A reward redemption config rich text","required":["type","additionalInformation","autoRedeem","content"],"properties":{"type":{"type":"string","const":"rich-text","description":"Rich text redemption config","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.type","typeLabel":"string"},"additionalInformation":{"type":"array","items":{"type":"object","properties":{"variableConfigId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The ID of the variable config that defines the data type, validation rules, and UI rendering","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.additionalInformation.items.[INDEX].variableConfigId","typeLabel":"string"},"required":{"type":"boolean","description":"Whether this variable must be filled out by the user before proceeding","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.additionalInformation.items.[INDEX].required","typeLabel":"boolean"},"position":{"type":"number","minimum":1,"description":"The display order position of this variable in the form or UI","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.additionalInformation.items.[INDEX].position","typeLabel":"number"}},"required":["variableConfigId","required","position"],"title":"Variable Config Reference","description":"A reference to a variable configuration that defines a form field or data collection point, including its display order, requirement status, and validation rules. Used to specify what information to collect from users in forms, communities, and other data collection contexts.","uniqueKey":"redemptionConfig.oneOf.0.additionalInformation.items.[INDEX]","typeLabel":"Variable Config Reference · object"},"description":"Configurable form fields to collect additional user information when user redeems the reward. Each field (e.g., email, phone, address) is defined by a variable config that specifies its type, validation rules, and display order.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.additionalInformation","typeLabel":"Variable Config Reference · object[]"},"autoRedeem":{"type":"boolean","description":"Whether the reward should be automatically redeemed when claimed","example":false,"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.autoRedeem","typeLabel":"boolean"},"content":{"type":"string","description":"The rich text content. HTML is supported.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0.content","typeLabel":"string"},"instructions":{"oneOf":[{"type":"string","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.0.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.0.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.instructions","typeLabel":"string | null"},"instructionsImageUrl":{"oneOf":[{"type":"string","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.0.instructionsImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.0.instructionsImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.instructionsImageUrl","typeLabel":"string | null"},"supportEmail":{"oneOf":[{"type":"string","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.supportEmail","typeLabel":"string\u003cemail> | null"},"supportPhoneNumber":{"oneOf":[{"type":"string","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportPhoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.supportPhoneNumber","typeLabel":"string | null"},"supportUrl":{"oneOf":[{"type":"string","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.0.supportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.supportUrl","typeLabel":"string | null"},"redeemByDate":{"oneOf":[{"type":"string","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.0.redeemByDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.0.redeemByDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.0.redeemByDate","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.0","typeLabel":"RewardRedemptionConfigRichText · object"},{"type":"object","title":"RewardRedemptionConfigCode","description":"A reward redemption config code","required":["type","additionalInformation","autoRedeem","displayMode","store"],"properties":{"type":{"type":"string","const":"code","description":"Code redemption config","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.type","typeLabel":"string"},"additionalInformation":{"type":"array","items":{"type":"object","properties":{"variableConfigId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The ID of the variable config that defines the data type, validation rules, and UI rendering","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.additionalInformation.items.[INDEX].variableConfigId","typeLabel":"string"},"required":{"type":"boolean","description":"Whether this variable must be filled out by the user before proceeding","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.additionalInformation.items.[INDEX].required","typeLabel":"boolean"},"position":{"type":"number","minimum":1,"description":"The display order position of this variable in the form or UI","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.additionalInformation.items.[INDEX].position","typeLabel":"number"}},"required":["variableConfigId","required","position"],"title":"Variable Config Reference","description":"A reference to a variable configuration that defines a form field or data collection point, including its display order, requirement status, and validation rules. Used to specify what information to collect from users in forms, communities, and other data collection contexts.","uniqueKey":"redemptionConfig.oneOf.1.additionalInformation.items.[INDEX]","typeLabel":"Variable Config Reference · object"},"description":"Configurable form fields to collect additional user information when user redeems the reward. Each field (e.g., email, phone, address) is defined by a variable config that specifies its type, validation rules, and display order.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.additionalInformation","typeLabel":"Variable Config Reference · object[]"},"autoRedeem":{"type":"boolean","description":"Whether the reward should be automatically redeemed when claimed","example":false,"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.autoRedeem","typeLabel":"boolean"},"displayMode":{"type":"string","enum":["text","link","barcode-code128","barcode-code39","barcode-code39ext","barcode-upca","barcode-upce","barcode-ean13","barcode-ean8","barcode-ean5","barcode-ean2","barcode-itf14","barcode-interleaved2of5","barcode-qr","barcode-datamatrix","barcode-pdf417","barcode-azteccode","shopify-code-and-store-link","shopify-checkout-link"],"description":"Display mode for code redemption","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.displayMode","typeLabel":"enum\u003cstring>"},"store":{"type":"string","enum":["none","mongodb"],"description":"The store where the code can be retrieved","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1.store","typeLabel":"enum\u003cstring>"},"instructions":{"oneOf":[{"type":"string","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.1.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.1.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.instructions","typeLabel":"string | null"},"instructionsImageUrl":{"oneOf":[{"type":"string","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.1.instructionsImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.1.instructionsImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.instructionsImageUrl","typeLabel":"string | null"},"supportEmail":{"oneOf":[{"type":"string","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.supportEmail","typeLabel":"string\u003cemail> | null"},"supportPhoneNumber":{"oneOf":[{"type":"string","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportPhoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.supportPhoneNumber","typeLabel":"string | null"},"supportUrl":{"oneOf":[{"type":"string","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.1.supportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.supportUrl","typeLabel":"string | null"},"redeemByDate":{"oneOf":[{"type":"string","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.1.redeemByDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.1.redeemByDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.redeemByDate","typeLabel":"string | null"},"prefix":{"oneOf":[{"type":"string","uniqueKey":"redemptionConfig.oneOf.1.prefix.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"redemptionConfig.oneOf.1.prefix.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.prefix","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","description":"The code to redeem","uniqueKey":"redemptionConfig.oneOf.1.code.oneOf.0","typeLabel":"string"},{"type":"null","description":"The code to redeem","uniqueKey":"redemptionConfig.oneOf.1.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.1.code","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.1","typeLabel":"RewardRedemptionConfigCode · object"},{"type":"object","title":"Reward Redemption Config Badge","description":"A reward redemption config for badges","required":["type","additionalInformation","autoRedeem"],"properties":{"type":{"type":"string","const":"badge","description":"Badge redemption config","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.type","typeLabel":"string"},"additionalInformation":{"type":"array","items":{"type":"object","properties":{"variableConfigId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The ID of the variable config that defines the data type, validation rules, and UI rendering","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.additionalInformation.items.[INDEX].variableConfigId","typeLabel":"string"},"required":{"type":"boolean","description":"Whether this variable must be filled out by the user before proceeding","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.additionalInformation.items.[INDEX].required","typeLabel":"boolean"},"position":{"type":"number","minimum":1,"description":"The display order position of this variable in the form or UI","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.additionalInformation.items.[INDEX].position","typeLabel":"number"}},"required":["variableConfigId","required","position"],"title":"Variable Config Reference","description":"A reference to a variable configuration that defines a form field or data collection point, including its display order, requirement status, and validation rules. Used to specify what information to collect from users in forms, communities, and other data collection contexts.","uniqueKey":"redemptionConfig.oneOf.2.additionalInformation.items.[INDEX]","typeLabel":"Variable Config Reference · object"},"description":"Configurable form fields to collect additional user information when user redeems the reward. Each field (e.g., email, phone, address) is defined by a variable config that specifies its type, validation rules, and display order.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.additionalInformation","typeLabel":"Variable Config Reference · object[]"},"autoRedeem":{"type":"boolean","description":"Whether the reward should be automatically redeemed when claimed","example":false,"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2.autoRedeem","typeLabel":"boolean"},"instructions":{"oneOf":[{"type":"string","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.2.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.2.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.instructions","typeLabel":"string | null"},"instructionsImageUrl":{"oneOf":[{"type":"string","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.2.instructionsImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.2.instructionsImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.instructionsImageUrl","typeLabel":"string | null"},"supportEmail":{"oneOf":[{"type":"string","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.supportEmail","typeLabel":"string\u003cemail> | null"},"supportPhoneNumber":{"oneOf":[{"type":"string","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportPhoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.supportPhoneNumber","typeLabel":"string | null"},"supportUrl":{"oneOf":[{"type":"string","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.2.supportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.supportUrl","typeLabel":"string | null"},"redeemByDate":{"oneOf":[{"type":"string","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.2.redeemByDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.2.redeemByDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.2.redeemByDate","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.2","typeLabel":"Reward Redemption Config Badge · object"},{"type":"object","title":"RewardRedemptionConfigShopify","description":"A reward redemption config based on a Shopify discount","required":["type","additionalInformation","autoRedeem","displayMode","shopifyStoreLink","prefix","shopifyDiscountId"],"properties":{"type":{"type":"string","const":"shopify","description":"Shopify discount redemption config","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.type","typeLabel":"string"},"additionalInformation":{"type":"array","items":{"type":"object","properties":{"variableConfigId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","description":"The ID of the variable config that defines the data type, validation rules, and UI rendering","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.additionalInformation.items.[INDEX].variableConfigId","typeLabel":"string"},"required":{"type":"boolean","description":"Whether this variable must be filled out by the user before proceeding","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.additionalInformation.items.[INDEX].required","typeLabel":"boolean"},"position":{"type":"number","minimum":1,"description":"The display order position of this variable in the form or UI","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.additionalInformation.items.[INDEX].position","typeLabel":"number"}},"required":["variableConfigId","required","position"],"title":"Variable Config Reference","description":"A reference to a variable configuration that defines a form field or data collection point, including its display order, requirement status, and validation rules. Used to specify what information to collect from users in forms, communities, and other data collection contexts.","uniqueKey":"redemptionConfig.oneOf.3.additionalInformation.items.[INDEX]","typeLabel":"Variable Config Reference · object"},"description":"Configurable form fields to collect additional user information when user redeems the reward. Each field (e.g., email, phone, address) is defined by a variable config that specifies its type, validation rules, and display order.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.additionalInformation","typeLabel":"Variable Config Reference · object[]"},"autoRedeem":{"type":"boolean","description":"Whether the reward should be automatically redeemed when claimed","example":false,"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.autoRedeem","typeLabel":"boolean"},"displayMode":{"type":"string","enum":["text","link","barcode-code128","barcode-code39","barcode-code39ext","barcode-upca","barcode-upce","barcode-ean13","barcode-ean8","barcode-ean5","barcode-ean2","barcode-itf14","barcode-interleaved2of5","barcode-qr","barcode-datamatrix","barcode-pdf417","barcode-azteccode","shopify-code-and-store-link","shopify-checkout-link"],"description":"Display mode for Shopify discount redemption","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.displayMode","typeLabel":"enum\u003cstring>"},"shopifyStoreLink":{"type":"string","description":"The Shopify store URL to use for the discount redemption. Useful if the store has a custom domain, or you want to redirect to a specific product page.","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.shopifyStoreLink","typeLabel":"string"},"prefix":{"type":"string","description":"The prefix for the Shopify discount code","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.prefix","typeLabel":"string"},"shopifyDiscountId":{"type":"string","description":"The Shopify discount ID","isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3.shopifyDiscountId","typeLabel":"string"},"instructions":{"oneOf":[{"type":"string","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.3.instructions.oneOf.0","typeLabel":"string"},{"type":"null","description":"Instructions for redeeming this reward. HTML is supported.","uniqueKey":"redemptionConfig.oneOf.3.instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.instructions","typeLabel":"string | null"},"instructionsImageUrl":{"oneOf":[{"type":"string","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.3.instructionsImageUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of an image to display with the instructions","uniqueKey":"redemptionConfig.oneOf.3.instructionsImageUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.instructionsImageUrl","typeLabel":"string | null"},"supportEmail":{"oneOf":[{"type":"string","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportEmail.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"The email address of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportEmail.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.supportEmail","typeLabel":"string\u003cemail> | null"},"supportPhoneNumber":{"oneOf":[{"type":"string","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportPhoneNumber.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportPhoneNumber.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.supportPhoneNumber","typeLabel":"string | null"},"supportUrl":{"oneOf":[{"type":"string","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the support team","uniqueKey":"redemptionConfig.oneOf.3.supportUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.supportUrl","typeLabel":"string | null"},"redeemByDate":{"oneOf":[{"type":"string","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.3.redeemByDate.oneOf.0","typeLabel":"string"},{"type":"null","description":"The date by which the reward can be redeemed","uniqueKey":"redemptionConfig.oneOf.3.redeemByDate.oneOf.1","typeLabel":"null"}],"uniqueKey":"redemptionConfig.oneOf.3.redeemByDate","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"redemptionConfig.oneOf.3","typeLabel":"RewardRedemptionConfigShopify · object"}],"isRequired":true,"uniqueKey":"redemptionConfig","typeLabel":"RewardRedemptionConfigRichText · object | RewardRedemptionConfigCode · object | Reward Redemption Config Badge · object | RewardRedemptionConfigShopify · object"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"tags.items.[INDEX]","typeLabel":"string"},"description":"Tags associated with this reward","isRequired":true,"uniqueKey":"tags","typeLabel":"string[]"},"campaigns":{"type":"array","items":{"type":"string","uniqueKey":"campaigns.items.[INDEX]","typeLabel":"string"},"description":"Campaigns this reward is part of","isRequired":true,"uniqueKey":"campaigns","typeLabel":"string[]"},"status":{"type":"string","enum":["archived","draft","expired","live","scheduled"],"description":"The current status of this reward","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"isManualGiveaway":{"type":"boolean","description":"Whether the giveaway should be manual (true) or automatic (false)","isRequired":true,"uniqueKey":"isManualGiveaway","typeLabel":"boolean"},"availableAsTemplateForOrganisations":{"type":"array","items":{"type":"string","uniqueKey":"availableAsTemplateForOrganisations.items.[INDEX]","typeLabel":"string"},"description":"The organisations that the reward is available as a template for","isRequired":true,"uniqueKey":"availableAsTemplateForOrganisations","typeLabel":"string[]"},"isGlobalTemplate":{"type":"boolean","description":"Whether the reward is a global template","isRequired":true,"uniqueKey":"isGlobalTemplate","typeLabel":"boolean"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"metadata.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"metadata.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.additionalProperties.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"metadata.additionalProperties.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"metadata.additionalProperties.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"metadata.additionalProperties.oneOf.3.items.[INDEX].oneOf.2","typeLabel":"boolean"}],"uniqueKey":"metadata.additionalProperties.oneOf.3.items.[INDEX]","typeLabel":"string | number | boolean"},"uniqueKey":"metadata.additionalProperties.oneOf.3","typeLabel":"(string | number | boolean)[]"}],"uniqueKey":"metadata.additionalProperties","typeLabel":"string | number | boolean | (string | number | boolean)[]"},"description":"Additional metadata for the reward","isRequired":true,"uniqueKey":"metadata","typeLabel":"object"},"createdAt":{"type":"string","description":"When this reward was created","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string"},"updatedAt":{"type":"string","description":"When this reward was last updated","isRequired":true,"uniqueKey":"updatedAt","typeLabel":"string"},"createdBy":{"type":"string","description":"The user who created this reward","isRequired":true,"uniqueKey":"createdBy","typeLabel":"string"},"updatedBy":{"type":"string","description":"The user who last updated this reward","isRequired":true,"uniqueKey":"updatedBy","typeLabel":"string"},"featured":{"oneOf":[{"type":"boolean","description":"Whether this reward is featured","uniqueKey":"featured.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Whether this reward is featured","uniqueKey":"featured.oneOf.1","typeLabel":"null"}],"uniqueKey":"featured","typeLabel":"boolean | null"},"drawsAt":{"oneOf":[{"type":"string","description":"When this reward giveaway will be drawn","uniqueKey":"drawsAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"When this reward giveaway will be drawn","uniqueKey":"drawsAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"drawsAt","typeLabel":"string | null"},"startsAt":{"oneOf":[{"type":"string","description":"When this reward becomes available","uniqueKey":"startsAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"When this reward becomes available","uniqueKey":"startsAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"startsAt","typeLabel":"string | null"},"expiresAt":{"oneOf":[{"type":"string","description":"When this reward expires (or giveaway takes place)","uniqueKey":"expiresAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"When this reward expires (or giveaway takes place)","uniqueKey":"expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"expiresAt","typeLabel":"string | null"}},"required":["id","organisationId","communityId","additionalCommunityIds","details","assetPointsPrice","assetPointsSwapValue","entryPointsPrice","assetsSupply","entriesSupply","maxAssetsPerUser","maxEntriesPerUser","allocationsType","isSharedAssetsSupply","isSharedEntriesSupply","allocations","redemptionConfig","tags","campaigns","status","isManualGiveaway","availableAsTemplateForOrganisations","isGlobalTemplate","metadata","createdAt","updatedAt","createdBy","updatedBy"],"description":"A reward","title":"Reward","uniqueKey":"","typeLabel":"Reward · object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","organisationId":"\u003cstring>","communityId":"\u003cstring>","additionalCommunityIds":["\u003cstring>"],"details":{"title":"\u003cstring>","description":"\u003cstring>","light":{"primaryImageUrl":"\u003cstring>","secondaryImageUrl":"\u003cstring>"},"dark":{"primaryImageUrl":"\u003cstring>","secondaryImageUrl":"\u003cstring>"}},"assetPointsPrice":1,"assetPointsSwapValue":1,"entryPointsPrice":1,"assetsSupply":1,"entriesSupply":1,"maxAssetsPerUser":2,"maxEntriesPerUser":2,"allocationsType":"assets-only","isSharedAssetsSupply":true,"isSharedEntriesSupply":true,"allocations":[{"id":"\u003cstring>","allocationType":"assets","supply":1,"amountToDistribute":2,"distributed":1,"isShop":true,"isLive":true}],"redemptionConfig":{"type":"rich-text","additionalInformation":[{"variableConfigId":"\u003cstring>","required":true,"position":2}],"autoRedeem":false,"content":"\u003cstring>","instructions":"\u003cstring>","instructionsImageUrl":"\u003cstring>","supportEmail":"jsmith@example.com","supportPhoneNumber":"\u003cstring>","supportUrl":"\u003cstring>","redeemByDate":"\u003cstring>"},"tags":["\u003cstring>"],"campaigns":["\u003cstring>"],"status":"archived","isManualGiveaway":true,"availableAsTemplateForOrganisations":["\u003cstring>"],"isGlobalTemplate":true,"metadata":{},"createdAt":"\u003cstring>","updatedAt":"\u003cstring>","createdBy":"\u003cstring>","updatedBy":"\u003cstring>","featured":true,"drawsAt":"\u003cstring>","startsAt":"\u003cstring>","expiresAt":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5ab9dc34-16d6-497b-b68e-987ff31fc803":{"description":"Invalid input data","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Invalid input data","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"BAD_REQUEST","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Error","description":"The error information","example":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]},"uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"code":"BAD_REQUEST","message":"Invalid input data","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"},"b2e510bf-1ce2-4841-8bef-fab1cf87dfd9":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The error message","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"The error code","example":"INTERNAL_SERVER_ERROR","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"An array of issues that were responsible for the error","example":[],"uniqueKey":"issues","typeLabel":"object[]"}},"required":["message","code"],"title":"Error","description":"The error information","example":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]},"uniqueKey":"","typeLabel":"Error · object"},"examples":{"Example":{"title":"Example","value":{"code":"INTERNAL_SERVER_ERROR","message":"Internal server error","issues":[]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0d04aee5-14a8-4cbe-bdea-886653c3f242":{"ApiToken":{"type":"apiKey","in":"header","name":"x-api-token","scopes":[]}}},"servers":{"a3578f1c-2881-4c69-bd19-b47edca235fe":{"url":"https://{subdomain}.nudj.cx/api/v2/admin","description":"Organization API Server","variables":{"subdomain":{"description":"Your organization's subdomain (required)","default":"your-org"}}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-token","scopes":[]},"schema":{"title":"x-api-token","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiToken","name":"x-api-token"}],"title":"ApiToken"}]},"originalFileLocation":"openapi/admin.json"},"subdomain":"nudj","siteName":"Nudj Platform Documentation","title":"Update a reward by id - Nudj Platform Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-24T12:15:50.958Z","originalFileLocation":"api-reference/admin/post-rewards-id.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"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=\"Update a reward by id.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Nudj Platform Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a reward by id - Nudj Platform Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update a reward by id.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Nudj Platform Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nudj.cx/api-reference/admin/post-rewards-id\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nudj.mintlify.app/_mintlify/api/og/v2?division=Rewards\u0026amp;title=Update+a+reward+by+id\u0026amp;description=Update+a+reward+by+id.\u0026amp;theme=b38afa39b71556cd91c41f96\u0026amp;signature=c35ab9d207672f96e69f2ee290bfff753fe552591c984b612ab3d1753bba0381\">\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=\"Update a reward by id - Nudj Platform Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update a reward by id.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nudj.mintlify.app/_mintlify/api/og/v2?division=Rewards\u0026amp;title=Update+a+reward+by+id\u0026amp;description=Update+a+reward+by+id.\u0026amp;theme=b38afa39b71556cd91c41f96\u0026amp;signature=c35ab9d207672f96e69f2ee290bfff753fe552591c984b612ab3d1753bba0381\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/nudj/fATeH148tHvCQ7Cy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Nudj Platform Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8082A6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nudj.cx/api-reference/admin/post-rewards-id\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/admin/post-rewards-id.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nudj.cx/#organization\",\"name\":\"Nudj Platform Documentation\",\"url\":\"https://docs.nudj.cx\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nudj/Fh-MK3NeO4rWK1Z6/logo/nudj-logo.png?fit=max\u0026auto=format\u0026n=Fh-MK3NeO4rWK1Z6\u0026q=85\u0026s=7340cd62c3a41730e5ce025fd75c842b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nudj.cx#website\",\"name\":\"Nudj Platform Documentation\",\"url\":\"https://docs.nudj.cx\",\"publisher\":{\"@id\":\"https://docs.nudj.cx/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nudj.cx/api-reference/admin/post-rewards-id#webpage\",\"url\":\"https://docs.nudj.cx/api-reference/admin/post-rewards-id\",\"name\":\"Update a reward by id\",\"description\":\"Update a reward by id.\",\"dateModified\":\"2026-03-24T12:15:50.958Z\",\"isPartOf\":{\"@id\":\"https://docs.nudj.cx#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nudj.cx/api-reference/admin/post-rewards-id#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nudj.cx/api-reference/admin/post-rewards-id#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rewards\",\"item\":\"https://docs.nudj.cx/api-reference/admin/get-rewards\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update a reward by id\",\"item\":\"https://docs.nudj.cx/api-reference/admin/post-rewards-id\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nudj.cx/api-reference/admin/post-rewards-id#apireference\",\"headline\":\"Update a reward by id\",\"name\":\"Update a reward by id\",\"description\":\"Update a reward by id.\",\"url\":\"https://docs.nudj.cx/api-reference/admin/post-rewards-id\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nudj.cx/api-reference/admin/post-rewards-id#webpage\"},\"dateModified\":\"2026-03-24T12:15:50.958Z\",\"publisher\":{\"@id\":\"https://docs.nudj.cx/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nudj.cx#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Nudj Platform Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Nudj Platform Documentation","nav":{"global":null,"tabs":[{"tab":"Start","pages":[{"title":"Start","href":"/introduction"}]},{"tab":"What's New","pages":[{"title":"What's New","href":"/whats-new"}]},{"tab":"User Guide","pages":[{"title":"User Guide","href":"/user-guide/introduction"}]},{"tab":"Control Room","pages":[{"title":"Control Room","href":"/admin-guide/introduction"}]},{"tab":"Enterprise","pages":[{"title":"Enterprise","href":"/enterprise/platform-overview"}]},{"tab":"Shopify","pages":[{"title":"Shopify","href":"/shopify"}]},{"tab":"Developer","pages":[{"title":"Developer","href":"/api-reference/introduction"}]},{"tab":"Integration API","pages":[{"title":"Integration API","href":"/api-reference/integration/get-achievements"}]},{"tab":"Admin API","groups":[{"group":"Achievements","pages":[{"title":"Get paginated achievements","openapi":"openapi/admin.json GET /achievements","href":"/api-reference/admin/get-achievements"},{"title":"Get achievement by ID","openapi":"openapi/admin.json GET /achievements/{achievementId}","href":"/api-reference/admin/get-achievements-achievementId"},{"title":"Get a distribution details for an achievement","openapi":"openapi/admin.json GET /achievements/{achievementId}/distribution","href":"/api-reference/admin/get-achievements-achievementId-distribution"},{"title":"Create a new achievement","openapi":"openapi/admin.json POST /achievements","href":"/api-reference/admin/post-achievements"},{"title":"Assign a distribution details to an achievement","openapi":"openapi/admin.json POST /achievements/{achievementId}/distribution","href":"/api-reference/admin/post-achievements-achievementId-distribution"},{"title":"Update an achievement by id","openapi":"openapi/admin.json POST /achievements/{id}","href":"/api-reference/admin/post-achievements-id"}]},{"group":"Action Participations","pages":[{"title":"Get paginated action participations","openapi":"openapi/admin.json GET /action-participations","href":"/api-reference/admin/get-action-participations"},{"title":"Get action participation by ID","openapi":"openapi/admin.json GET /action-participations/{actionParticipationId}","href":"/api-reference/admin/get-action-participations-actionParticipationId"}]},{"group":"Actions","pages":[{"title":"Delete an action by id","openapi":"openapi/admin.json DELETE /actions/{id}","href":"/api-reference/admin/delete-actions-id"},{"title":"Get paginated actions","openapi":"openapi/admin.json GET /actions","href":"/api-reference/admin/get-actions"},{"title":"Get action by ID","openapi":"openapi/admin.json GET /actions/{actionId}","href":"/api-reference/admin/get-actions-actionId"},{"title":"Get a distribution details for an action","openapi":"openapi/admin.json GET /actions/{actionId}/distribution","href":"/api-reference/admin/get-actions-actionId-distribution"},{"title":"Reorder actions in a challenge","openapi":"openapi/admin.json PATCH /actions/reorder","href":"/api-reference/admin/patch-actions-reorder"},{"title":"Create a new action","openapi":"openapi/admin.json POST /actions","href":"/api-reference/admin/post-actions"},{"title":"Assign a distribution details to an action","openapi":"openapi/admin.json POST /actions/{actionId}/distribution","href":"/api-reference/admin/post-actions-actionId-distribution"},{"title":"Update an action by id","openapi":"openapi/admin.json POST /actions/{id}","href":"/api-reference/admin/post-actions-id"}]},{"group":"Auth Config","pages":[{"title":"Get auth configuration","openapi":"openapi/admin.json GET /auth-config","href":"/api-reference/admin/get-auth-config"},{"title":"Update auth configuration","openapi":"openapi/admin.json PATCH /auth-config","href":"/api-reference/admin/patch-auth-config"},{"title":"Revoke API token","openapi":"openapi/admin.json POST /auth-config/tokens/{tokenId}/revoke","href":"/api-reference/admin/post-auth-config-tokens-tokenId-revoke"}]},{"group":"Campaigns","pages":[{"title":"Get paginated campaigns","openapi":"openapi/admin.json GET /campaigns","href":"/api-reference/admin/get-campaigns"},{"title":"Get campaign by ID","openapi":"openapi/admin.json GET /campaigns/{id}","href":"/api-reference/admin/get-campaigns-id"},{"title":"Update an existing campaign","openapi":"openapi/admin.json PATCH /campaigns/{id}","href":"/api-reference/admin/patch-campaigns-id"},{"title":"Create a new campaign","openapi":"openapi/admin.json POST /campaigns","href":"/api-reference/admin/post-campaigns"}]},{"group":"Challenge Groups","pages":[{"title":"Get paginated challenge groups","openapi":"openapi/admin.json GET /challenge-groups","href":"/api-reference/admin/get-challenge-groups"},{"title":"Get challenge group by ID","openapi":"openapi/admin.json GET /challenge-groups/{id}","href":"/api-reference/admin/get-challenge-groups-id"},{"title":"Update a challenge group by id","openapi":"openapi/admin.json PATCH /challenge-groups/{id}","href":"/api-reference/admin/patch-challenge-groups-id"},{"title":"Create a new challenge group","openapi":"openapi/admin.json POST /challenge-groups","href":"/api-reference/admin/post-challenge-groups"}]},{"group":"Challenges","pages":[{"title":"Get paginated challenges","openapi":"openapi/admin.json GET /challenges","href":"/api-reference/admin/get-challenges"},{"title":"Get challenge by ID","openapi":"openapi/admin.json GET /challenges/{challengeId}","href":"/api-reference/admin/get-challenges-challengeId"},{"title":"Get a distribution details for a challenge","openapi":"openapi/admin.json GET /challenges/{challengeId}/distribution","href":"/api-reference/admin/get-challenges-challengeId-distribution"},{"title":"Create a new challenge","openapi":"openapi/admin.json POST /challenges","href":"/api-reference/admin/post-challenges"},{"title":"Assign a distribution details to a challenge","openapi":"openapi/admin.json POST /challenges/{challengeId}/distribution","href":"/api-reference/admin/post-challenges-challengeId-distribution"},{"title":"Update a challenge by id","openapi":"openapi/admin.json POST /challenges/{id}","href":"/api-reference/admin/post-challenges-id"}]},{"group":"Communities","pages":[{"title":"Get paginated communities","openapi":"openapi/admin.json GET /communities","href":"/api-reference/admin/get-communities"},{"title":"Get community by ID","openapi":"openapi/admin.json GET /communities/{communityId}","href":"/api-reference/admin/get-communities-communityId"},{"title":"Create a new community","openapi":"openapi/admin.json POST /communities","href":"/api-reference/admin/post-communities"},{"title":"Update a community by id","openapi":"openapi/admin.json POST /communities/{id}","href":"/api-reference/admin/post-communities-id"}]},{"group":"Domains","pages":[{"title":"Get domain configuration","openapi":"openapi/admin.json GET /domains","href":"/api-reference/admin/get-domains"},{"title":"Add a domain","openapi":"openapi/admin.json POST /domains","href":"/api-reference/admin/post-domains"},{"title":"Remove a domain","openapi":"openapi/admin.json POST /domains/remove","href":"/api-reference/admin/post-domains-remove"}]},{"group":"Events","pages":[{"title":"Create a new custom event","openapi":"openapi/admin.json POST /events/custom","href":"/api-reference/admin/post-events-custom"},{"title":"Create a new event link","openapi":"openapi/admin.json POST /events/custom/link","href":"/api-reference/admin/post-events-custom-link"}]},{"group":"Feature Flags","pages":[{"title":"Get all feature flags","openapi":"openapi/admin.json GET /feature-flags","href":"/api-reference/admin/get-feature-flags"},{"title":"Update feature flags","openapi":"openapi/admin.json PATCH /feature-flags","href":"/api-reference/admin/patch-feature-flags"}]},{"group":"Game","pages":[{"title":"Delete a game config by id","openapi":"openapi/admin.json DELETE /game-configs/{id}","href":"/api-reference/admin/delete-game-configs-id"},{"title":"Get paginated game configs","openapi":"openapi/admin.json GET /game-configs","href":"/api-reference/admin/get-game-configs"},{"title":"Get game config by ID","openapi":"openapi/admin.json GET /game-configs/{id}","href":"/api-reference/admin/get-game-configs-id"},{"title":"Update a game config","openapi":"openapi/admin.json PATCH /game-configs/{id}","href":"/api-reference/admin/patch-game-configs-id"},{"title":"Create a game config","openapi":"openapi/admin.json POST /game-configs","href":"/api-reference/admin/post-game-configs"}]},{"group":"Games","pages":[{"title":"Assign distribution details to a game config","openapi":"openapi/admin.json POST /games/{gameConfigId}/distribution","href":"/api-reference/admin/post-games-gameConfigId-distribution"}]},{"group":"Languages","pages":[{"title":"Get language configurations","openapi":"openapi/admin.json GET /languages","href":"/api-reference/admin/get-languages"},{"title":"Update language configuration","openapi":"openapi/admin.json POST /languages/{language}","href":"/api-reference/admin/post-languages-language"}]},{"group":"Leaderboards","pages":[{"title":"Get aggregated leaderboard data","openapi":"openapi/admin.json GET /leaderboards/{configId}/data","href":"/api-reference/admin/get-leaderboards-configId-data"},{"title":"Get paginated leaderboard configurations","openapi":"openapi/admin.json GET /leaderboards/configs","href":"/api-reference/admin/get-leaderboards-configs"},{"title":"Get leaderboard config by ID","openapi":"openapi/admin.json GET /leaderboards/configs/{leaderboardConfigId}","href":"/api-reference/admin/get-leaderboards-configs-leaderboardConfigId"},{"title":"Get distribution details for a leaderboard config","openapi":"openapi/admin.json GET /leaderboards/{leaderboardConfigId}/distribution","href":"/api-reference/admin/get-leaderboards-leaderboardConfigId-distribution"},{"title":"Update a leaderboard configuration","openapi":"openapi/admin.json PATCH /leaderboards/configs/{id}","href":"/api-reference/admin/patch-leaderboards-configs-id"},{"title":"Create a new leaderboard configuration","openapi":"openapi/admin.json POST /leaderboards","href":"/api-reference/admin/post-leaderboards"},{"title":"Create default leaderboard configs","openapi":"openapi/admin.json POST /leaderboards/default","href":"/api-reference/admin/post-leaderboards-default"},{"title":"Assign distribution details to a leaderboard config","openapi":"openapi/admin.json POST /leaderboards/{leaderboardConfigId}/distribution","href":"/api-reference/admin/post-leaderboards-leaderboardConfigId-distribution"}]},{"group":"Legal Policies","pages":[{"title":"Get legal policies","openapi":"openapi/admin.json GET /legal-policies","href":"/api-reference/admin/get-legal-policies"},{"title":"Update legal policies","openapi":"openapi/admin.json PATCH /legal-policies","href":"/api-reference/admin/patch-legal-policies"}]},{"group":"Organisations","pages":[{"title":"Get organisation by ID","openapi":"openapi/admin.json GET /organisations/{organisationId}","href":"/api-reference/admin/get-organisations-organisationId"},{"title":"Update an organisation","openapi":"openapi/admin.json PATCH /organisations/{id}","href":"/api-reference/admin/patch-organisations-id"},{"title":"Create a new organisation","openapi":"openapi/admin.json POST /organisations","href":"/api-reference/admin/post-organisations"}]},{"group":"Posts","pages":[{"title":"Get paginated posts","openapi":"openapi/admin.json GET /posts","href":"/api-reference/admin/get-posts"},{"title":"Get post by id","openapi":"openapi/admin.json GET /posts/{postId}","href":"/api-reference/admin/get-posts-postId"},{"title":"Create a new post","openapi":"openapi/admin.json POST /posts","href":"/api-reference/admin/post-posts"},{"title":"Update a post by id","openapi":"openapi/admin.json POST /posts/{id}","href":"/api-reference/admin/post-posts-id"}]},{"group":"Rewards","pages":[{"title":"Get paginated rewards","openapi":"openapi/admin.json GET /rewards","href":"/api-reference/admin/get-rewards"},{"title":"Get reward by ID","openapi":"openapi/admin.json GET /rewards/{rewardId}","href":"/api-reference/admin/get-rewards-rewardId"},{"title":"Get paginated reward entries for a specific reward","openapi":"openapi/admin.json GET /rewards/{rewardId}/entries","href":"/api-reference/admin/get-rewards-rewardId-entries"},{"title":"Get paginated reward redemption values for a specific reward","openapi":"openapi/admin.json GET /rewards/{rewardId}/redemption-values","href":"/api-reference/admin/get-rewards-rewardId-redemption-values"},{"title":"Create a reward","openapi":"openapi/admin.json POST /rewards","description":"Create a new reward.","href":"/api-reference/admin/post-rewards"},{"title":"Update a reward by id","openapi":"openapi/admin.json POST /rewards/{id}","href":"/api-reference/admin/post-rewards-id"},{"title":"Process manual reward distribution","openapi":"openapi/admin.json POST /rewards/manual-distribution","description":"Process a manual distirbution for a set of rewards to specific users.","href":"/api-reference/admin/post-rewards-manual-distribution"},{"title":"Process manual reward giveaway","openapi":"openapi/admin.json POST /rewards/{rewardId}/process-giveaway","href":"/api-reference/admin/post-rewards-rewardId-process-giveaway"},{"title":"Process reward redemption values from CSV","openapi":"openapi/admin.json POST /rewards/{rewardId}/redemption-values","href":"/api-reference/admin/post-rewards-rewardId-redemption-values"}]},{"group":"Streaks","pages":[{"title":"Get paginated streak configs","openapi":"openapi/admin.json GET /streaks/configs","href":"/api-reference/admin/get-streaks-configs"},{"title":"Get streak config by ID","openapi":"openapi/admin.json GET /streaks/configs/{id}","href":"/api-reference/admin/get-streaks-configs-id"},{"title":"Update a streak config by id","openapi":"openapi/admin.json PATCH /streaks/configs/{id}","href":"/api-reference/admin/patch-streaks-configs-id"}]},{"group":"Tags","pages":[{"title":"Delete a tag by id","openapi":"openapi/admin.json DELETE /tags/{id}","href":"/api-reference/admin/delete-tags-id"},{"title":"Get paginated tags","openapi":"openapi/admin.json GET /tags","href":"/api-reference/admin/get-tags"},{"title":"Get tag by ID","openapi":"openapi/admin.json GET /tags/{id}","href":"/api-reference/admin/get-tags-id"},{"title":"Update a tag by ID","openapi":"openapi/admin.json PATCH /tags/{id}","href":"/api-reference/admin/patch-tags-id"},{"title":"Create a new tag","openapi":"openapi/admin.json POST /tags","href":"/api-reference/admin/post-tags"}]},{"group":"Teams","pages":[{"title":"Remove a user from an organisation","openapi":"openapi/admin.json DELETE /teams/{userId}","href":"/api-reference/admin/delete-teams-userId"},{"title":"Get paginated team members","openapi":"openapi/admin.json GET /teams","href":"/api-reference/admin/get-teams"},{"title":"Invite users to an organisation","openapi":"openapi/admin.json POST /teams/invite","href":"/api-reference/admin/post-teams-invite"}]},{"group":"Templates","pages":[{"title":"Get paginated achievement templates","openapi":"openapi/admin.json GET /templates/achievements","href":"/api-reference/admin/get-templates-achievements"},{"title":"Get paginated action templates","openapi":"openapi/admin.json GET /templates/actions","href":"/api-reference/admin/get-templates-actions"},{"title":"Get paginated challenge templates","openapi":"openapi/admin.json GET /templates/challenges","href":"/api-reference/admin/get-templates-challenges"},{"title":"Get paginated community templates","openapi":"openapi/admin.json GET /templates/communities","href":"/api-reference/admin/get-templates-communities"},{"title":"Get paginated post templates","openapi":"openapi/admin.json GET /templates/posts","href":"/api-reference/admin/get-templates-posts"},{"title":"Get paginated reward templates","openapi":"openapi/admin.json GET /templates/rewards","href":"/api-reference/admin/get-templates-rewards"},{"title":"Create a new entity from a template","openapi":"openapi/admin.json POST /templates/create-entity","href":"/api-reference/admin/post-templates-create-entity"}]},{"group":"Themes","pages":[{"title":"Get theme configuration","openapi":"openapi/admin.json GET /themes","href":"/api-reference/admin/get-themes"},{"title":"Update theme configuration","openapi":"openapi/admin.json PATCH /themes","href":"/api-reference/admin/patch-themes"}]},{"group":"Third Party Config","pages":[{"title":"Get third party configuration","openapi":"openapi/admin.json GET /third-party-config","href":"/api-reference/admin/get-third-party-config"},{"title":"Update third party configuration","openapi":"openapi/admin.json PATCH /third-party-config","href":"/api-reference/admin/patch-third-party-config"},{"title":"Generate Shopify linking code","openapi":"openapi/admin.json POST /third-party-config/initiate-shopify-connection","href":"/api-reference/admin/post-third-party-config-initiate-shopify-connection"}]},{"group":"Users","pages":[{"title":"Delete user personal data","openapi":"openapi/admin.json DELETE /users/{id}","href":"/api-reference/admin/delete-users-id"},{"title":"Get paginated users","openapi":"openapi/admin.json GET /users","href":"/api-reference/admin/get-users"},{"title":"Get user by ID","openapi":"openapi/admin.json GET /users/{id}","href":"/api-reference/admin/get-users-id"},{"title":"Create user","openapi":"openapi/admin.json POST /users","href":"/api-reference/admin/post-users"},{"title":"Manage points transaction","openapi":"openapi/admin.json POST /users/{id}/points-transaction","href":"/api-reference/admin/post-users-id-points-transaction"},{"title":"Sync user to external account","openapi":"openapi/admin.json POST /users/sync-to-external-account","href":"/api-reference/admin/post-users-sync-to-external-account"}]},{"group":"Variables","pages":[{"title":"Get paginated variable configs","openapi":"openapi/admin.json GET /variables","href":"/api-reference/admin/get-variables"},{"title":"Get variable config by ID","openapi":"openapi/admin.json GET /variables/{variableConfigId}","href":"/api-reference/admin/get-variables-variableConfigId"},{"title":"Get paginated variable values for a specific variable config","openapi":"openapi/admin.json GET /variables/{variableConfigId}/values","href":"/api-reference/admin/get-variables-variableConfigId-values"},{"title":"Update an existing variable config","openapi":"openapi/admin.json PATCH /variables/{id}","href":"/api-reference/admin/patch-variables-id"},{"title":"Create a new variable config","openapi":"openapi/admin.json POST /variables","href":"/api-reference/admin/post-variables"}]},{"group":"Webhooks","pages":[{"title":"Get webhook configurations","openapi":"openapi/admin.json GET /webhooks/configs","href":"/api-reference/admin/get-webhooks-configs"},{"title":"Get paginated webhook logs","openapi":"openapi/admin.json GET /webhooks/logs","href":"/api-reference/admin/get-webhooks-logs"},{"title":"Update webhook configurations","openapi":"openapi/admin.json PUT /webhooks/configs","href":"/api-reference/admin/put-webhooks-configs"}]},{"group":"Xp","pages":[{"title":"Get XP configuration","openapi":"openapi/admin.json GET /xp-config","href":"/api-reference/admin/get-xp-config"},{"title":"Update XP configuration","openapi":"openapi/admin.json PATCH /xp-config","href":"/api-reference/admin/patch-xp-config"}]},{"group":"Achievement","pages":[{"title":"Get achievement by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /achievements/{achievementId}","href":"/api-reference/achievement/get-achievement-by-id"},{"title":"Get paginated achievements","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /achievements","href":"/api-reference/achievement/get-paginated-achievements"},{"title":"Create a new achievement","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /achievements","href":"/api-reference/achievement/create-a-new-achievement"},{"title":"Update an achievement by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /achievements/{id}","href":"/api-reference/achievement/update-an-achievement-by-id"},{"title":"Get a distribution details for an achievement","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /achievements/{achievementId}/distribution","href":"/api-reference/achievement/get-a-distribution-details-for-an-achievement"},{"title":"Assign a distribution details to an achievement","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /achievements/{achievementId}/distribution","href":"/api-reference/achievement/assign-a-distribution-details-to-an-achievement"}]},{"group":"Action Participation","pages":[{"title":"Get action participation by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /action-participations/{actionParticipationId}","href":"/api-reference/action-participation/get-action-participation-by-id"},{"title":"Get paginated action participations","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /action-participations","href":"/api-reference/action-participation/get-paginated-action-participations"}]},{"group":"Action","pages":[{"title":"Get paginated actions","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /actions","href":"/api-reference/action/get-paginated-actions"},{"title":"Create a new action","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /actions","href":"/api-reference/action/create-a-new-action"},{"title":"Update an action by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /actions/{id}","href":"/api-reference/action/update-an-action-by-id"},{"title":"Delete an action by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json delete /actions/{id}","href":"/api-reference/action/delete-an-action-by-id"},{"title":"Get action by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /actions/{actionId}","href":"/api-reference/action/get-action-by-id"},{"title":"Reorder actions in a challenge","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /actions/reorder","href":"/api-reference/action/reorder-actions-in-a-challenge"},{"title":"Get a distribution details for an action","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /actions/{actionId}/distribution","href":"/api-reference/action/get-a-distribution-details-for-an-action"},{"title":"Assign a distribution details to an action","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /actions/{actionId}/distribution","href":"/api-reference/action/assign-a-distribution-details-to-an-action"}]},{"group":"Auth Config","pages":[{"title":"Get auth configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /auth-config","href":"/api-reference/auth-config/get-auth-configuration"},{"title":"Update auth configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /auth-config","href":"/api-reference/auth-config/update-auth-configuration"},{"title":"Revoke API token","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /auth-config/tokens/{tokenId}/revoke","href":"/api-reference/auth-config/revoke-api-token"}]},{"group":"Community","pages":[{"title":"Get paginated communities","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /communities","href":"/api-reference/community/get-paginated-communities"},{"title":"Create a new community","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /communities","href":"/api-reference/community/create-a-new-community"},{"title":"Update a community by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /communities/{id}","href":"/api-reference/community/update-a-community-by-id"},{"title":"Get community by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /communities/{communityId}","href":"/api-reference/community/get-community-by-id"}]},{"group":"Challenge Group","pages":[{"title":"Get challenge group by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /challenge-groups/{id}","href":"/api-reference/challenge-group/get-challenge-group-by-id"},{"title":"Update a challenge group by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /challenge-groups/{id}","href":"/api-reference/challenge-group/update-a-challenge-group-by-id"},{"title":"Get paginated challenge groups","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /challenge-groups","href":"/api-reference/challenge-group/get-paginated-challenge-groups"},{"title":"Create a new challenge group","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /challenge-groups","href":"/api-reference/challenge-group/create-a-new-challenge-group"}]},{"group":"Challenge","pages":[{"title":"Get challenge by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /challenges/{challengeId}","href":"/api-reference/challenge/get-challenge-by-id"},{"title":"Get paginated challenges","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /challenges","href":"/api-reference/challenge/get-paginated-challenges"},{"title":"Create a new challenge","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /challenges","href":"/api-reference/challenge/create-a-new-challenge"},{"title":"Update a challenge by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /challenges/{id}","href":"/api-reference/challenge/update-a-challenge-by-id"},{"title":"Get a distribution details for a challenge","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /challenges/{challengeId}/distribution","href":"/api-reference/challenge/get-a-distribution-details-for-a-challenge"},{"title":"Assign a distribution details to a challenge","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /challenges/{challengeId}/distribution","href":"/api-reference/challenge/assign-a-distribution-details-to-a-challenge"}]},{"group":"Domains","pages":[{"title":"Get domain configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /domains","href":"/api-reference/domains/get-domain-configuration"},{"title":"Add a domain","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /domains","href":"/api-reference/domains/add-a-domain"},{"title":"Remove a domain","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /domains/remove","href":"/api-reference/domains/remove-a-domain"}]},{"group":"Event","pages":[{"title":"Create a new event link","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /events/custom/link","href":"/api-reference/event/create-a-new-event-link"},{"title":"Create a new custom event","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /events/custom","href":"/api-reference/event/create-a-new-custom-event"}]},{"group":"Feature Flags","pages":[{"title":"Get all feature flags","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /feature-flags","href":"/api-reference/feature-flags/get-all-feature-flags"},{"title":"Update feature flags","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /feature-flags","href":"/api-reference/feature-flags/update-feature-flags"}]},{"group":"Language","pages":[{"title":"Get language configurations","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /languages","href":"/api-reference/language/get-language-configurations"},{"title":"Update language configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /languages/{language}","href":"/api-reference/language/update-language-configuration"}]},{"group":"Leaderboard","pages":[{"title":"Create a new leaderboard configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /leaderboards","href":"/api-reference/leaderboard/create-a-new-leaderboard-configuration"},{"title":"Create default leaderboard configs","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /leaderboards/default","href":"/api-reference/leaderboard/create-default-leaderboard-configs"},{"title":"Get paginated leaderboard configurations","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /leaderboards/configs","href":"/api-reference/leaderboard/get-paginated-leaderboard-configurations"},{"title":"Get leaderboard config by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /leaderboards/configs/{leaderboardConfigId}","href":"/api-reference/leaderboard/get-leaderboard-config-by-id"},{"title":"Export fresh leaderboard rankings","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /leaderboards/export","href":"/api-reference/leaderboard/export-fresh-leaderboard-rankings"},{"title":"Get aggregated leaderboard data","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /leaderboards/{configId}/data","href":"/api-reference/leaderboard/get-aggregated-leaderboard-data"},{"title":"Update a leaderboard configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /leaderboards/configs/{id}","href":"/api-reference/leaderboard/update-a-leaderboard-configuration"},{"title":"Get distribution details for a leaderboard config","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /leaderboards/{leaderboardConfigId}/distribution","href":"/api-reference/leaderboard/get-distribution-details-for-a-leaderboard-config"},{"title":"Assign distribution details to a leaderboard config","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /leaderboards/{leaderboardConfigId}/distribution","href":"/api-reference/leaderboard/assign-distribution-details-to-a-leaderboard-config"}]},{"group":"Legal Policies","pages":[{"title":"Get legal policies","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /legal-policies","href":"/api-reference/legal-policies/get-legal-policies"},{"title":"Update legal policies","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /legal-policies","href":"/api-reference/legal-policies/update-legal-policies"}]},{"group":"Organisation","pages":[{"title":"Create a new organisation","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /organisations","href":"/api-reference/organisation/create-a-new-organisation"},{"title":"Get organisation by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /organisations/{organisationId}","href":"/api-reference/organisation/get-organisation-by-id"},{"title":"Update an organisation","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /organisations/{id}","href":"/api-reference/organisation/update-an-organisation"}]},{"group":"Post","pages":[{"title":"Get paginated posts","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /posts","href":"/api-reference/post/get-paginated-posts"},{"title":"Create a new post","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /posts","href":"/api-reference/post/create-a-new-post"},{"title":"Get post by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /posts/{postId}","href":"/api-reference/post/get-post-by-id"},{"title":"Update a post by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /posts/{id}","href":"/api-reference/post/update-a-post-by-id"}]},{"group":"Reward","pages":[{"title":"Process manual reward distribution","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /rewards/manual-distribution","href":"/api-reference/reward/process-manual-reward-distribution"},{"title":"Get reward by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /rewards/{rewardId}","href":"/api-reference/reward/get-reward-by-id"},{"title":"Get paginated rewards","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /rewards","href":"/api-reference/reward/get-paginated-rewards"},{"title":"Create a reward","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /rewards","href":"/api-reference/reward/create-a-reward"},{"title":"Get paginated reward entries for a specific reward","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /rewards/{rewardId}/entries","href":"/api-reference/reward/get-paginated-reward-entries-for-a-specific-reward"},{"title":"Get paginated reward redemption values for a specific reward","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /rewards/{rewardId}/redemption-values","href":"/api-reference/reward/get-paginated-reward-redemption-values-for-a-specific-reward"},{"title":"Process reward redemption values from CSV","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /rewards/{rewardId}/redemption-values","href":"/api-reference/reward/process-reward-redemption-values-from-csv"},{"title":"Process manual reward giveaway","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /rewards/{rewardId}/process-giveaway","href":"/api-reference/reward/process-manual-reward-giveaway"},{"title":"Update a reward by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /rewards/{id}","href":"/api-reference/reward/update-a-reward-by-id"}]},{"group":"Game Config","pages":[{"title":"Get paginated game configs","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /game-configs","href":"/api-reference/game-config/get-paginated-game-configs"},{"title":"Create a game config","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /game-configs","href":"/api-reference/game-config/create-a-game-config"},{"title":"Get game config by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /game-configs/{id}","href":"/api-reference/game-config/get-game-config-by-id"},{"title":"Delete a game config by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json delete /game-configs/{id}","href":"/api-reference/game-config/delete-a-game-config-by-id"},{"title":"Update a game config","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /game-configs/{id}","href":"/api-reference/game-config/update-a-game-config"},{"title":"Assign distribution details to a game config","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /games/{gameConfigId}/distribution","href":"/api-reference/game-config/assign-distribution-details-to-a-game-config"}]},{"group":"Streak","pages":[{"title":"Get paginated streak configs","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /streaks/configs","href":"/api-reference/streak/get-paginated-streak-configs"},{"title":"Get streak config by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /streaks/configs/{id}","href":"/api-reference/streak/get-streak-config-by-id"},{"title":"Update a streak config by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /streaks/configs/{id}","href":"/api-reference/streak/update-a-streak-config-by-id"}]},{"group":"Tag","pages":[{"title":"Get paginated tags","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /tags","href":"/api-reference/tag/get-paginated-tags"},{"title":"Create a new tag","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /tags","href":"/api-reference/tag/create-a-new-tag"},{"title":"Get tag by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /tags/{id}","href":"/api-reference/tag/get-tag-by-id"},{"title":"Delete a tag by id","deprecated":null,"version":null,"openapi":"/openapi/admin.json delete /tags/{id}","href":"/api-reference/tag/delete-a-tag-by-id"},{"title":"Update a tag by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /tags/{id}","href":"/api-reference/tag/update-a-tag-by-id"}]},{"group":"Team","pages":[{"title":"Get paginated team members","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /teams","href":"/api-reference/team/get-paginated-team-members"},{"title":"Invite users to an organisation","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /teams/invite","href":"/api-reference/team/invite-users-to-an-organisation"},{"title":"Remove a user from an organisation","deprecated":null,"version":null,"openapi":"/openapi/admin.json delete /teams/{userId}","href":"/api-reference/team/remove-a-user-from-an-organisation"}]},{"group":"Templates","pages":[{"title":"Create a new entity from a template","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /templates/create-entity","href":"/api-reference/templates/create-a-new-entity-from-a-template"},{"title":"Get paginated community templates","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /templates/communities","href":"/api-reference/templates/get-paginated-community-templates"},{"title":"Get paginated action templates","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /templates/actions","href":"/api-reference/templates/get-paginated-action-templates"},{"title":"Get paginated challenge templates","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /templates/challenges","href":"/api-reference/templates/get-paginated-challenge-templates"},{"title":"Get paginated achievement templates","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /templates/achievements","href":"/api-reference/templates/get-paginated-achievement-templates"},{"title":"Get paginated reward templates","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /templates/rewards","href":"/api-reference/templates/get-paginated-reward-templates"},{"title":"Get paginated post templates","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /templates/posts","href":"/api-reference/templates/get-paginated-post-templates"}]},{"group":"Theme","pages":[{"title":"Get theme configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /themes","href":"/api-reference/theme/get-theme-configuration"},{"title":"Update theme configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /themes","href":"/api-reference/theme/update-theme-configuration"}]},{"group":"Third Party Config","pages":[{"title":"Get third party configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /third-party-config","href":"/api-reference/third-party-config/get-third-party-configuration"},{"title":"Update third party configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /third-party-config","href":"/api-reference/third-party-config/update-third-party-configuration"}]},{"group":"Shopify","pages":[{"title":"Generate Shopify linking code","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /third-party-config/initiate-shopify-connection","href":"/api-reference/shopify/generate-shopify-linking-code"}]},{"group":"User","pages":[{"title":"Get paginated users","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /users","href":"/api-reference/user/get-paginated-users"},{"title":"Create user","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /users","href":"/api-reference/user/create-user"},{"title":"Get user by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /users/{id}","href":"/api-reference/user/get-user-by-id"},{"title":"Delete user personal data","deprecated":null,"version":null,"openapi":"/openapi/admin.json delete /users/{id}","href":"/api-reference/user/delete-user-personal-data"},{"title":"Manage points transaction","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /users/{id}/points-transaction","href":"/api-reference/user/manage-points-transaction"},{"title":"Sync user to external account","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /users/sync-to-external-account","href":"/api-reference/user/sync-user-to-external-account"}]},{"group":"Variable","pages":[{"title":"Get paginated variable configs","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /variables","href":"/api-reference/variable/get-paginated-variable-configs"},{"title":"Create a new variable config","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /variables","href":"/api-reference/variable/create-a-new-variable-config"},{"title":"Get paginated variable values for a specific variable config","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /variables/{variableConfigId}/values","href":"/api-reference/variable/get-paginated-variable-values-for-a-specific-variable-config"},{"title":"Get variable config by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /variables/{variableConfigId}","href":"/api-reference/variable/get-variable-config-by-id"},{"title":"Update an existing variable config","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /variables/{id}","href":"/api-reference/variable/update-an-existing-variable-config"}]},{"group":"Webhooks","pages":[{"title":"Get webhook configurations","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /webhooks/configs","href":"/api-reference/webhooks/get-webhook-configurations"},{"title":"Update webhook configurations","deprecated":null,"version":null,"openapi":"/openapi/admin.json put /webhooks/configs","href":"/api-reference/webhooks/update-webhook-configurations"},{"title":"Get paginated webhook logs","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /webhooks/logs","href":"/api-reference/webhooks/get-paginated-webhook-logs"}]},{"group":"XP Config","pages":[{"title":"Get XP configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /xp-config","href":"/api-reference/xp-config/get-xp-configuration"},{"title":"Update XP configuration","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /xp-config","href":"/api-reference/xp-config/update-xp-configuration"}]},{"group":"Campaign","pages":[{"title":"Get paginated campaigns","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /campaigns","href":"/api-reference/campaign/get-paginated-campaigns"},{"title":"Create a new campaign","deprecated":null,"version":null,"openapi":"/openapi/admin.json post /campaigns","href":"/api-reference/campaign/create-a-new-campaign"},{"title":"Get campaign by ID","deprecated":null,"version":null,"openapi":"/openapi/admin.json get /campaigns/{id}","href":"/api-reference/campaign/get-campaign-by-id"},{"title":"Update an existing campaign","deprecated":null,"version":null,"openapi":"/openapi/admin.json patch /campaigns/{id}","href":"/api-reference/campaign/update-an-existing-campaign"}]}]},{"tab":"Analytics API","pages":[{"title":"Analytics API","href":"/api-reference/analytics/get-achievements-stats-criteria-completion"}]}]},"basePath":"","title":"Update a reward by id - Nudj Platform Documentation","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}