Skip to main content

CartVoucher

No description

type CartVoucher {
code: String!
name: String!
description: String!
ruleId: Int!
redeemed: YesNo!
combinable: YesNo!
partialRedemption: YesNo!
available: Float!
remaining: Float!
}

Fields

CartVoucher.code ● String! non-null scalar

The voucher's code

CartVoucher.name ● String! non-null scalar

The name of the rule that generated this voucher

CartVoucher.description ● String! non-null scalar

The description of the rule that generated this voucher

CartVoucher.ruleId ● Int! non-null scalar

The id of the rule that generated this voucher

CartVoucher.redeemed ● YesNo! non-null enum

Is this voucher already redeemed

CartVoucher.combinable ● YesNo! non-null enum

Can this voucher be combined with other vouchers

CartVoucher.partialRedemption ● YesNo! non-null enum

Can this voucher be partially redeemed when type is a payable amount

CartVoucher.available ● Float! non-null scalar

The available amount when the voucher represents a payable amount

CartVoucher.remaining ● Float! non-null scalar

The remaining amount when the voucher represent a payable amount and can be partially redeemed

Member Of

Cart object ● ICart interface