Alokai

AddCouponParameters

Necessary parameters to add coupon to cart.

interface AddCouponParameters {
	checkoutId: string;
	couponCode: string;
}

Properties

NameRequiredTypeDescription
checkoutIdRequiredstringCheckout ID. Is the same as a cart ID.
couponCodeRequiredstringCoupon code.

On this page