AgentCheckout
object type
THE AGENT CHECKOUT VIEW: the draft Order as a UCP checkout session at NOW — status ∈ incomplete | requires_escalation | ready_for_complete | complete_in_progress | completed | canceled (the status rule) over its lines, buyer, consent, fulfillment offer, totals, discounts and messages.
Fields
| Field | Type | Notes |
|---|---|---|
orderId | ID ID! | No further notes. |
revision | ID ID! | No further notes. |
revisionNum | Int Int! | No further notes. |
agentChannelId | ID ID! | No further notes. |
organizationId | ID ID! | No further notes. |
platformProfileUrl | String | The platform that opened it — absent on a staff test drive. |
consumerId | ID | THE LINKED BUYER: the Consumer this checkout is stamped with — the platform's user token named them (or a staff test drive did); absent on a guest checkout. |
currency | String String! | No further notes. |
orderStatus | String String! | The draft Order's own status (draft · sent · accepted · expired · cancelled). |
status | String String! | No further notes. |
validUntil | String | The session's expiry (the draft's validUntil = birth + the channel's checkout TTL). |
lines | AgentCheckoutLine [AgentCheckoutLine!]! | No further notes. |
buyer | AgentCheckoutBuyer | No further notes. |
consent | AgentCheckoutConsent [AgentCheckoutConsent!]! | No further notes. |
fulfillment | AgentCheckoutFulfillment AgentCheckoutFulfillment! | No further notes. |
totals | AgentCheckoutTotals AgentCheckoutTotals! | No further notes. |
discounts | AgentCheckoutDiscounts AgentCheckoutDiscounts! | The discount extension's view: the codes + the applied discounts; always present on the wire. |
messages | AgentCheckoutMessage [AgentCheckoutMessage!]! | No further notes. |
order | AgentCheckoutOrderRef | The minted sale — present iff status is completed. |
payment | AgentCheckoutPayment | The instrument that paid — display-safe (never a credential); present iff the checkout completed. |