AlmondTill/G3N API

AgentCheckoutInput

input type

The whole checkout as the platform states it (create = the birth; update = full replacement — the released law).

Fields

FieldTypeRequiredNotes
linesAgentCheckoutLineInput [AgentCheckoutLineInput!]!yesOne checkout line to sell — the listed Variant + whole units.
buyerAgentCheckoutBuyerInputnoThe 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
fulfillmentAgentCheckoutFulfillmentInputnoThe 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).
discountCodesString [String!]noThe 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.

Used by