ReturnLine
object type
One Return line — the request-time identity copy of ONE order line's returned quantity + the receive-time stamps (disposition cover · the telescoping refund money over the order line's captured figures · the restocking fee). Stamps are server-written, never caller data.
Fields
| Field | Type | Notes |
|---|---|---|
lineNo | Int Int! | 1-based position within this return. |
orderLineNo | Int Int! | The returned order line's frozen lineNo — the (orderId, orderLineNo) cross-document coordinate. |
variantId | ID | The sold variant (copied — XOR openItemDescription). |
openItemDescription | String | The open-item description (copied — stockless: no disposition, no movement; refund-only). |
taxCategory | TaxCategory TaxCategory! | The order line's resolved tax category. |
quantity | String String! | The returned quantity. |
reason | String | The request-time reason (why the customer returns). |
dispositions | ReturnLineDisposition [ReturnLineDisposition!] | The receive-time disposition cover (absent until received; always absent on stockless lines). |
paidShareMinor | Int | Receive-stamped: this return's telescoping share of the order line's lineTotalMinor. |
restockingFeeMinor | Int | Receive-stamped: halfAway(paidShare × the order line's captured restockingFeePpm / 1e6); absent when the line captured no fee flag. |
refundMinor | Int | Receive-stamped: paidShare − restockingFee, floored at 0 — this line's refund. |
tax | OrderLineTax | Receive-stamped: the order line's tax slot with each component's taxMinor telescoping-prorated (rates/refs verbatim) — the remittance-reversal report source. |