Alokai

AddVoucherToCartProps

Properties for adding a voucher to a cart.

interface AddVoucherToCartProps extends 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