Maxxton External API

Sections

Get all loyality points details for a customer

Query Parameters

returnTransactionboolean Required

Transaction will be return if this is true.

Path Parameters

customerIdinteger Required

Customer id for which the Customer Loyalty balance to be fetched

Response

200
Object
The request is completed successfully without any errors

Response Attributes

customerIdinteger
activePointsinteger

Sum of all points that are redeemable for this customer

spentPointsinteger

Sum of all points already spent (redeemed) by this customer

pendingPointsinteger

Sum of all points which will become active in the future (where the activationDate is in the future) for this customer

expiredPointsinteger

Sum of all points that have already been expired for this customer (expiration date in the past)

transactionsarray

Show child attributes

404
Object
No customer found for given customer id.
500
Object
Error occurred while fetching this customer

GET

/

Select
1

Response