<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [setSmartSupply](./bitburner.warehouseapi.setsmartsupply.md) ## WarehouseAPI.setSmartSupply() method Set smart supply <b>Signature:</b> ```typescript setSmartSupply(divisionName: string, cityName: string, enabled: boolean): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | divisionName | string | Name of the division | | cityName | string | Name of the city | | enabled | boolean | smart supply enabled | <b>Returns:</b> void