# \_setSupplier

Set the supplier for a Purchase order.

### Parameteres

\###id ID of the Purchase order which will have the supplier set.

#### supplier\_id

The ID of the supplier to be set for the Puschase order..

### Example

```
FM_api('PurchaseOrder_setSupplier', ['id' => '10', 'supplier_id' => '7'])
```

### Result

#### On Success

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