AgentCheckoutInput
input type
The whole checkout as the platform states it (create = the birth; update = full replacement — the released law).
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
lines | AgentCheckoutLineInput [AgentCheckoutLineInput!]! | yes | One checkout line to sell — the listed Variant + whole units. |
buyer | AgentCheckoutBuyerInput | no | The buyer as the platform gave them — names · email · phone (the channel's requireBuyerEmail/requireBuyerPhone decide what is missing; an invalid email is a recoverable message, never a refusal) · con |
fulfillment | AgentCheckoutFulfillmentInput | no | The delivery choice — ONE method per checkout: shipping (the address + a rate-card optionId) or pickup (one of the channel's pickup locations + pickup_instore | pickup_curbside). |
discountCodes | String [String!] | no | The discount extension: the platform's codes — replacement semantics (the list replaces the held coupon; clears); absent = untouched. At most 8 codes, each at most 64 characters; matched case-insensitively. A rejected code is a warning message at $.discounts.codes[i], never a refusal. |