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 (> 0 — the pipeline's own per-entry figure, never re-derived) · 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
codeStringNo further notes.
titleString String!No further notes.
amountMinorInt Int!No further notes.
automaticBoolean Boolean!No further notes.
methodString String!No further notes.
priorityInt Int!No further notes.
allocationsAgentCheckoutDiscountAllocation [AgentCheckoutDiscountAllocation!]No further notes.