Clear cart
This endpoint is used to clear the items from a specific cart.
Request
This request does not require a request body.
Response
The response will include the following fields:
-
cartCleared(object):successfull(boolean)
-
cart(object):-
id(string): The ID of the cart. -
expiryTime(string): The expiration time of the cart. -
user(object): Details of the user associated with the cart, including ID, verification status, and email. -
event(object): Details of the event associated with the cart, including ID, name, year, number, and slug. -
promotionCodes(array): An array of promotion codes associated with the cart. -
items(array): An array of items in the cart. -
totals(array): An array of total prices and taxes for the cart. -
isImmutable(boolean): Indicates if the cart is immutable. -
isPaymentImmutable(boolean): Indicates if the payment for the cart is immutable. -
isLegitimationImmutable(boolean): Indicates if the legitimation for the cart is immutable. -
isRegistrationImmutable(boolean): Indicates if the registration for the cart is immutable. -
isAmountImmutable(boolean): Indicates if the amount for the cart is immutable. -
isRegistrationOnly(boolean): Indicates if the cart is for registration only. -
isRegistrationRequired(boolean): Indicates if registration is required for the cart. -
isLegitimationRequired(boolean): Indicates if legitimation is required for the cart. -
isPaymentRequired(boolean): Indicates if payment is required for the cart. -
buyerPerson(object): Details of the buyer associated with the cart, including email, first name, last name, company, salutation, VAT ID, address, prefill status, survey ID, and validity status. -
status(string): The status of the cart. -
culture(string): The culture associated with the cart.
-
Authentication#auth
This endpoint does not require authentication.