AlmondTill/G3N API

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

FieldTypeNotes
orderIdID ID!
revisionID ID!
revisionNumInt Int!
agentChannelIdID ID!
organizationIdID ID!
platformProfileUrlStringThe platform that opened it — absent on a staff test drive.
consumerIdIDThe 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.
currencyString String!
orderStatusString String!The draft Order's own status (draft · sent · accepted · expired · cancelled).
statusString String!
validUntilStringThe session's expiry (the draft's validUntil = birth + the channel's checkout TTL).
linesAgentCheckoutLine [AgentCheckoutLine!]!See [AgentCheckoutLine](/types/AgentCheckoutLine/).
buyerAgentCheckoutBuyerSee [AgentCheckoutBuyer](/types/AgentCheckoutBuyer/).
consentAgentCheckoutConsent [AgentCheckoutConsent!]!See [AgentCheckoutConsent](/types/AgentCheckoutConsent/).
fulfillmentAgentCheckoutFulfillment AgentCheckoutFulfillment!See [AgentCheckoutFulfillment](/types/AgentCheckoutFulfillment/).
totalsAgentCheckoutTotals AgentCheckoutTotals!See [AgentCheckoutTotals](/types/AgentCheckoutTotals/).
discountsAgentCheckoutDiscounts AgentCheckoutDiscounts!The discount extension's view: the codes + the applied discounts; always present on the wire.
messagesAgentCheckoutMessage [AgentCheckoutMessage!]!See [AgentCheckoutMessage](/types/AgentCheckoutMessage/).
orderAgentCheckoutOrderRefThe minted sale — present iff status is completed.
paymentAgentCheckoutPaymentThe instrument that paid — display-safe (never a credential); present iff the checkout completed.

Used by