← API reference
CANONICAL TYPE REFERENCE

CreateWarehouseTransferInput

Input for creating a warehouse transfer; the server allocates its id.

Associate an existing material lot belonging to this tenant

TypeID of the warehouse location stock is moved out of (prefix "wlc").

TypeID of the warehouse location stock is moved into (prefix "wlc"). Must differ from sourceLocationId.

Kind of item being moved; discriminates which catalog stockableId points into.

Identifier of the item being moved, within the catalog named by stockableType.

quantityFloat!

Amount to move, expressed in unit. Must be greater than zero.

Unit of measure for the quantity. Defaults to PC when omitted.

Why the stock is being moved (e.g. TRANSFERRED, ISSUED_TO_PRODUCTION, SCRAPPED).

notesString

Free-text note about the transfer.

Kind of the originating document this transfer is raised against (e.g. a job or order). Free-form string, not a foreign key.

Identifier of the originating document named by referenceType; stored opaquely.

Initial lifecycle status. Defaults to REQUESTED when omitted.

TypeID of the user raising the transfer (prefix "usr").

TypeID of the user who approved the transfer (prefix "usr"). Normally omitted on create.

TypeID of the user who completed the move (prefix "usr"). Normally omitted on create.

ISO-8601 timestamp the transfer was requested. Defaults to now when omitted.

ISO-8601 timestamp the transfer was approved. Left null when omitted.

ISO-8601 timestamp the stock movement completed. Left null when omitted.

View exact SDL
"""Input for creating a warehouse transfer; the server allocates its id."""
input CreateWarehouseTransferInput {
  """Associate an existing material lot belonging to this tenant"""
  materialLotId: MaterialLotID
  """TypeID of the warehouse location stock is moved out of (prefix "wlc")."""
  sourceLocationId: WarehouseLocationID!
  """
  TypeID of the warehouse location stock is moved into (prefix "wlc"). Must differ from sourceLocationId.
  """
  destinationLocationId: WarehouseLocationID!
  """
  Kind of item being moved; discriminates which catalog stockableId points into.
  """
  stockableType: StockableType!
  """
  Identifier of the item being moved, within the catalog named by stockableType.
  """
  stockableId: String!
  """Amount to move, expressed in `unit`. Must be greater than zero."""
  quantity: Float!
  """Unit of measure for the quantity. Defaults to PC when omitted."""
  unit: MeasurementUnit
  """
  Why the stock is being moved (e.g. TRANSFERRED, ISSUED_TO_PRODUCTION, SCRAPPED).
  """
  reason: StockMovementReason!
  """Free-text note about the transfer."""
  notes: String
  """
  Kind of the originating document this transfer is raised against (e.g. a job or order). Free-form string, not a foreign key.
  """
  referenceType: String
  """
  Identifier of the originating document named by referenceType; stored opaquely.
  """
  referenceId: String
  """Initial lifecycle status. Defaults to REQUESTED when omitted."""
  status: TransferStatus
  """TypeID of the user raising the transfer (prefix "usr")."""
  requestedByUserId: UserID
  """
  TypeID of the user who approved the transfer (prefix "usr"). Normally omitted on create.
  """
  approvedByUserId: UserID
  """
  TypeID of the user who completed the move (prefix "usr"). Normally omitted on create.
  """
  completedByUserId: UserID
  """
  ISO-8601 timestamp the transfer was requested. Defaults to now when omitted.
  """
  requestedAt: ISO8601
  """ISO-8601 timestamp the transfer was approved. Left null when omitted."""
  approvedAt: ISO8601
  """
  ISO-8601 timestamp the stock movement completed. Left null when omitted.
  """
  completedAt: ISO8601
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.