> 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/supplier/_getbypo.md).

# \_getByPO

Returns the Supplier ID

### Parameters

#### id

The ID of purchase order

### Example

```
FM_api('Supplier_getByPO', ['id'=>'1']);
```

#### On Success

```
""4""
```
