OrderLineInput
input type
One caller line — variantId XOR openItem XOR storedValue; variant lines price from the (variant × LF) schedule at add-time (a lapsed/unpriced item refuses CONFLICT/REF_STATE); quantity strictly positive.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
variantId | ID | no | |
openItem | OrderOpenItemInput | no | The open_item entry payload — description + explicit tax category + explicit unit price (house Money; the currency must match the order currency). |
storedValue | OrderStoredValueInput | no | The stored_value entry payload: the instrument type/target + the explicit tax category + the load amount as the unit price. |
quantity | String String! | yes | |
discounts | OrderDiscountInput [OrderDiscountInput!] | no | One pre-tax discount entry — amountMinor ⟺ kind amount, percentPpm ⟺ kind percent; reason required. |
fulfillmentMethod | OrderFulfillmentMethod | no | Omitted ⇒ channel default (pos → carryout, ecom → ship). |
nonReturnable | Boolean | no | |
finalSale | Boolean | no | |
restockingFeePpm | Int | no | |
requiresApprovalToSell | Boolean | no | |
commissionAgents | OrderCommissionAgentInput [OrderCommissionAgentInput!] | no | See the fields of [OrderCommissionAgentInput](/types/OrderCommissionAgentInput/). |
referralCode | String | no |