Skip to main content

Retrieve a list of confirmed rewards given to the user (by id)

GET 

/api/users/by-id/:id/rewards/confirmed

Retrieve a list of confirmed rewards in various states given to a user. These can be claimed by the user.

Request

Path Parameters

    id stringrequired

Header Parameters

    partnerId stringrequired

    Partner Id

    clientId stringrequired

    Client Id

    clientSecret stringrequired

    Client Secret

Responses

List of confirmed rewards given to user.

Schema

  • Array [

  • id string

    Id of the reward

    status string

    Possible values: [Pending, Confirmed, Declined, Claimed, All]

    Status of the reward

    type string

    Possible values: [MileageCheckIn, ConditionCheckIn, GaragingCheckIn, LowMileageBonus, Custom, SurveyCompleted]

    Type of the reward

    description string

    Description of the reward

    vehicleId string

    Id of the vehicle (if the reward is tied to an action on the vehicle like a Mileage Check-in

    payoutId string

    Id of the payout (if the reward has been claimed.

    dateRewarded string

    Date on which reward was created

    amount double
  • ]

Loading...