> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/purchaseorder/_approve.md).

# \_approve

Apporves a given Purchase order

### Parameters

#### id

Id of Purchase order to approve.

#### Example

FM\_api('PurchaseOrder\_approve', \['id'=>'5'])

#### On Success

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