OrderCustomerInput
input type
The inline customer capture — at least one inline field OR a customer ref.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
name | String | no | The customer name. Optional. |
email | String | no | The customer email. Optional. |
phone | String | no | The customer phone number. Optional. |
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. |