Reward Points Management

Retrieving reward points of all customers

get

Retrieves a detailed summary of added and redeemed reward points for all customers of a given tenant. The tenant name is selected based on the access token.

Note: Only employees are authorized to perform this action.

Required scopes
This endpoint requires the following scopes:
  • : Nedeed to view reward points information
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Responses
200Success
application/json
get
/reward-points/summaryBatch

Retrieving reward points of a customer

get

Fetches the number of reward points for a particular customer of a given tenant. The tenant name is retrieved from the access token.

Note: Only employees are authorized to perform this action.

Required scopes
This endpoint requires the following scopes:
  • : Nedeed to view reward points information
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
customerIdstringRequired

Unique identifier of a customer, generated when the customer is created through the Customer Service.

Responses
200Success
application/json
Responseinteger
get
/reward-points/customer/{customerId}

Creating a new reward points entry for a customer

post

Creates a new reward points entry for a particular customer of a given tenant. The tenant name is retrieved from the access token.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage reward points
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
customerIdstringRequired

Unique identifier of a customer, generated when the customer is created through the Customer Service.

Query parameters
siteCodestringOptional

Site code, defined when a site is created.

Default: main
Body
customerIdstringOptional
Responses
200Success

No content

post
/reward-points/customer/{customerId}

No content

Deleting reward points of a customer

delete

Deletes a reward points entry of a specified customer for a given tenant. The tenant name is retrieved from the access token.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage reward points
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
customerIdstringRequired

Unique identifier of a customer, generated when the customer is created through the Customer Service.

Responses
200Success

No content

delete
/reward-points/customer/{customerId}

No content

Retrieving a reward points summary for a single customer

get

Retrieves a detailed summary of added and redeemed reward points of a single specified customer for a given tenant. The tenant name is retrieved from the access token.

Note: Only employees are authorized to perform this action.

Required scopes
This endpoint requires the following scopes:
  • : Nedeed to view reward points information
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
customerIdstringRequired

Unique identifier of a customer, generated when the customer is created through the Customer Service.

Responses
200Success
application/json
get
/reward-points/customer/{customerId}/summary

Adding reward points for a customer

post

Adds reward points to a specific customer's account for a given tenant. The tenant name is retrieved from the access token.

Note: Only employees are authorized to perform this action.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage reward points
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
customerIdstringRequired

Unique identifier of a customer, generated when the customer is created through the Customer Service.

Query parameters
siteCodestringOptional

Site code, defined when a site is created.

Default: main
Body
idstringOptional
reference-idstring | nullableOptional

Order Id for which the points were created

descriptionstringOptional

Auto-generated description

pointsintegerRequired

Number of points added in the operation

createdAtstring · date-timeOptional
validUntilstring · date-timeOptional

The date until when the points can be redeemed

allPointsAfterCreationintegerOptional

Number of points after creation

usedPointsintegerOptional

Number of points already used

usedWithstring[]Optional
Responses
post
/reward-points/customer/{customerId}/addPoints

No content

Redeeming reward points of a customer

post

Redeems reward points for a specified customer for a given tenant without generating a coupon. The tenant name is retrieved from the access token.

Note: Only employees are authorized to perform this action.

Required scopes
This endpoint requires the following scopes:
  • : Needed to manage reward points
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
customerIdstringRequired

Unique identifier of a customer

Body
idstringOptional

Identifier of the redeemed points

descriptionstringOptional

A comment for the redeem operation

pointsintegerRequired

The amount of the redeemed points

createdAtstring · date-timeOptional

Timestamp when the points were redeemed

allPointsAfterCreationintegerOptional

Number of points after creation

Responses
post
/reward-points/customer/{customerId}/redeemPoints

No content

Last updated

Was this helpful?