# Update a station by ID Updates an existing station record. Endpoint: PUT /v1/api/station/{id} Version: 1.2.4 Security: X-Api-Key ## Path parameters: - `id` (string, required) Station ID ## Request fields (application/json): - `name` (string) Name of the station. Example: "Super Station" - `outletId` (string) ID of the outlet this station belongs to. Example: "o1p2q3r4s5t6u7v8w9x0y1z2" - `status` (string) Status of the station. Example: "AVAILABLE" - `deviceId` (string) Device ID of the station. Example: "1234567890" - `deviceName` (string) Name of the device. Example: "Super Device" - `stripeTerminalId` (string) Stripe terminal ID of the station. Example: "tml_XXXXXXXXXX" - `serialReaderId` (string) Serial reader ID of the station. Example: "1234567890" - `sequenceNumber` (number) Sequence number of the station. Example: 1 - `isVirtual` (boolean) Whether the station is virtual. Example: true ## Response 200 fields (application/json): - `id` (string) Unique identifier for the Station. Example: "o1p2q3r4s5t6u7v8w9x0y1z2" - `createdAt` (string) Timestamp when the Station was created. Example: "2025-12-07T19:31:48.436+00:00" - `updatedAt` (string) Timestamp when the Station was last updated. Example: "2025-12-07T19:35:48.436+00:00" - `companyId` (string) Company ID associated with the Station. Example: "o1p2q3r4s5t6u7v8w9x0y1z2" - `name` (string) Name of the station. Example: "Super Station" - `outletId` (string) ID of the outlet this station belongs to. Example: "o1p2q3r4s5t6u7v8w9x0y1z2" - `status` (string) Status of the station. Example: "AVAILABLE" - `deviceId` (string) Device ID of the station. Example: "1234567890" - `deviceName` (string) Name of the device. Example: "Super Device" - `stripeTerminalId` (string) Stripe terminal ID of the station. Example: "tml_XXXXXXXXXX" - `serialReaderId` (string) Serial reader ID of the station. Example: "1234567890" - `sequenceNumber` (number) Sequence number of the station. Example: 1 - `isVirtual` (boolean) Whether the station is virtual. Example: true ## Response 400 fields (application/json): - `statusCode` (number, required) HTTP status code Example: 400 - `message` (string, required) Error message describing what went wrong Example: "Validation failed: Field `schemaField` is required." - `error` (string, required) Error type/name Enum: "Bad Request", "Unauthorized", "Forbidden", "Not Found", "Conflict", "Unprocessable Entity", "Internal Server Error" ## Response 404 fields (application/json): - `statusCode` (number, required) HTTP status code Example: 404 - `message` (string, required) Error message describing what went wrong Example: "The resource was not found." - `error` (string, required) Error type/name Enum: "Bad Request", "Unauthorized", "Forbidden", "Not Found", "Conflict", "Unprocessable Entity", "Internal Server Error"