Loyalty Status
GET
v1/managers/loyalty-program/loyalty-statusRetrieves information about the overall status (active/inactive) of a store's loyalty 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
Store loyalty program status retrieved successfully.
Indicates the overall status of the API response.
Indicates whether the customer is currently enrolled in the loyalty program. In this example, the value is true, meaning the customer is part of the loyalty program.
Contains additional information or messages related to the API response.
Specifies the type of message.
A code representing any specific message or error.
A short, human-readable title or name for the message.
A detailed description of the message.
{
"status": "string",
"loyalty_status": true,
"message": {
"type": "string",
"code": null,
"name": null,
"description": null
}
}