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

Voucher code

CartVoucher.name ● String! non-null scalar

Name of the rule that generated this voucher

CartVoucher.description ● String! non-null scalar

Description of the rule that generated this voucher

CartVoucher.ruleId ● Int! non-null scalar

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

Available amount when the voucher represents a payable amount

CartVoucher.remaining ● Float! non-null scalar

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

Member Of

Cart object