Alokai

AddVoucherAndGetNewCartVersionProps

Composed properties for applying a coupon to a cart and getting a new version of the cart.

interface AddVoucherAndGetNewCartVersionProps extends BaseProps, BaseUserId {
	cartId: string;
	voucherId: string;
}

Properties

NameRequiredTypeDescription
cartIdRequiredstringCart identifier: cart code for logged-in user, cart guid for anonymous user, current for the last modified cart.
voucherIdRequiredstringVoucher identifier (code).

Referenced Types

On this page