Skip to main content

Update a rewardType by ID

PUT 

/rewardType/:rewardTypeId

Update a rewardType by ID

Request

Path Parameters

    rewardTypeId rewardTypeIdrequired

    The unique identifier for the rewardType to update

Body

required

Data for updating the rewardType

    category string

    Category of the reward type.

    description string

    Detailed description of the reward type.

    data string

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

    title string

    Title of the reward type.

    thumbnail string

    URL of the thumbnail for the reward type.

    name string

    Name of the reward type.

Responses

rewardType updated successfully

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...