credit; points removed are a debit. Transactions are returned by List points transactions (GET /public/customers/transactions, requires the read:transactions scope). You can add or deduct points with Create a points transaction (POST /public/customers/transactions, requires the write:transactions scope).
Properties
string<uuid>
Unique identifier for the points transaction.
string<uuid>
Yuko’s internal UUID for the customer whose balance changed. This is not the Shopify customer ID you pass as the
customer_id parameter.enum<string>
Whether points were added or removed. One of
credit, debit.integer
The number of points added or removed. Always positive; use
entry_type for the direction. For the store_credit credit entry recorded when a customer redeems a store credit reward, this is the store credit amount (rounded down to a whole number) rather than points.string
The action that created the transaction, for example
purchase, point_adjustment (manual and REST API adjustments) or the reward type for redemptions.enum<string>
The current status of the transaction. One of
active, on_hold, used, failed.string | null
A description of the change, if one was provided.
string | null
Where the transaction came from. Transactions created through the REST API have the source
rest_api.string<date-time> | null
The date and time the transaction took effect (ISO 8601).
string<date-time>
The date and time the transaction record was created (ISO 8601).