Setting up a Reward Definition via the API before issuing rewards to profiles.
A Reward Definition is the template that describes a type of reward, its name, dollar value, expiry period, and behaviour. You create one Reward Definition per reward type, then issue reward instances to profiles from it.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Omneo API","colors":{"primary":"#FF6161","light":"#FF6161","dark":"#E04444"},"logo":{"light":"https://mintcdn.com/omneo/fFdVHCWce-qgKJ08/logo/light.svg?fit=max\u0026auto=format\u0026n=fFdVHCWce-qgKJ08\u0026q=85\u0026s=c68e59d64ae77bf2ac88c191b875b014","dark":"https://mintcdn.com/omneo/fFdVHCWce-qgKJ08/logo/dark.svg?fit=max\u0026auto=format\u0026n=fFdVHCWce-qgKJ08\u0026q=85\u0026s=800651cbcf5d77a7b130ae6928a7c590"},"favicon":"https://mintcdn.com/omneo/fFdVHCWce-qgKJ08/favicon.svg?fit=max\u0026auto=format\u0026n=fFdVHCWce-qgKJ08\u0026q=85\u0026s=7ccd4454f7329addccfd399fcdff7d7c","navbar":{"links":[{"href":"mailto:support@omneo.io","label":"Support"}],"primary":{"type":"button","label":"Get started","href":"https://docs.omneo.io/getting-started/what-is-omneo"}},"footer":{"socials":{"github":"https://github.com/omneo","linkedin":"https://linkedin.com/company/omneocx"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://omneo.io"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"omneo","hasAudioNarration":false,"actualSubdomain":"omneo","customDomains":["docs.omneo.io"],"gitSource":{"type":"github","owner":"omneo","repo":"omneo-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae284fb869b557826a233be","collectionId":"85873b5f-85c2-4c0f-90dd-c9745b35de39","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae284fb869b557826a233be"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae284fb869b557826a233be","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"API Reference","count":690},{"language":"default","tag":"Commerce","count":167},{"language":"default","tag":"Incentives","count":142},{"language":"default","tag":"Profiles","count":100},{"language":"default","tag":"Extensions","count":82},{"language":"default","tag":"Developers","count":78},{"language":"default","tag":"Configuration","count":73},{"language":"default","tag":"Concepts","count":62},{"language":"default","tag":"Reactions","count":54},{"language":"default","tag":"Platform","count":47}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@omneo.io"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"dev-guides/incentives/creating-a-reward-definition","slug":"/dev-guides/incentives/creating-a-reward-definition","pageMetadata":{"title":"Creating a Reward Definition","description":"Setting up a Reward Definition via the API before issuing rewards to profiles.","href":"/dev-guides/incentives/creating-a-reward-definition"},"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: \"Setting up a Reward Definition via the API before issuing rewards to profiles.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.strong,{children:`Reward Definition`}),` is the template that describes a type of reward, its name, dollar value, expiry period, and behaviour. You create one Reward Definition per reward type, then issue reward instances to profiles from it.`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-reward-definition`,children:`Create a reward definition`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`20`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.[tenant].getomneo.com/api/v3/rewards/definitions`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' \"Authorization: Bearer ${'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Birthday Reward\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"handle\": \"birthday-reward\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"value\": 20.00,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"birthday\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"period\": 30,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"A $20 birthday reward valid for 30 days.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"short_description\": \"$20 off your next purchase\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"long_description\": \"\u003cp>Happy birthday! Enjoy $20 off your next in-store or online purchase.\u003c/p>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"terms_conditions\": \"Single use. Cannot be combined with other offers.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"earn_instructions\": \"Automatically issued on your birthday.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_assignable\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_extendable\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_reassignable\": false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"is_published\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"tags\": [\"birthday\", \"member-benefit\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`key-fields`,children:`Key fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`handle`})}),_jsx(_components.td,{children:`A unique URL-safe identifier. Used for lookups and deduplication.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`value`})}),_jsx(_components.td,{children:`Dollar value of the reward.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsxs(_components.td,{children:[`Category of reward. Valid values: `,_jsx(_components.code,{children:`activation`}),`, `,_jsx(_components.code,{children:`anniversary`}),`, `,_jsx(_components.code,{children:`birthday`}),`, `,_jsx(_components.code,{children:`bonus`}),`, `,_jsx(_components.code,{children:`campaign`}),`, `,_jsx(_components.code,{children:`customer-service`}),`, `,_jsx(_components.code,{children:`reactivation`}),`, `,_jsx(_components.code,{children:`spend`}),`, `,_jsx(_components.code,{children:`staff`}),`, `,_jsx(_components.code,{children:`system-adjustment`}),`, `,_jsx(_components.code,{children:`tier`}),`, `,_jsx(_components.code,{children:`achievement`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`points`}),`, `,_jsx(_components.code,{children:`referral`}),`, `,_jsx(_components.code,{children:`other`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`period`})}),_jsx(_components.td,{children:`Number of days the reward is valid after issue.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_assignable`})}),_jsx(_components.td,{children:`Whether Omneo can automatically issue this reward via a Reaction.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_extendable`})}),_jsx(_components.td,{children:`Whether the expiry date can be extended after issue.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_reassignable`})}),_jsx(_components.td,{children:`Whether the reward can be moved to a different profile.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`is_published`})}),_jsx(_components.td,{children:`Whether the reward is visible in customer-facing surfaces.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`The response includes the `,_jsx(_components.code,{children:`id`}),` of the new Reward Definition. Note this down, you will need it to issue rewards or configure Reactions.`]}),`\n`,_jsx(Heading,{level:`2`,id:`issue-a-reward-to-a-profile`,children:`Issue a reward to a profile`}),`\n`,_jsx(_components.p,{children:`Once the definition exists, create an instance for a specific profile:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.[tenant].getomneo.com/api/v3/rewards`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' \"Authorization: Bearer ${'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TOKEN`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reward_definition_id\": 12,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"profile_id\": \"92a7996b-abb6-4c9c-a845-9aaf8202fab6\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"issued_at\": \"2025-06-15 09:00:00\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"timezone\": \"Australia/Melbourne\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/dev-guides/incentives/working-with-benefits`,children:`Working with benefits`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/concepts/incentives/rewards`,children:`Rewards concept`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/reward-definition/browse-reward-definitions`,children:`Reward definitions API`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Creating a Reward Definition","description":"Setting up a Reward Definition via the API before issuing rewards to profiles.","href":"/dev-guides/incentives/creating-a-reward-definition"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a reward definition","slug":"create-a-reward-definition","depth":2,"children":[{"title":"Key fields","slug":"key-fields","depth":3,"children":[]}]},{"title":"Issue a reward to a profile","slug":"issue-a-reward-to-a-profile","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"omneo","siteName":"Omneo API","title":"Creating a Reward Definition - Omneo API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-09T00:03:46.645Z","originalFileLocation":"dev-guides/incentives/creating-a-reward-definition.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Setting up a Reward Definition via the API before issuing rewards to profiles.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Omneo API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omneo/svRkUa8yAUbXSnpa/_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/omneo/svRkUa8yAUbXSnpa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omneo/svRkUa8yAUbXSnpa/_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/omneo/svRkUa8yAUbXSnpa/_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/omneo/svRkUa8yAUbXSnpa/_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/omneo/svRkUa8yAUbXSnpa/_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/omneo/svRkUa8yAUbXSnpa/_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/omneo/svRkUa8yAUbXSnpa/_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/omneo/svRkUa8yAUbXSnpa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Creating a Reward Definition - Omneo API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Setting up a Reward Definition via the API before issuing rewards to profiles.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Omneo API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://omneo.mintlify.site/_mintlify/api/og/v2?division=Incentives\u0026amp;title=Creating+a+Reward+Definition\u0026amp;description=Setting+up+a+Reward+Definition+via+the+API+before+issuing+rewards+to+profiles.\u0026amp;theme=a4af636e3b43b19a06e39d49\u0026amp;signature=edeba057c08d18ac2787cbf8bcbfbddf9796c144c77c8f1e7835eb5c16e20169\">\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=\"Creating a Reward Definition - Omneo API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Setting up a Reward Definition via the API before issuing rewards to profiles.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://omneo.mintlify.site/_mintlify/api/og/v2?division=Incentives\u0026amp;title=Creating+a+Reward+Definition\u0026amp;description=Setting+up+a+Reward+Definition+via+the+API+before+issuing+rewards+to+profiles.\u0026amp;theme=a4af636e3b43b19a06e39d49\u0026amp;signature=edeba057c08d18ac2787cbf8bcbfbddf9796c144c77c8f1e7835eb5c16e20169\">\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/omneo/svRkUa8yAUbXSnpa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Omneo API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF6161\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/dev-guides/incentives/creating-a-reward-definition.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.omneo.io/#organization\",\"name\":\"Omneo API\",\"url\":\"https://docs.omneo.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/omneo/fFdVHCWce-qgKJ08/logo/light.svg?fit=max\u0026auto=format\u0026n=fFdVHCWce-qgKJ08\u0026q=85\u0026s=c68e59d64ae77bf2ac88c191b875b014\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.omneo.io#website\",\"name\":\"Omneo API\",\"url\":\"https://docs.omneo.io\",\"publisher\":{\"@id\":\"https://docs.omneo.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition#webpage\",\"url\":\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition\",\"name\":\"Creating a Reward Definition\",\"description\":\"Setting up a Reward Definition via the API before issuing rewards to profiles.\",\"dateModified\":\"2026-06-09T00:03:46.645Z\",\"isPartOf\":{\"@id\":\"https://docs.omneo.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Incentives\",\"item\":\"https://docs.omneo.io/dev-guides/incentives/working-with-benefits\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a Reward Definition\",\"item\":\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition#article\",\"headline\":\"Creating a Reward Definition\",\"name\":\"Creating a Reward Definition\",\"description\":\"Setting up a Reward Definition via the API before issuing rewards to profiles.\",\"url\":\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition\",\"mainEntityOfPage\":{\"@id\":\"https://docs.omneo.io/dev-guides/incentives/creating-a-reward-definition#webpage\"},\"dateModified\":\"2026-06-09T00:03:46.645Z\",\"publisher\":{\"@id\":\"https://docs.omneo.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.omneo.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Omneo API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Omneo API","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://omneo.io"}]},"tabs":[{"tab":"Getting Started","pages":[{"title":"Getting Started","href":"/getting-started/what-is-omneo"}]},{"tab":"Concepts","pages":[{"title":"Concepts","href":"/concepts/glossary"}]},{"tab":"User Guides","pages":[{"title":"User Guides","href":"/business-guides/managing-your-instance/is-omneo-right"}]},{"tab":"Experiences","pages":[{"title":"Experiences","href":"/experiences/omneo-insights/overview"}]},{"tab":"Extensions","pages":[{"title":"Extensions","href":"/extensions/overview"}]},{"tab":"Developers","groups":[{"group":"Core setup","pages":[{"title":"Authentication","href":"/dev-guides/core-setup/authentication"},{"title":"API Tokens","href":"/dev-guides/core-setup/api-tokens"},{"title":"Postman","href":"/dev-guides/core-setup/postman"},{"title":"Omneo CLI","href":"/dev-guides/core-setup/cli"},{"title":"Omneo SDK","href":"/dev-guides/core-setup/sdk"},{"title":"Omneo MCP","href":"/dev-guides/core-setup/mcp"},{"title":"Global vs profile-scoped endpoints","href":"/dev-guides/core-setup/global-vs-profile-routes"},{"title":"Filtering, sorting, and search","href":"/dev-guides/core-setup/filtering-and-sorting"}]},{"group":"Profiles and data","pages":[{"title":"Working with Profiles","href":"/dev-guides/profiles/working-with-profiles"},{"title":"Working with Identities","href":"/dev-guides/profiles/working-with-identities"},{"title":"Merging Profiles","href":"/dev-guides/profiles/merging-profiles"},{"title":"Filtering Profiles","href":"/dev-guides/profiles/filtering-profiles"},{"title":"Working with Aggregations","href":"/dev-guides/profiles/working-with-aggregations"},{"title":"Working with Interactions","href":"/dev-guides/profiles/working-with-interactions"},{"title":"Tags","href":"/dev-guides/profiles/tags"},{"title":"Statuses","href":"/dev-guides/profiles/statuses"},{"title":"Profile Blacklist and Opt-Out","href":"/dev-guides/profiles/profile-blacklist"},{"title":"Addresses","href":"/dev-guides/profiles/addresses"},{"title":"Users and Permissions","href":"/dev-guides/profiles/users-and-permissions"}]},{"group":"Commerce","pages":[{"title":"Creating Transactions","href":"/dev-guides/commerce/creating-transactions"},{"title":"Working with Orders","href":"/dev-guides/commerce/working-with-orders"},{"title":"Working with Credits","href":"/dev-guides/commerce/working-with-credits"}]},{"group":"Incentives","pages":[{"title":"Working with Benefits","href":"/dev-guides/incentives/working-with-benefits"},{"title":"Claimable Benefits, eCommerce","href":"/dev-guides/incentives/claimable-benefits-ecommerce"},{"title":"Importing Rewards","description":"How to issue rewards to profiles programmatically, definitions, issuance, redemption, and bulk import.","href":"/dev-guides/incentives/importing-rewards"},{"title":"Creating a Reward Definition","href":"/dev-guides/incentives/creating-a-reward-definition"},{"title":"Creating a Benefit Definition","description":"Setting up a Benefit Definition via the API before issuing or offering benefits to profiles.","href":"/dev-guides/incentives/creating-a-benefit-definition"},{"title":"Requesting Benefits","href":"/dev-guides/incentives/requesting-benefits"},{"title":"Estimating Incentives","href":"/dev-guides/incentives/estimating-incentives"},{"title":"Using Rates","href":"/dev-guides/incentives/using-rates"}]},{"group":"Reactions","pages":[{"title":"Reactions Overview","href":"/dev-guides/reactions/overview"},{"title":"Reaction Actions","href":"/dev-guides/reactions/actions"},{"title":"Automation Queries","href":"/dev-guides/reactions/automation-queries"},{"title":"Reaction Filters","href":"/dev-guides/reactions/filters"},{"title":"JSON Conditions","href":"/dev-guides/reactions/json-conditions"},{"title":"Targets","href":"/dev-guides/reactions/targets"},{"title":"Example Reaction","href":"/dev-guides/reactions/example-reaction"}]},{"group":"Webhooks and events","pages":[{"title":"Webhooks","href":"/dev-guides/webhooks/webhooks"},{"title":"Event Contexts","href":"/dev-guides/webhooks/event-contexts"},{"title":"Custom Events","href":"/dev-guides/webhooks/custom-events"}]},{"group":"Frontend \u0026 SDK","pages":[{"title":"Using the Omneo SDK","href":"/dev-guides/frontend/omneo-sdk"},{"title":"Using Omneo ID","href":"/dev-guides/frontend/omneo-id"},{"title":"External app magic link","href":"/dev-guides/frontend/external-app-magic-link"},{"title":"Profile Portal login API","href":"/dev-guides/frontend/profile-portal-login-api"},{"title":"Barcodes","href":"/dev-guides/frontend/barcodes"},{"title":"Integrating Omneo Invites","href":"/dev-guides/frontend/invites-plugin"},{"title":"Integrating invite codes","href":"/dev-guides/frontend/invite-codes"},{"title":"Invites API reference","href":"/dev-guides/frontend/invites-api"},{"title":"Facebook Offline Events","href":"/dev-guides/frontend/facebook-offline-events"},{"title":"Meta Lead Ads","href":"/dev-guides/frontend/meta-leads-ads"}]},{"group":"Discovery search","pages":[{"title":"Discovery search","href":"/dev-guides/discovery/overview"},{"title":"Minting search tokens","href":"/dev-guides/discovery/search-tokens"},{"title":"Running a search","href":"/dev-guides/discovery/searching"},{"title":"Discovery indexes","href":"/dev-guides/discovery/indexes"},{"title":"Schools index","href":"/dev-guides/discovery/schools-index"}]},{"group":"POS integration","pages":[{"title":"POS Integration Overview","href":"/dev-guides/pos/overview"},{"title":"POS Integration Guide","href":"/dev-guides/pos/pos-integration-guide"}]},{"group":"Appointments","pages":[{"title":"Working with Appointments","href":"/dev-guides/visits/appointments"},{"title":"Managing appointment definitions","href":"/dev-guides/visits/appointment-definitions"},{"title":"Walk-in queues and waitlists","href":"/dev-guides/visits/walk-in-queues-and-waitlists"}]},{"group":"Lists","pages":[{"title":"Working with Product Lists","href":"/dev-guides/lists/working-with-product-lists"},{"title":"List Definitions","href":"/dev-guides/lists/list-definitions"},{"title":"List Reservations","href":"/dev-guides/lists/list-reservations"},{"title":"Product List Items","href":"/dev-guides/lists/product-list-items"}]},{"group":"Groups","pages":[{"title":"Working with Groups","href":"/dev-guides/groups/working-with-groups"},{"title":"Building dynamic groups","href":"/dev-guides/groups/dynamic-groups"},{"title":"Favourite groups","href":"/dev-guides/groups/favourite-groups"}]},{"group":"Feedback","pages":[{"title":"Building questionnaires","href":"/dev-guides/feedback/building-questionnaires"},{"title":"Submitting questionnaires and routing answers","href":"/dev-guides/feedback/submitting-questionnaires"}]},{"group":"Extensions","pages":[{"title":"Shopify Extension","href":"/dev-guides/extensions/shopify"},{"title":"Salesforce Commerce Cloud","href":"/dev-guides/extensions/sfcc"},{"title":"Magento / Adobe Commerce","href":"/dev-guides/extensions/magento"},{"title":"commercetools","href":"/dev-guides/extensions/commercetools"},{"title":"BigCommerce","href":"/dev-guides/extensions/bigcommerce"},{"title":"Commerce Layer","href":"/dev-guides/extensions/commerce-layer"},{"title":"Zendesk App","href":"/dev-guides/extensions/zendesk-app"},{"title":"Gorgias","href":"/dev-guides/extensions/gorgias"},{"title":"Corporate Invites","href":"/dev-guides/extensions/corporate-invites"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Creating a Reward Definition - Omneo API","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":[],"chunks":[]}