Skip to main content
POST
Pass a positive points value to credit points, or a negative value to debit them. The transaction is recorded with action_type point_adjustment and source rest_api. Points credited through the API don’t expire.
Requires the write:transactions scope. See Scopes.

Body parameters

string
required
The platform customer ID, for example the Shopify customer ID.
integer
required
The number of points to add or remove. Use a positive value to credit points and a negative value to debit them. Can’t be zero.
string
required
A human-readable reason for the adjustment, up to 255 characters. It’s returned as description when you list points transactions.

Response

Returns 201 Created when the points transaction is created.
object

Errors