PosReturnInput
input type
One-shot input for posReturn: the NewReturn essentials + the receive disposition cover + the refund routing, walked requested→approved→received→refunded in ONE call.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional. |
orderId | ID ID! | yes | The Order being returned against — same-group; placed or completed. |
invoiceId | ID | no | Optional Invoice ref — must belong to orderId (the receipted-return audit edge). |
logicalFacilityId | ID ID! | yes | The processing/receiving LF — becomes the parent. |
lines | ReturnLineInput [ReturnLineInput!]! | yes | The returned lines (1..45, distinct orderLineNos — the ReturnLineInput shape verbatim). |
dispositions | ReturnDispositionEntryInput [ReturnDispositionEntryInput!]! | yes | The receive cover. |
refund | PosReturnRefundInput PosReturnRefundInput! | yes | No further notes. |