Retrieve the loyalty points, ledger and redemptions for a customer
GET/customer/customers/:customer_profile_oid/loyalty
Retrieve the loyalty points, ledger and redemptions for a customer. This is a convenience method that returns the same information as expanding loyalty on the customer object, without having to retrieve the entire customer.
Your UltraCart data warehouse has the loyalty points, ledger and redemptions for every customer in the loyalty field of uc_customers. To read it across many customers, query that with the BigQuery SDK (JavaScript) instead of calling this once per customer.
Request
Responses
- 200
- 400
- 401
- 410
- 429
- 500
Successful response
Status Code 400: bad request input such as invalid json
Response Headers
Contains human readable error message
Status Code 401: invalid credentials supplied
Response Headers
Contains human readable error message
Status Code 410: Your authorized application has been disabled by UltraCart
Response Headers
Contains human readable error message
Status Code 429: you have exceeded the allowed API call rate limit for your application.
Response Headers
Contains human readable error message
Status Code 500: any server side error. the body will contain a generic server error message
Response Headers
Contains human readable error message