AlmondTill/G3N API

OrderCustomerInput

input type

The inline customer capture — at least one inline field OR a customer ref.

Fields

FieldTypeRequiredNotes
nameStringnoThe customer name. Optional.
emailStringnoThe customer email. Optional.
phoneStringnoThe customer phone number. Optional.
corporateCustomerIdIDnoThe CorporateCustomer REF — resolves in-tenant; the (order-org × cc) OrgCustomer must exist and be active (CONFLICT/REF_STATE names the missing/paused enablement).
buyerContactIdIDnoThe buyer Contact — requires corporateCustomerId; must hold a live purchasing-buyer assignment on that customer's host (role-EXACT).
consumerIdIDnoThe Consumer REF: resolves in-tenant + active (a suspended/erased consumer refuses CONFLICT/REF_STATE); mutually exclusive with corporateCustomerId; place/accept re-validate fresh; the consumer's priceGroupId supersedes the member carrier at pricing.