Signed In Customer Reward Points

Retrieving reward points of a signed-in customer

get

Fetches the number of reward points of a currently signed-in customer.

Note: This public API endpoint is accessible to all customers.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200Success
application/json
Responseinteger
get
/reward-points/public/customer

Retrieving a reward points summary of a signed-in customer

get

Retrieves a detailed summary of added and redeemed reward points of a signed-in customer.

Note: This public API endpoint is accessible to all customers.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200Success
application/json
get
/reward-points/public/customer/summary

Redeeming a logged-in customer's reward points for a coupon code

post

Gets the logged-in customer's reward points, swaps them for a coupon code by using the given redemption option ID, and returns a coupon code.

Note: This public API endpoint is accessible to all customers and is meant to be used on the storefront.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
siteCodestringOptional

Site code, defined when a site is created.

Default: main
Body
idstringRequired

The ID of the redeem option used to convert points into a coupon.

Responses
200Success
application/json
post
/reward-points/public/customer/redeem

Last updated

Was this helpful?