# \_setSaleChance

Sets the Sale chance for a Quote

### Parameters

#### id

The ID of the quote

#### val

The value of sales chance you wish to set up to 100%

### Example

```
FM_api('Quote_setSaleChance', ['id'=>'1', 'val' => '90']);
```

#### On Success

```
{"ok":1}
```
