Remove coupon

DELETE{{API_BASE_URL}}/shop/v1/cart/:cartId/coupons/:coupon?$expand

This endpoint is used to remove a specific coupon from the cart.

Request

This request does not have a request body.

Response

Upon successful deletion, the response will include the updated cart details.

  • couponRemoved (object): Indicates whether the coupon removal was successful.

    • successful (boolean): Specifies if the coupon removal was successful.

    • cartId (string): The ID of the cart from which the coupon was removed.

    • code (string): The code of the removed coupon.

  • cart (object): Provides the updated cart information.

    • 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.

    • promotionCodes(array): List of promotion codes associated with the cart.

    • items(array): List of items in the cart.

    • totals(array): List of total amounts including price, gross price, tax, tax rate, and currency.

    • 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 registration is the only requirement for the cart.

    • 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.

    • status(string): The status of the cart.

    • culture(string): The culture associated with the cart.

Authentication#auth

This endpoint does not require authentication.

Query parameters#query

$expandoptional

Responses#responses

200OKRemove coupon