AlmondTill/G3N API

AgentCheckoutAppliedDiscount

object type

One applied discount: the coupon code (absent on an automatic discount) · the caption · the applied reduction in minor units · automatic (a promotion · loyalty · employee · manual entry) · the allocation method (each = a line-level entry applied per item | across = an order-level entry split pro-rata) · the pipeline's priority (1 = applied first) · the per-line allocations when the pipeline can name them (Σ == amountMinor; absent otherwise).

Fields

FieldTypeNotes
codeString
titleString String!
amountMinorInt Int!
automaticBoolean Boolean!
methodString String!
priorityInt Int!
allocationsAgentCheckoutDiscountAllocation [AgentCheckoutDiscountAllocation!]See [AgentCheckoutDiscountAllocation](/types/AgentCheckoutDiscountAllocation/).