<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [WarehouseAPI](./bitburner.warehouseapi.md) &gt; [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