# `PUT /agentprinter/order` Protected. Requires a valid session cookie (`credentials: 'include'`). Reorder agent printers Reorders agent printers for a specific printer agent within the selected company. ## Body (JSON) | Field | Required | Type | Description | |-------|----------|------|-------------| | `printeragentId` | yes | integer | | | `agentprinterIds` | yes | integer[] | | ```json { "printeragentId": 1, "agentprinterIds": [ 1 ] } ``` ## Signals On success, emits SSE signal: `agentprinter` (see [`GET /events`](../events.md)). ## Response `200` Applied order ```json { "agentprinterIds": [ 1 ] } ``` ## Errors | Status | Description | |--------|-------------| | 400 | Invalid order or no company selected — `{"error":"…"}` | | 401 | Unauthorized — `{"error":"…"}` | --- _Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._