Skip to main content
POST
Typescript (SDK)

Body Parameters

Response

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string
default:2.3.0
required

Body

application/json
code
string
required

The referral code to redeem

customer_id
string
required

The unique identifier of the customer redeeming the code

Response

200 - application/json

OK

id
string
required

The ID of the redemption event

customer_id
string
required

Your unique identifier for the customer

reward_id
string
required

The ID of the reward that will be granted