# AgentOrder

object type

THE AGENT ORDER VIEW: the minted sale as the platform reads it — the released dev.ucp.shopping.order rendered by the door from these words; permalinkUrl = the order resource's own URL on the business host.

## Fields

| Field | Type | Notes |
| --- | --- | --- |
| `orderId` | [ID](/types/#scalars) `ID!` | No further notes. |
| `sysId` | [String](/types/#scalars) `String!` | No further notes. |
| `checkoutId` | [ID](/types/#scalars) `ID!` | The checkout this sale was minted from. |
| `agentChannelId` | [ID](/types/#scalars) `ID!` | No further notes. |
| `organizationId` | [ID](/types/#scalars) `ID!` | No further notes. |
| `platformProfileUrl` | [String](/types/#scalars) | The platform that originated it — absent on a staff test drive. |
| `consumerId` | [ID](/types/#scalars) | THE LINKED BUYER: the Consumer the sale is stamped with; a linked platform reads the buyer's orders through it; absent on a guest sale. |
| `currency` | [String](/types/#scalars) `String!` | No further notes. |
| `orderStatus` | [String](/types/#scalars) `String!` | The sale's own status (placed · completed · cancelled · …). |
| `paymentState` | [String](/types/#scalars) `String!` | No further notes. |
| `fulfillmentState` | [String](/types/#scalars) `String!` | No further notes. |
| `placedAt` | [String](/types/#scalars) `String!` | No further notes. |
| `permalinkUrl` | [String](/types/#scalars) `String!` | No further notes. |
| `receiptToken` | [String](/types/#scalars) | THE RECEIPT TOKEN: the sale’s stored capability the door’s permalink is built from; absent on a pre- sale. |
| `lines` | [AgentOrderLine](/types/AgentOrderLine/) `[AgentOrderLine!]!` | No further notes. |
| `buyer` | [AgentCheckoutBuyer](/types/AgentCheckoutBuyer/) | No further notes. |
| `fulfillment` | [AgentOrderFulfillment](/types/AgentOrderFulfillment/) `AgentOrderFulfillment!` | No further notes. |
| `adjustments` | [AgentOrderAdjustment](/types/AgentOrderAdjustment/) `[AgentOrderAdjustment!]!` | No further notes. |
| `totals` | [AgentCheckoutTotals](/types/AgentCheckoutTotals/) `AgentCheckoutTotals!` | No further notes. |

## Used by

- [agentChannelOrder](/reference/reading-your-records/agentChannelOrder/)
