Remove Redemption from Cart
POST
v1/stores/<<STORE_ID>>/carts/loyalty-redemption-method/removeAllows removing a previously added redemption method from a customer's shopping cart .
Request
Specifies the Media Types acceptable for the client. In this case, it signals that the client expects a response in the JSON format.
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.
Preferred language for the response. Defaults to en if not specified.
The User-Agent header contains information about the user agent (browser or app) making the request. It allows the server to provide a tailored response depending on the user agent's capabilities and preferences.
A unique identifier for the current cart session.
The X-CUSTOMER-TOKEN is a unique identifier generated when a customer logs in through the customer-login API. This token acts as the standard authorization mechanism, allowing the system to recognize the logged-in customer and grant them access to appropriate resources.
Request samples
Responses
The redemption method is removed from the cart successfully.
Indicates the result code of the API response.
A descriptive message providing more context about the result of the operation.
{
"code": "SUCCESS_WITHOUT_PAYLOAD",
"message": "تم إزالة نقاط الولاء بنجاح"
}