Loyalty Program Points per Order
GET
v1/customers/loyalty-program/<<STORE_ID>>/get-points-per-order-total/1000Calculates the number of points awarded based on a specific order total for a particular store's loyalty program.
Request
Unique identifier of the store.
Order total amount.
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.
Request samples
Responses
Indicates the overall status of the API response.
The total number of points associated with the customer. In this example, the customer has 1000 points.
Contains additional information or messages related to the API response. Since all fields within the message object are null, it indicates that there are no specific messages, errors, or additional details to convey.
Specifies the type of message. Here, it is "object", indicating a standard message type. Since the value is null, it signifies no specific message type.
A code representing any specific message or error. Here, it is null, indicating no code is present.
A short, human-readable title or name for the message.
A detailed description of the message.
{
"status": "string",
"points": "\"100\"",
"message": {
"type": "string",
"code": null,
"name": null,
"description": null
}
}