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 | No further notes. |
openItem | OrderOpenItemInput | no | No further notes. |
storedValue | OrderStoredValueInput | no | No further notes. |
quantity | String String! | yes | No further notes. |
discounts | OrderDiscountInput [OrderDiscountInput!] | no | No further notes. |
fulfillmentMethod | OrderFulfillmentMethod | no | Omitted ⇒ channel default (pos → carryout, ecom → ship). |
nonReturnable | Boolean | no | No further notes. |
finalSale | Boolean | no | No further notes. |
restockingFeePpm | Int | no | No further notes. |
requiresApprovalToSell | Boolean | no | No further notes. |
commissionAgents | OrderCommissionAgentInput [OrderCommissionAgentInput!] | no | No further notes. |
referralCode | String | no | No further notes. |