2021-12-09 00:19:30 +01:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [sellProduct](./bitburner.warehouseapi.sellproduct.md)
|
|
|
|
|
|
|
|
## WarehouseAPI.sellProduct() method
|
|
|
|
|
2021-12-09 02:03:22 +01:00
|
|
|
Set product sell data.
|
|
|
|
|
2021-12-09 00:19:30 +01:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
sellProduct(
|
|
|
|
divisionName: string,
|
|
|
|
cityName: string,
|
|
|
|
productName: string,
|
2021-12-09 02:03:22 +01:00
|
|
|
amt: string,
|
|
|
|
price: string,
|
2021-12-09 00:19:30 +01:00
|
|
|
all: boolean,
|
|
|
|
): void;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2021-12-09 02:03:22 +01:00
|
|
|
| divisionName | string | Name of the division |
|
|
|
|
| cityName | string | Name of the city |
|
|
|
|
| productName | string | Name of the product |
|
|
|
|
| amt | string | Amount to sell, can be "MAX" |
|
|
|
|
| price | string | Price to sell, can be "MP" |
|
|
|
|
| all | boolean | Sell in all city |
|
2021-12-09 00:19:30 +01:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
void
|
|
|
|
|