# Update device Updates device properties such as name, metadata, or location assignment. Endpoint: PUT /ipp/v1/devices/{id} Version: 1.0.0 ## Path parameters: - `id` (string, required) Device ID ## Request fields (application/json): - `name` (string) Display name of the device. Example: "POS Terminal 1" - `metadata` (object) Custom metadata key-value pairs for the device. Example: {"store_id":"123","region":"EU"} - `location_id` (string) Location identifier to assign the device to. Example: "550e8400-e29b-41d4-a716-446655440000" ## Response 200 fields (application/json): - `id` (string) Unique device identifier. Example: "550e8400-e29b-41d4-a716-446655440000" - `hardware_id` (string) Hardware identifier of the device. Example: "ABC123XYZ" - `merchant_id` (string) Merchant identifier. Example: "merchant_12345" - `location_id` (string) Location identifier where the device is registered. Example: "550e8400-e29b-41d4-a716-446655440000" - `name` (string) Display name of the device. Example: "POS Terminal 1" - `platform` (string) Device platform. Enum: "IOS", "ANDROID", "TERMINAL" - `metadata` (object) Custom metadata key-value pairs for the device. Example: {"store_id":"123","region":"EU"} - `created_at` (string) Timestamp when the device was created. Example: "2024-01-15T10:30:00Z" - `open_cash_register_id` (integer) ID of the currently open cash register on this device. Example: 42 - `credentials` (object) Device credentials (only returned during registration). - `credentials.bearer_token` (string) Bearer token for device authentication. Example: "eyJhbGciOiJSUzI1NiIsInR5cCI..." - `credentials.issuedAt` (string) Timestamp when the token was issued. Example: "2024-01-15T10:30:00Z" - `unique_id` (string) Hardware identifier (deprecated, use hardwareId). Example: "ABC123XYZ" ## Response 401 fields ## Response 404 fields