Delete Points Redemption Method
POST
v1/managers/loyalty-program/points-redemption/deleteDeletes a specific redemption method from 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.
The Media Type of the body of the request. This is used to describe the structure of the data in the body.
A unique identifier for the loyalty cashback rule that is being targeted by the request.
{
"ruleId": "\"c5ed20de-fe99-40b8-9fee-36b05b1a8436\""
}
Request samples
Responses
The redemption method is deleted successfully.
Indicates the status of the API response.
The points_redemption section provides information about the status of the point redemption method deletion.
Indicates that the point redemption method has been successfully deleted. The true value signifies that the deletion operation was completed without issues.
A confirmation message indicating that the point redemption method is deleted successfully. This provides feedback to the user or system that the deletion process is completed.
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_redemption": {
"status": true,
"message": "Point redemption method deleted successfully"
},
"message": {
"type": "string",
"code": null,
"name": null,
"description": null
}
}