[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [purchaseWarehouse](./bitburner.warehouseapi.purchasewarehouse.md) ## WarehouseAPI.purchaseWarehouse() method Signature: ```typescript purchaseWarehouse(divisionName: string, cityName: string): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | divisionName | string | | | cityName | string | | Returns: void