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! | |
revision | ID ID! | |
revisionNum | Int Int! | |
agentChannelId | ID ID! | |
organizationId | ID ID! | |
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! | |
orderStatus | String String! | The draft Order's own status (draft · sent · accepted · expired · cancelled). |
status | String String! | |
validUntil | String | The session's expiry (the draft's validUntil = birth + the channel's checkout TTL). |
lines | AgentCheckoutLine [AgentCheckoutLine!]! | See [AgentCheckoutLine](/types/AgentCheckoutLine/). |
buyer | AgentCheckoutBuyer | See [AgentCheckoutBuyer](/types/AgentCheckoutBuyer/). |
consent | AgentCheckoutConsent [AgentCheckoutConsent!]! | See [AgentCheckoutConsent](/types/AgentCheckoutConsent/). |
fulfillment | AgentCheckoutFulfillment AgentCheckoutFulfillment! | See [AgentCheckoutFulfillment](/types/AgentCheckoutFulfillment/). |
totals | AgentCheckoutTotals AgentCheckoutTotals! | See [AgentCheckoutTotals](/types/AgentCheckoutTotals/). |
discounts | AgentCheckoutDiscounts AgentCheckoutDiscounts! | The discount extension's view: the codes + the applied discounts; always present on the wire. |
messages | AgentCheckoutMessage [AgentCheckoutMessage!]! | See [AgentCheckoutMessage](/types/AgentCheckoutMessage/). |
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. |