Skip to content

Devices

Reading devices works with READ. Creating, updating, or deleting devices requires WRITE (Authentication & scopes).

Each record represents hardware tracked for your company: identity, assignment, progress (client_status), technical characteristics (CPU, RAM, optional keyboard layout), and MDM details once enrollment has started (mdm, otherwise null).

You can paginate and filter by free-text search, assignee user id, client status, and location type. This is usually enough for inventory views, support queues, and dashboards.

  • user_id is the person the device is assigned to (load them with GET /users/:id).
  • shipping_address_id is the address of the first delivery. It does not change afterwards.
  • assigned_address_id is the company address where the device is kept once delivered.
  • location tells you where the device is now, using the same rule as the Fleet Cockpit:
location.type Meaning location.address_id
IN_TRANSIT On its way: first delivery, transfer, return or trip to storage Destination address, or null when Fleet receives it
COMPANY_ADDRESS Delivered and kept at a company address The assigned address
AT_REPAIRER Picked up for an open repair null
FLEET_STORAGE Stored in a Fleet warehouse null
STOCK_REGION Held in your stock, not yet deployed null
NONE No known location null

Filter on it with GET /devices?location_type=FLEET_STORAGE (any value above). Address ids are only returned for addresses that belong to your company, so you can always load them with GET /addresses/:id.

Each device embeds its open repair (repair) and its current storage stay (storage, while ACTIVE or ENDING), or null. For history, use the read-only Repairs & storage endpoints.

Each device includes root-level tracking_number and tracking_url for the initial delivery shipment. When available, shipping_date, expected_delivery_date, and delivery_date are also returned at the same level (ISO 8601).

Return and inter-office shipments are listed separately under parcels, newest first, each with its own status (WAITING, SCHEDULED, SHIPPED, RECEIVED, FAILED, or CANCELLED), tracking fields, addresses, and dates.

New hardware is created in batches: the request body contains an array of device payloads. Each item needs the minimum identity fields (name, type, category). category must be a catalog category code such as COMPUTER or SCREEN (see OpenAPI enum) — not a display label like Laptop. Optional fields cover purchase or rental details, specs, and assignment. With is_rented: true, Fleet keeps client_rental_price, client_rental_start_date, and client_rental_end_date; otherwise it keeps client_purchase_price, client_purchase_date, and client_warranty_end_date. The former camelCase names (client_warranty_endDate, client_rental_startDate, client_rental_endDate) are refused with a validation error.

If creation answers 500 with DEVICE_PROVISIONING_FAILED, the devices were created but MDM provisioning failed: list your devices before retrying, or the retry creates duplicates.

PATCH updates only the fields you send; send null to clear one where the schema allows it. DELETE removes the device from lists and returns its last state.

Only devices your company added can be changed or deleted. Devices Fleet supplied return DEVICE_MUTATION_FORBIDDEN (403).

When a device has a keyboard layout, it uses the same enum values as catalog and cart line items.

  • Repairs & storage — repair and storage history for your devices.
  • Catalog — where catalog products and layout choices originate.
  • API reference — Devices tag for paths, bodies, and error codes.