Skip to main content
POST
Use this to award points for something that happens outside Yuko, or to move balances over from another loyalty program. The points are added straight away and recorded in the customer’s activities as a point_adjustment with your description. To award points for a repeatable action with a per-customer limit, use Credit points for a custom action instead.
Requires the write:transactions scope. See Scopes.

Body parameters

string
required
The customer to credit. Accepts the Shopify customer ID, Yuko’s customer id (a UUID), the customer’s email address or their phone number. See Identifying customers.
integer
required
The number of points to add. Must be 1 or more.
string
required
The reason for the credit, up to 255 characters. It’s shown in the customer’s activity log.
integer
When these points expire, as a Unix timestamp in seconds or milliseconds. Must be in the future. Leave it out for points that don’t expire.

Response

Returns 201 Created.
object

Errors