Update a Device

This endpoint updates an existing Device resource. It is not neccessary to include the complete replacement object in the API call; an object containing the properties that are to be changed will suffice. For example, this endpoint can be used to change a Device's state from 'injected' to 'inTransit'.

Path Params
string
required

The Device's unique identifier.

Body Params

Device to be updated.

string
length ≤ 255

The Device's serial number.

string
length ≤ 255

The alternative key is used when a Device outputs a different serial number from its firmware/software when compared to the serial number that is printed on the Device's casing or its packaging. If there is a difference between the two, the serial number on the casing or packaging should be used as the alternative key and also in the alterntive key property of any related Shipments entries.

string
length ≤ 255

The Device's name.

deviceType
object

Reference to the associated Device Type resource. When used for POST and PATCH API calls, the reference can contain either the ID or Name. With GET API calls, both properties are populated.

deviceBuild
object

Reference to the associated Device Build resource. When used for POST and PATCH API calls, the reference can contain either the ID or Name. With GET API calls the id, name and build number are included in the response.

kif
object

Reference to the associated KIF resource. When used for POST and PATCH API calls, the reference can contain either the ID or Name. With GET API calls, both properties are populated.

partner
object

Reference to the associated Partner. When used for POST and PATCH API calls, the reference can contain either the ID or Name. With GET API calls, both properties are populated.

client
object

Reference to the associated Client resource. When used for POST and PATCH API calls, the reference can contain either the ID or Name. With GET API calls, both properties are populated.

injectKey
object

Reference to the associated Device resource. When used for POST and PATCH API calls, the reference can contain either the ID or Name. With GET API calls, both properties are included in the response.

string

Date and time that the Device is due its next PCI Audit.

string

Arbitary note that can be attached to a Device entry.

Responses

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json