OrderCustomerInput
input type
The inline customer capture — at least one inline field OR a customer ref.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
name | String | no | No further notes. |
email | String | no | No further notes. |
phone | String | no | No further notes. |
corporateCustomerId | ID | no | The CorporateCustomer REF — resolves in-tenant; the (order-org × cc) OrgCustomer must exist and be ACTIVE (CONFLICT/REF_STATE names the missing/paused enablement). |
buyerContactId | ID | no | The buyer Contact — requires corporateCustomerId; must hold a LIVE purchasing-buyer assignment on THAT customer's host (role-EXACT). |
consumerId | ID | no | The 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. |