Skip to main content

Update an existing UserReward

PUT 

/userReward/:userRewardId

Update an existing UserReward

Request

Path Parameters

    userRewardId userRewardIdrequired

    The unique identifier for the userReward

Body

Data for updating an existing userReward

    state string

Responses

UserReward successfully updated

Schema

    expiresAt date-time
    state userRewardState (string)

    Possible values: [pending, redeemed, cancelled]

    rewardId string
    userId string
    remainingUses integer
    id userRewardId (string)

    Unique identifier for UserReward

    createdAt date-time
Loading...