# Purchasers

> A buyer (inkoper) in an administration.

Subject: Purchase.

A buyer (inkoper) in an administration. A purchase order names one in purchaser_id.

Label in Fledge: Inkopers.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/Purchasers` |
| Key | `administration_id`, `purchaser_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS |
| Write licenses | INKOOP |
| Scopes | FLEDGE_PORTAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/Purchasers?$filter=administration_id eq 1&$select=purchaser_id,max_order_amount,user_id,name&$top=50
GET https://odata-api.fledge.nl/v2-8/Purchasers(administration_id=1,purchaser_id={purchaser_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `purchaser_id` (key) | Int32, not null | Inkoper |
| `change_article_supplier_preference_automatically` | Boolean | Wijzigen voorkeurslev.(j/n): Autorisatie voor wijzigen voorkeursleverancier (j/n) |
| `max_order_amount` | Decimal | Max. bestelbedrag: Maximum bestelbedrag inkoper. The most this purchaser may order for. Not checked by the Fledge API. |
| `name` | String | Naam |
| `user_id` | Int32 | Gebruikersnummer: Gebruikers nummer, ook een unieke key voor de tabel. The Fledge user who is this purchaser. |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `PurchaseOrderHeaders` → [PurchaseOrderHeaders](https://docs.fledge.nl/en/api/reference/PurchaseOrderHeaders.md) (many)

---

Source: https://docs.fledge.nl/en/api/reference/Purchasers
