v1
latestOpenAPI 3.0.02026-07-26868170.3 KBReward
Create a reward
Create a new reward that can be given to members.
post/loyalty/v1/rewards
Request body
Example request
{
"description": "Description",
"external_id": "ExternalID",
"forced_validity_end": "2018-01-12 15:34:22",
"forced_validity_start": "2018-01-12 15:34:22",
"holding_days": 10,
"image_url": "https://your_image.png",
"monetary_type": "percentage",
"monetary_value": 5.5,
"name": "Name",
"nqp_value": 1,
"rich_description": "Rich description",
"validity_interval_count": 10,
"validity_interval_type": "days"
}Response
Reward creation is successful.