Create Loyalty Point Transaction (Credit or Debit)
POST/customers/:customerId/loyalty/points/transactions
The API records a loyalty point credit or debit for the customer.
- The API is available only to authorized partners for customers enrolled in the loyalty program.
- The customer must be enrolled and the loyalty point type must exist for the profile; otherwise, the API returns an error.
- For a debit, the balance must be sufficient for the requested amount; otherwise, the API returns an error.
- If the operation is rejected or a debit cannot be applied in full, the API returns an error and the balance is unchanged (no partial debit).
Upon successful processing, the API returns the created transaction (CustomerLoyaltyPointTransaction).
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 429
- 500
- 503
Created
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests
Internal Server Error
Service Unavailable