Skip to main content
POST
/
v3
/
rewards
/
batch.json
Batch Rewards
curl --request POST \
  --url http://localhost/api/v3/rewards/batch.json \
  --header 'Content-Type: application/json' \
  --data '
{
  "rewards": [
    {
      "profile_id": "<string>",
      "profile_id_handle": "<string>",
      "timezone": "<string>",
      "value_initial": 123,
      "value_remaining": 123,
      "expires_at": "2023-11-07T05:31:56Z",
      "issued_at": "2023-11-07T05:31:56Z",
      "reward_definition_id": 123,
      "reward_definition_handle": "<string>",
      "meta": [
        "<string>"
      ],
      "external_id": "<string>"
    }
  ],
  "import_job_id": "<string>"
}
'
{
  "message": "<string>",
  "batch_id": "<string>"
}

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.

Body

application/json
rewards
object[]
required
Required array length: 1 - 500 elements
import_job_id
string

Response

message
string
required
Allowed value: "Queued for processing."
batch_id
string
required