Skip to main content
POST
/
Reward
/
dx
/
api
/
application
/
v2
/
objects
Create Reward
curl --request POST \
  --url https://api.example.com/Reward/dx/api/application/v2/objects \
  --header 'Content-Type: application/json' \
  --data '
{
  "objectTypeID": "Reward",
  "content": {
    "Origin": "API",
    "Name": "BK Apparel",
    "ExternalID": "45670",
    "RewardType": "stock_control",
    "RewardExpiration": "2025-09-06T04:00:00.000Z",
    "RewardCost": "",
    "DaysAvailable": ""
  }
}
'
{
  "data": {
    "objectInfo": {
      "status": "Open-Active",
      "content": {
        "classID": "Reward",
        "Name": "BK Apparel",
        "DaysAvailable": "",
        "RewardExpiration": "2025-09-06T04:00:00.000Z",
        "RewardCost": "",
        "ExternalID": "45670",
        "RewardType": "stock_control",
        "Prices": [],
        "QuantityAvailable": ""
      }
    }
  },
  "ID": "STE6TG95YWx0eV9fUmV3YXJkXzY4OWRmMWM0ZjY4MTRmMDBhNjg5MjI1Ng"
}

Response

201 - application/json

Created