Documentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.
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.
Create a Reward Definition
curl -X POST https://api.[tenant].getomneo.com/api/v3/reward-definitions \
-H "Authorization: Bearer ${TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"name": "Birthday Reward",
"handle": "birthday-reward",
"value": 20.00,
"type": "fixed",
"period": 30,
"description": "A $20 birthday reward valid for 30 days.",
"short_description": "$20 off your next purchase",
"long_description": "<p>Happy birthday! Enjoy $20 off your next in-store or online purchase.</p>",
"terms_conditions": "Single use. Cannot be combined with other offers.",
"earn_instructions": "Automatically issued on your birthday.",
"redeem_instructions_store": "Present to staff at checkout.",
"redeem_instructions_online": "Applied automatically at checkout.",
"is_assignable": true,
"is_extendable": true,
"is_reassignable": false,
"is_published": true,
"tags": ["birthday", "member-benefit"]
}'
Key fields
| Field | Description |
|---|
handle | A unique URL-safe identifier. Used for lookups and deduplication. |
value | Dollar value of the reward. |
type | fixed for a flat dollar amount, percentage for a percentage discount. |
period | Number of days the reward is valid after issue. |
is_assignable | Whether Omneo can automatically issue this reward via a Reaction. |
is_extendable | Whether the expiry date can be extended after issue. |
is_reassignable | Whether the reward can be moved to a different profile. |
is_published | Whether the reward is visible in customer-facing surfaces. |
The response includes the id of the new Reward Definition. Note this down — you will need it to issue rewards or configure Reactions.
Issue a reward to a profile
Once the definition exists, create an instance for a specific profile:
curl -X POST https://api.[tenant].getomneo.com/api/v3/rewards \
-H "Authorization: Bearer ${TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"reward_definition_id": 12,
"profile_id": "92a7996b-abb6-4c9c-a845-9aaf8202fab6",
"issued_at": "2025-06-15 09:00:00",
"timezone": "Australia/Melbourne"
}'