Skip to main content

Create a new rewardType

POST 

/rewardType

Create a new rewardType

Request

Body

Data for creating a new rewardType

    id rewardTypeId (string)

    Unique identifier for RewardType

    data stringrequired

    JSON string containing metadata, actions, and functions associated with the reward.

    title stringrequired

    Title of the reward type.

    thumbnail stringnullable

    URL of the thumbnail for the reward type.

    name stringrequired

    Name of the reward type.

    category stringrequired

    Category of the reward type.

    singleUse boolean

    Boolean to specify if the rewardType can reeemed once.

    description string

    Detailed description of the reward type.

Responses

rewardType successfully created

Schema

    id rewardTypeId (string)

    Unique identifier for RewardType

    data stringrequired

    JSON string containing metadata, actions, and functions associated with the reward.

    title stringrequired

    Title of the reward type.

    createdAt date-time

    The date and time when the reward type was created.

    thumbnail stringnullable

    URL of the thumbnail for the reward type.

    name stringrequired

    Name of the reward type.

    category stringrequired

    Category of the reward type.

    singleUse boolean

    Boolean to specify if the rewardType can reeemed once.

    description string

    Detailed description of the reward type.

Loading...