Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

RemoveCartCouponParams

Parameters for removing a discount code from cart.

export interface RemoveCartCouponParams {
	cartId: ApiUpdateCartParams["id"];
	cartVersion: ApiUpdateCartParams["version"];
	couponId: RemoveCartDiscountCode["discountCode"]["id"];
	versionFallback?: ApiUpdateCartParams["versionFallback"];
}

Properties

NameRequiredTypeDescription
cartIdRequiredApiUpdateCartParams["id"]ID of the cart to remove the discount code from.
cartVersionRequiredApiUpdateCartParams["version"]Version of the cart to remove the discount code from.
couponIdRequiredRemoveCartDiscountCode["discountCode"]["id"]ID of the discount code to remove from the cart.
versionFallbackOptionalApiUpdateCartParams["versionFallback"]Flag enabling request retry in case of a ConcurrentModification error.

Referenced Types

On this page