Set Points Expiration
POST
v1/managers/loyalty-program/points-expirationSets the expiration period for loyalty points within a store's program.
Request
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.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token
should be included in the header of API requests that require store-related information.
Request samples
Responses
The cashback rule method is updated successfully.
Indicates the overall status of the API response.
Specifies the period (in months or another unit) after which the points will expire. In this example, the value is 5.
Contains additional information or messages related to the API response.
Specifies the type of message.
A code representing the specific message.
A short, human-readable title or name for the message.
A detailed description of the message.
{
"status": "string",
"points_expiry_period": 5,
"message": {
"type": "string",
"code": "MSG_POPUP_OK",
"name": "Points expiration",
"description": "Points expiration updated successfully"
}
}