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