Skip to main content
PATCH
Update a device handling intent
Key: Write Scope: Company

Authorizations

Authorization
string
header
required

Use your Primo API key in the Authorization header as Bearer <API_KEY>.

Path Parameters

intentId
string
required

Body

application/json
devices
object[] | null

What happens to each device; replaced whole

accessories
object[] | null

What happens to each accessory; replaced whole

returnShipmentRequested
boolean | null

Ask for a return shipment once the devices are handled, when the settings leave it to each offboarding

Response

default - application/json
id
string
required

Intent id, to pass to its update and execute tools

taskId
string | null
required

The typed task that tracks this step

ticketId
string | null
required

The ticket holding that task, usually the offboarding ticket. Null if it could not be read back.

offboardingId
string
required
executedAt
string<date-time> | null
required

When the intent executed; null until then

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
devices
object[]
required
accessories
object[]
required
returnShipmentRequested
boolean
required