curl --location --request POST 'https://api.stateset.com/v1/inventory_items/:id/transfer' \ --header 'Content-Type: application/json' \ --header 'Authorization: Token <token>' \ --data-raw '{ "inventory_item_id": "inv_abc123", "quantity": 50, "from_warehouse_id": "wh_east_01", "from_location_id": "loc_a1_shelf_3", "to_warehouse_id": "wh_west_01", "to_location_id": "loc_b2_shelf_1", "transfer_reason": "rebalancing", "priority": "standard", "expected_arrival": "2024-01-20" }'
{ "id": "trans_xyz456", "transfer_number": "TRF-2024-0001", "inventory_item_id": "inv_abc123", "quantity": 50, "from_warehouse": { "id": "wh_east_01", "name": "East Coast Warehouse", "location_id": "loc_a1_shelf_3" }, "to_warehouse": { "id": "wh_west_01", "name": "West Coast Warehouse", "location_id": "loc_b2_shelf_1" }, "transfer_reason": "rebalancing", "priority": "standard", "status": "in_transit", "expected_arrival": "2024-01-20", "created_at": "2024-01-15T10:00:00Z", "created_by": "user_123", "success": true }
This endpoint transfers inventory between warehouses or locations.
Show properties