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
| Field | Type | Notes |
|---|---|---|
code | String | No further notes. |
title | String String! | No further notes. |
amountMinor | Int Int! | No further notes. |
automatic | Boolean Boolean! | No further notes. |
method | String String! | No further notes. |
priority | Int Int! | No further notes. |
allocations | AgentCheckoutDiscountAllocation [AgentCheckoutDiscountAllocation!] | No further notes. |