[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [setSmartSupply](./bitburner.warehouseapi.setsmartsupply.md)
## WarehouseAPI.setSmartSupply() method
Set smart supply
Signature:
```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 |
Returns:
void