Appearance
WarehouseTransferState
Type: Object
A warehouse transfer moving stock between locations
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| approvedAt | ISO8601 | ISO-8601 timestamp the transfer was approved; null until it is approved. | ||
| approvedByUserId | UserID | TypeID of the user who approved the transfer (prefix "usr"); null until approved. | ||
| completedAt | ISO8601 | ISO-8601 timestamp the stock movement was completed; null until it is completed. | ||
| completedByUserId | UserID | TypeID of the user who completed the physical move (prefix "usr"); null until completed. | ||
| createdAt | String! | ISO-8601 timestamp the transfer record was created. | ||
| destinationLocationId | WarehouseLocationID! | TypeID of the warehouse location stock is moved into (prefix "wlc"). Must differ from sourceLocationId. | ||
| id | WarehouseTransferID! | TypeID of this transfer (prefix "wtr"). | ||
| notes | String | Free-text note about the transfer; null when none was recorded. | ||
| quantity | Float! | Amount of the stockable being moved, expressed in unit. Must be greater than zero. | ||
| reason | StockMovementReason! | Why the stock is being moved (e.g. TRANSFERRED, ISSUED_TO_PRODUCTION, SCRAPPED). | ||
| referenceId | String | Identifier of the originating document named by referenceType. Stored as an opaque string and not resolved by the server; null when the transfer stands alone. | ||
| referenceType | String | Kind of the originating document this transfer was raised against (e.g. a job or order). Free-form string, not a foreign key; null when the transfer stands alone. | ||
| requestedAt | ISO8601! | ISO-8601 timestamp the transfer was requested. Defaults to the mutation time when not supplied. | ||
| requestedByUserId | UserID | TypeID of the user who raised the transfer (prefix "usr"); null when unattributed. | ||
| sourceLocationId | WarehouseLocationID! | TypeID of the warehouse location stock is moved out of (prefix "wlc"). | ||
| status | TransferStatus! | Lifecycle status of the transfer. Starts at REQUESTED when not supplied on create; APPROVED / IN_PROGRESS / COMPLETED / CANCELLED are set by callers via update. | ||
| stockable | Stockable! | The item being moved, resolved from (stockableType, stockableId) to the concrete catalog entity by the active vertical; falls back to a StockableMarker when the vertical cannot resolve it. | ||
| unit | MeasurementUnit! | Unit of measure the quantity is expressed in. Defaults to PC when not supplied. | ||
| updatedAt | String! | ISO-8601 timestamp the transfer record was last written by a mutation. |