# Save company potential

`POST /api/v1/customers/{id}/potentials`

Writes the full list of rows: rows not sent are deleted, empty rows are skipped, a repeated group keeps the first (max 50 rows). Row: `grp` (product group; empty or `Tüm ürünler` = all products), `unit` (defaults to the group's unit), `potential`, `share_target` (0–100), `ours_manual` (empty = automatic), `supplier`. On save the company's legacy fields are synced from the rows in the base unit: `potential_kg` (sum), `our_kg_current`, `share_current`, `share_target` (weighted by potential), `supplier_note`. An empty list clears all rows and these fields. `PUT` is accepted too.

## Path parameters

| Field | Type | Description |
|---|---|---|
| `id` (required) | integer | Company id. |

## Body

| Field | Type | Description |
|---|---|---|
| `potentials` (required) | array<object> | Rows. |
