Redeem

Redeem a redemption code providing the uuid for the redemption record.

Utilize this endpoint to redeem a redemption code via its corresponding uuid

POST/partner-api/redemptions/{redemption_uuid}/redeem
Path parameters
redemption_uuid*string

the uuid for the redemption code

Response

OK

Body
redemption*object
Request
const response = await fetch('/partner-api/redemptions/{redemption_uuid}/redeem', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "redemption": {
    "uuid": "text",
    "code": "text",
    "promo_code": "text",
    "state": "text",
    "expires_at": 0
  }
}

Redeem a redemption code providing the uuid for the redemption record.

Utilize this endpoint to redeem a redemption code via its corresponding uuid

POST/partner-api/v2/redemptions/{redemption_uuid}/redeem
Path parameters
redemption_uuid*string

the uuid for the redemption code

Response

OK

Body
redemption*object
Request
const response = await fetch('/partner-api/v2/redemptions/{redemption_uuid}/redeem', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "redemption": {
    "uuid": "text",
    "code": "text",
    "promo_code": "text",
    "state": "text",
    "expires_at": 0
  }
}