Enables or disables a specific cashback rule method within a store's loyalty program.
🔑Scopes
loyalty_program.read_write - Loyalty Program Read & Write
Request
Header Params
Authorization
stringÂ
required
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.
Default:
application/json
Accept-Language
enum<string>Â
optional
Preferred language for the response. Defaults to en if not specified.
Allowed values:
enar
Example:
en
X-Manager-Token
stringÂ
required
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 activation section provides details about the deactivation of a points collection method and includes a list of the affected methods.
status
booleanÂ
optional
Indicates that the points collection method has been successfully deactivated. The true value signifies that the deactivation process was completed without issues.
Default:
true
message
stringÂ
optional
A confirmation message indicating that the points collection method was deactivated successfully.
Example:
Points collection method deactivated successfully
points_collection_methods_list
array [object {10}]Â
optional
This is a list of the points collection methods that have been affected by the deactivation.
message
objectÂ
optional
Contains detailed information about the message.
type
stringÂ
optional
Specifies the type of message.
code
nullÂ
optional
A specific code representing the type.
name
nullÂ
optional
A short, human-readable title or name for the message.
description
nullÂ
optional
A detailed description of the message, providing more context.