Customer Points
GET
v1/customers/loyalty-program/<<STORE_ID>>/pointsRetrieves the current point balance for a customer within a specific store's loyalty program.
Request
Unique identifier of the store.
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
Specifies the Media Types acceptable for the client. In this case, it signals that the client expects a response in the JSON format.
Preferred language for the response. Defaults to en
if not specified.
Type of the content.
The X-CUSTOMER-TOKEN is a unique identifier generated when a customer logs in through the customer-login API. This token acts as the standard authorization mechanism, allowing the system to recognize the logged-in customer and grant them access to appropriate resources.
Request samples
Responses
The current points balance is retrieved successfully.
Indicates the overall status of the API response.
The points section provides information about the customer's points balance, including both available and used points.
The number of points currently available for the customer to use. This value represents the points that can be redeemed or applied to purchases.
The total number of points the customer has already used or redeemed. This tracks how many points have been spent from the customer's balance.
Contains detailed information about the message.
Specifies the type of message.
A specific code representing the type.
A short, human-readable title or name for the message.
A detailed description of the message, providing more context.
{
"status": "string",
"points": {
"available_poitns": 0,
"used_poitns": 0
},
"message": {
"type": "string",
"code": null,
"name": null,
"description": null
}
}