Create a reward
Creates a new reward in the loyalty program.
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
pid
Loyalty Program ID
Request
This endpoint expects an object.
name
Internal name of the reward
publicDescription
Public facing description of the reward
publicImage
URL of the public image for the reward
publicName
Public facing name of the reward
Response
Reward successfully created
createdAt
Timestamp when the reward was created
id
Unique identifier for the reward
loyaltyProgramId
Id of the loyalty program to which the current reward belongs to
name
Name of the reward
publicDescription
Public description for the reward
publicImage
Public Image for the reward
publicName
Public name for the reward
updatedAt
Timestamp for when this reward was last updated.