Skip to content

Deel: Update asset

Deel itAssets.updateAsset: arguments, response, policy and SDK examples.

← IT assets operations · Get started

Operation deel.itassets_updateasset_v2026_09_29

Provider route: PATCH /it/assets/{asset_id}. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/deel with npm, or alter-sdk-deel with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { DeelIntegration } from "@alter-ai/deel";
async function execute(input: Parameters<DeelIntegration["itAssets"]["updateAsset"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new DeelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.itAssets.updateAsset(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_deel import DeelIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = DeelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.it_assets.update_asset(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.asset_idstringRequired within parentFormat: uuid
headersobjectRequired within parentAdditional keys: not allowed
headers.X-BetastringRequired within parentDefault: true
One of: true
bodyobjectOptional
body.dataModelRequired within parentExpand Update asset — request body — body data

Referenced models: Update asset — request body — body data

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Update asset — 200 response body

Referenced models: Update asset — 200 response body

67 more schemas are linked from the tables above, on the schema pages.

Update asset — request body — body data
FieldTypePresenceDescription and constraints
$objectRoot
end_of_life_onstringOptionalEnd-of-life date for the asset
Format: date
gradestringOptionalCondition grade of the asset
One of: A, B, C, D, F, NEW
purchase_datestringOptionalDate the asset was purchased. Cannot be in the future.
Format: date
purchase_valueModelOptionalExpand Update asset — request body — body data purchase value
Price paid for the asset
serial_numberstringOptionalAsset serial number. Cannot be blanked on device categories.

Referenced models: Update asset — request body — body data purchase value

Update asset — 200 response body
FieldTypePresenceDescription and constraints
$objectRoot
dataModelRequired within parentExpand Update asset — 200 response body — data

Referenced models: Update asset — 200 response body — data

Update asset — request body — body data purchase value
FieldTypePresenceDescription and constraints
$objectRootPrice paid for the asset
amountstringRequired within parentAmount
Format: decimal
currencyModelRequired within parentExpand Update asset — request body — body data purchase value currency
Three-letter currency code for the price

Referenced models: Update asset — request body — body data purchase value currency

Update asset — 200 response body — data
FieldTypePresenceDescription and constraints
$objectRoot
actionsModelRequired within parentExpand Update asset — 200 response body — data actions
Actions the caller can execute on this asset, with availability status per action
assigned_userJSONRequired within parentDetails of the user with asset possession
assigned_user (anyOf 1)ModelAlternativeExpand Update asset — 200 response body — data assigned user Details of the user with asset possession
assigned_user (anyOf 2)nullAlternative
assigned_warehouseJSONRequired within parentDetails of the warehouse with asset possession
assigned_warehouse (anyOf 1)ModelAlternativeExpand Update asset — 200 response body — data / assigned_warehouse / ownership: DEEL, ORGANIZATION, warehouse type: CLEARANCE, DEEL, ORGANIZATION
assigned_warehouse (anyOf 2)nullAlternative
created_atstringRequired within parentCreation timestamp of the asset
Format: date-time
gradestringRequired within parentThe condition grade of the asset
Known values: A, B, C, D, F, NEW
idstringRequired within parentUnique identifier of the item
Format: uuid
keyboard_layoutJSONRequired within parentKeyboard layout of the asset, null when none is recorded
keyboard_layout (anyOf 1)ModelAlternativeExpand Update asset — 200 response body — data keyboard layout string
keyboard_layout (anyOf 2)nullAlternative
locationstringRequired within parentCurrent location type of the asset
Known values: AT_WAREHOUSE, CLEARANCE_WAREHOUSE, DEEL_WAREHOUSE, ORGANIZATION_WAREHOUSE, SUPPLIER, WITH_COURIER, WITH_USER, WRITE_OFF
operating_systemJSONRequired within parentOperating system of the asset, null when none is recorded
operating_system (anyOf 1)stringAlternativeOperating system of the asset, null when none is recorded
Known values: ANDROID_PHONE, ANDROID_TABLET, CHROME_OS, IOS_PHONE, IOS_TABLET, LINUX, MACOS, WINDOWS
operating_system (anyOf 2)nullAlternative
ownershipModelRequired within parentExpand Update asset — 200 response body — data ownership
Asset owner
productModelRequired within parentExpand Update asset — 200 response body — data product
Product details
public_idstringRequired within parentPublic identifier of the item
purchase_dateJSONRequired within parent
purchase_date (anyOf 1)stringAlternativePurchase date of the asset
Format: date
purchase_date (anyOf 2)nullAlternativePurchase date of the asset
Format: date
purchase_valueJSONRequired within parentPurchase value of the asset
purchase_value (anyOf 1)ModelAlternativeExpand Update asset — 200 response body — data purchase value Purchase value of the asset
purchase_value (anyOf 2)nullAlternative
serial_numberJSONRequired within parent
serial_number (anyOf 1)stringAlternativeAsset serial number
serial_number (anyOf 2)nullAlternativeAsset serial number
statusModelRequired within parentExpand Update asset — 200 response body — data status
Current state of the asset
updated_atstringRequired within parentLast update timestamp of the asset
Format: date-time

Referenced models: Update asset — 200 response body — data assigned user Details of the user with asset possession, Update asset — 200 response body — data actions, Update asset — 200 response body — data / assigned_warehouse / ownership: DEEL, ORGANIZATION, warehouse type: CLEARANCE, DEEL, ORGANIZATION, Update asset — 200 response body — data keyboard layout string, Update asset — 200 response body — data ownership, Update asset — 200 response body — data product, Update asset — 200 response body — data purchase value Purchase value of the asset, Update asset — 200 response body — data status

Update asset — request body — body data purchase value currency
FieldTypePresenceDescription and constraints
$stringRootThree-letter currency code for the price
One of: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BDT, BGN, BHD, BIF, BMD, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLP, CNY, COP, CRC, CUC, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LTL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STD, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW, ZWD
Update asset — 200 response body — data assigned user Details of the user with asset possession
FieldTypePresenceDescription and constraints
$objectRootDetails of the user with asset possession
emailsarrayRequired within parentArray of user email addresses
emails[]stringEach itemFormat: email
first_namestringRequired within parentFirst name of the user
hris_profile_idstringRequired within parentThe unique identifier of the HRIS profile of the assigned user
Format: uuid
last_namestringRequired within parentLast name of the user
Update asset — 200 response body — data / assigned_warehouse / ownership: DEEL, ORGANIZATION, warehouse type: CLEARANCE, DEEL, ORGANIZATION
FieldTypePresenceDescription and constraints
$objectRootDetails of the warehouse with asset possession
addressModelRequired within parentExpand Update asset — 200 response body — data / assigned_warehouse / ownership: DEEL, ORGANIZATION, warehouse type: CLEARANCE, DEEL, ORGANIZATION address
Warehouse address details
idstringRequired within parentUnique identifier of the warehouse
Format: uuid
namestringRequired within parentWarehouse or storage location name
ownershipstringRequired within parentWarehouse ownership type
Known values: DEEL, ORGANIZATION
public_idstringRequired within parentPublic identifier of the warehouse
warehouse_typestringRequired within parentWarehouse type
Known values: CLEARANCE, DEEL, ORGANIZATION

Referenced models: Update asset — 200 response body — data / assigned_warehouse / ownership: DEEL, ORGANIZATION, warehouse type: CLEARANCE, DEEL, ORGANIZATION address

Update asset — 200 response body — data keyboard layout string
FieldTypePresenceDescription and constraints
$stringRootKeyboard layout of the asset, null when none is recorded
Known values: ARABIC, BELARUSIAN_JCUKEN, BELGIAN_AZERTY, BRAZILIAN_PORTUGUESE_QWERTY, BULGARIAN, CANADIAN_MULTILINGUAL_STANDARD_QWERTY, COLEMAK, CROATIAN_QWERTZ, CZECH_QWERTY, DANISH_QWERTY, DUTCH_QWERTY, DVORAK_ENGLISH, DVORAK_FRENCH, EGYPTIAN_LOCAL, ENGLISH_RUSSIAN_QWERTY, EU_STANDARD_QWERTY, FRENCH_AZERTY, FRENCH_BEPO, GERMAN_QWERTZ, GREEK, HEBREW, HUNGARIAN_QWERTZ, INDIAN_QWERTY, INTERNATIONAL_ENGLISH_QWERTY, ITALIAN_QWERTY, JAPANESE_QWERTY, KOREAN_QWERTY, LATAM_QWERTY, NORWEGIAN_QWERTY, POLISH_QWERTY, PORTUGUESE_QWERTY, RUSSIAN_JCUKEN, SERBIAN_CYRILLIC, SERBIAN_LATIN_QWERTZ, SLOVAK_QWERTZ, SPANISH_QWERTY, SWEDISH_QWERTY, SWISS_FRENCH_QWERTZ, SWISS_GERMAN_QWERTZ, THAI, TURKISH_QWERTY, UKRAINIAN_JCUKEN, UK_ENGLISH_QWERTY, UNKNOWN, US_ENGLISH_QWERTY, VIETNAMESE, WORKMAN

SDK function policy ID: deel.itassets_updateasset_v2026_09_29. Catalog operation: itassets_updateasset_v2026_09_29. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["it-assets:write"]

Pinned headers: {"X-Version": "2026-09-29"}

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.