Skip to main content
POST
Purchase a points product
This endpoint requires the scope.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

ID of the points product to purchase.

Example:

132456921

Body

application/json
customer_id
integer
required

ID of the customer who is purchasing the points product.

Example:

304169228

points_to_spend
integer

The number of points that will be spent on behalf of the customer. Only applies when purchasing a points product whose exchange_type is variable, otherwise should be left blank.

Example:

500

Response

201 - application/json

The points product was successfully purchased.

points_purchase
object