import apiClient from "./apiClient";

export const createWarehouse = async (data) => {
  const response = await apiClient.post("/warehouses", data);
  return response.data;
};

export const getWarehouses = async () => {
  const response = await apiClient.get("/warehouses");
  return response.data;
};
