Update Asset

Partially update an existing asset record.

PATCH
/api/v1/assets/{id}

Description

Updates only fields sent in the body. If changing asset_status to a deployable status, assign_to_email is required.

Request

Headers

HeaderValueRequired
AuthorizationBearer <access_token>Yes
Content-Typeapplication/jsonYes

Path Parameters

ParameterTypeRequiredDescription
idstringYesAsset identifier.

Body Parameters

ParameterTypeRequiredExampleDescription
product_typestringNoLaptopType of asset (e.g. Laptop, Mobile).
product_namestringNoMacBook Pro 14Full product name including model/version.
manufacturerstringNoAppleBrand or manufacturer.
serial_numberstringNoC02XK1ABCDEFDevice serial number (must be unique).
asset_statusstringNoIn UseStatus name (e.g. In Use, Ready to Deploy).
model_numberstringNoA2338Manufacturer model identifier.
skustringNoMBP-16-2021Stock keeping unit.
asset_idstringNoIT-1234-ABCDCustomer asset ID.
conditionstringNoGoodNew, Good, Fair, or Poor.
purchase_datestringNo2023-01-15Purchase date (YYYY-MM-DD).
purchase_costnumberNo1999.99Acquisition cost.
purchase_typestringNoLeasedPurchased or Leased.
warranty_startstringNo2023-01-15Warranty start date.
warranty_expirestringNo2025-01-14Warranty end date (must be after warranty_start).
warranty_typestringNoAppleCareWarranty coverage type.
assign_to_emailstringNojohn.doe@example.comRequired only when status type is deployed.
departmentstringNoITDepartment name.
location_namestringNoHeadquartersPhysical location of the asset.
imeistringNoIMEI (mobile devices only).

Example Request Body

{
  "asset_status": "In Use",
  "assign_to_email": "john.doe@example.com",
  "condition": "Good"
}

Response

Related Endpoints

Did this page help you?