transfer_inventory

Updated September 30, 20261 min read

Transfer on-hand inventory between two locations. This is an MCP convenience wrapper, not a first-class backend API. It submits paired TRANSFER_OUT and TRANSFER_IN events with the same request. Stock is identified by inventory_key only; to start from a product, read its inventory_key with get_product or get_inventory first.

Parameters

NameTypeRequiredDescription
destination_location_idstringYes—
event_timestampstringYesISO 8601 event timestamp. Backend rejects future timestamps and timestamps older than the tolerance window.
inventory_keystringYesInventory to write to.
quantitynumberYesPositive on-hand quantity to move from source to destination.
source_location_idstringYes—
tenantIdstringYes—
reasonstringNo—

Example agent prompt

"Transfer inventory between locations."

transfer_inventory(
  tenantId="…",
  inventory_key="INV-1234",
  source_location_id=…,
  destination_location_id=…,
  quantity=5,
  event_timestamp=…
)