> ## Documentation Index
> Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Device

> Update the details of an existing device using its `DeviceID`. The unique identifier of the device is provided in the path to ensure that the correct device is updated.



## OpenAPI

````yaml /openapi/lynx.yaml put /v1/devices/{DeviceID}
openapi: 3.0.1
info:
  title: Nayax Operational Lynx API
  version: v1
servers:
  - url: https://qa-lynx.nayax.com/operational
security:
  - Authorization: []
paths:
  /v1/devices/{DeviceID}:
    put:
      tags:
        - Devices
      summary: Update Device
      description: >-
        Update the details of an existing device using its `DeviceID`. The
        unique identifier of the device is provided in the path to ensure that
        the correct device is updated.
      operationId: update-device-by-deviceid
      parameters:
        - name: DeviceID
          in: path
          required: true
          description: The unique identifier of the device to be updated.
          schema:
            type: integer
            format: int32
      requestBody:
        description: The updated details of the device.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DevicesUpdateDto'
      responses:
        '200':
          description: Device details updated successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeviceExtra'
components:
  schemas:
    DevicesUpdateDto:
      type: object
      description: >-
        Contains data required to update a device's information, including actor
        and status details.
      properties:
        ActorID:
          type: integer
          format: int64
          nullable: true
          description: The identifier of the actor associated with the device.
        StatusID:
          $ref: '#/components/schemas/ActiveInactiveEnum'
          type: integer
          format: int32
          nullable: true
          description: The status identifier of the device.
      additionalProperties: false
    DeviceExtra:
      type: object
      description: >-
        Contains detailed information about a device, including hardware,
        software versions, and operational status.
      properties:
        VposChipId:
          type: string
          nullable: true
          description: The unique identifier for the VPOS chip in the device.
        IsDeviceExists:
          type: boolean
          description: Indicates whether the device exists in the system.
        FWVersionNumber:
          type: string
          nullable: true
          description: The firmware version number of the device.
        VposVersionNumber:
          type: string
          nullable: true
          description: The VPOSS version number installed on the device.
        DeviceID:
          type: integer
          format: int32
          nullable: true
          description: The unique identifier of the device.
        ActorID:
          type: integer
          format: int64
          nullable: true
          description: The identifier of the actor associated with the device.
        DeviceTypeLutID:
          type: integer
          format: int32
          nullable: true
          description: The lookup identifier for the device type.
        DeviceSerial:
          type: string
          nullable: true
          description: The serial number of the device.
        IMEI:
          type: string
          nullable: true
          description: The International Mobile Equipment Identity number of the device.
        DeviceDescription:
          type: string
          nullable: true
          description: A brief description of the device.
        SimCardID:
          type: integer
          format: int64
          nullable: true
          description: The identifier of the SIM card associated with the device.
        FWVersionID:
          type: integer
          format: int64
          nullable: true
          description: The identifier for the firmware version installed on the device.
        RequestedFwID:
          type: integer
          format: int64
          nullable: true
          description: The identifier for the requested firmware update.
        PollInterval:
          type: integer
          format: int64
          nullable: true
          description: The polling interval for the device in seconds.
        StatusID:
          type: integer
          format: int32
          nullable: true
          description: The current status identifier of the device.
        LastUpdated:
          type: string
          format: date-time
          nullable: true
          description: The date and time when the device was last updated.
        IsCollectMultipleParameters:
          type: boolean
          nullable: true
          description: Indicates if the device is set to collect multiple parameters.
        IsLogged:
          type: boolean
          nullable: true
          description: Indicates if the device activity is logged.
        FRequestedNewVersionDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            The date and time when a new firmware version was requested for the
            device.
        FTookNewVersionDate:
          type: string
          format: date-time
          nullable: true
          description: >-
            The date and time when the new firmware version was applied to the
            device.
        HardwareVersion:
          type: string
          nullable: true
          description: The hardware version of the device.
        IsRental:
          type: boolean
          nullable: true
          description: Indicates if the device is rented.
        RentalEndMonth:
          type: integer
          format: int32
          nullable: true
          description: The month when the device rental period ends.
        RentalEndYear:
          type: integer
          format: int32
          nullable: true
          description: The year when the device rental period ends.
        IsToBeReturned:
          type: boolean
          nullable: true
          description: Indicates if the device is scheduled to be returned.
        FeeCommunicationThreshold:
          type: integer
          format: int32
          nullable: true
          description: The communication fee threshold for the device.
        BillingPlanID:
          type: integer
          format: int32
          nullable: true
          description: The identifier of the billing plan associated with the device.
        BillingPlanActivationDate:
          type: string
          format: date-time
          nullable: true
          description: The date when the billing plan was activated for the device.
        DeviceCreationDate:
          type: string
          format: date-time
          nullable: true
          description: The date when the device was created in the system.
        CreatedBy:
          type: integer
          format: int64
          nullable: true
          description: The identifier of the user who created the device entry.
        UpdatedBy:
          type: integer
          format: int64
          nullable: true
          description: The identifier of the user who last updated the device entry.
        DistributorBillingPlanID:
          type: integer
          format: int32
          nullable: true
          description: >-
            The identifier of the distributor billing plan associated with the
            device.
        ChipID:
          type: string
          nullable: true
          description: The unique identifier for the chip in the device.
        OrderID:
          type: integer
          format: int32
          nullable: true
          description: The identifier of the order associated with the device.
        ExternalFlashSize:
          type: integer
          format: int32
          nullable: true
          description: The size of the external flash memory in the device.
        BoardSerial:
          type: string
          nullable: true
          description: The serial number of the device's mainboard.
        FlashSize:
          type: integer
          format: int32
          nullable: true
          description: The size of the internal flash memory in the device.
        DeviceFamily:
          type: string
          nullable: true
          description: The family classification of the device.
        ModemModel:
          type: string
          nullable: true
          description: The model of the modem installed in the device.
        TrialEndDate:
          type: string
          format: date-time
          nullable: true
          description: The date when the device's trial period ends.
        VerticalTypeID:
          type: integer
          format: int32
          nullable: true
          description: The identifier of the vertical type associated with the device.
        VerticalProductTypeID:
          type: integer
          format: int32
          nullable: true
          description: >-
            The identifier of the vertical product type associated with the
            device.
        VerticalTypeLutID:
          type: integer
          format: int32
          nullable: true
          description: The lookup identifier for the vertical type.
        VerticalProductTypeLutID:
          type: integer
          format: int32
          nullable: true
          description: The lookup identifier for the vertical product type.
        Refs:
          type: object
          nullable: true
          description: A collection of additional references associated with the device.
          additionalProperties:
            type: string
            nullable: true
      additionalProperties: false
    ActiveInactiveEnum:
      enum:
        - 1
        - 2
      x-enumDescriptions:
        '1': Active
        '2': Inactive
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Enter your Bearer token. It's required to authenticate API requests.

````