Deel: Create an IT asset
Deel itAssets.createAsset: arguments, response, policy and SDK examples.
← IT assets operations · Get started
Operation deel.itassets_createasset_v2026_09_15
Provider route: POST /it/assets. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”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"]["createAsset"]>[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.createAsset(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom 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.create_asset(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
headers | object | Required within parent | Additional keys: not allowed |
headers.X-Beta | string | Required within parent | Default: true One of: true |
body | object | Optional | |
body.data | Model | Required within parent | Expand Create an IT asset — request body — body data |
Referenced models: Create an IT asset — request body — body data
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Update asset — 200 response body |
Referenced models: Update asset — 200 response body
Schemas
Section titled “Schemas”66 more schemas are linked from the tables above, on the schema pages.
Create an IT asset — request body — body data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
brand | string | Required within parent | Product brand. Free-form; well-known values ("Apple", "Microsoft", "Dell", "Lenovo", "HP") are normalized when passed with common aliases. |
category | Model | Required within parent | Expand Create an IT asset — request body — body data category Product category |
end_of_life_on | string | Optional | End-of-life date for the asset Format: date |
grade | string | Optional | Condition grade of the asset. Currently ignored when location is AT_WAREHOUSE. One of: A, B, C, D, F, NEW |
hris_profile_id | string | Optional | HRIS profile ID of the user the asset is assigned to. Required when location is WITH_USER. Format: uuid |
keyboard_layout | Model | Optional | Expand Create an IT asset — request body — body data keyboard layout Keyboard layout of the asset. Required for laptops. |
location | string | Required within parent | Where the asset is located when created. Must be WITH_USER or AT_WAREHOUSE. One of: AT_WAREHOUSE, WITH_USER |
name | string | Required within parent | Product name displayed for the asset |
operating_system | string | Optional | Operating system running on the asset. Required for device categories that support an operating system. One of: ANDROID_PHONE, ANDROID_TABLET, CHROME_OS, IOS_PHONE, IOS_TABLET, LINUX, MACOS, WINDOWS |
purchase_date | string | Optional | Date the asset was purchased Format: date |
purchase_value | Model | Optional | Expand Update asset — request body — body data purchase value Price paid for the asset |
serial_number | string | Optional | Asset serial number. Required for device categories. |
specifications | array | Required within parent | Product specifications |
specifications[] | Model | Each item | Expand Create an IT asset — request body — body data specifications item |
storage_location_id | string | Optional | ID of the organization storage location the asset is stored at. Required when location is AT_WAREHOUSE. Format: uuid |
Referenced models: Create an IT asset — request body — body data category, Update asset — request body — body data purchase value, Create an IT asset — request body — body data keyboard layout, Create an IT asset — request body — body data specifications item
Update asset — 200 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | Model | Required within parent | Expand Update asset — 200 response body — data |
Referenced models: Update asset — 200 response body — data
Create an IT asset — request body — body data category
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | string | Root | Product category One of: ADAPTER, CABLE, CHAIR, CHARGER, COMPACT_DESKTOP, DESK, DESKTOP, DESK_RISER, DESK_TIDY, DOCKING_STATION, DONGLE, FOOTREST, HEADSET, KEYBOARD, LAPTOP, LAPTOP_STAND, MICE_TRACKPAD, MOBILE_DEVICE, MONITOR, MONITOR_ARM, OTHER, PRINTER, SHREDDER, STANDING_MAT, TABLET, TASK_LIGHT, WEBCAM, WELCOME_PACK, WIFI_RANGE_EXTENDER |
Update asset — request body — body data purchase value
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Price paid for the asset |
amount | string | Required within parent | Amount Format: decimal |
currency | Model | Required within parent | Expand 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
Create an IT asset — request body — body data keyboard layout
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | string | Root | Keyboard layout of the asset. Required for laptops. One of: 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 |
Create an IT asset — request body — body data specifications item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
name | string | Required within parent | Specification key One of: COLOR, DISPLAY, MEMORY, PROCESSOR, STORAGE |
value | string | Required within parent | Specification value |
Update asset — request body — body data purchase value currency
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | string | Root | Three-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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details of the user with asset possession |
emails | array | Required within parent | Array of user email addresses |
emails[] | string | Each item | Format: email |
first_name | string | Required within parent | First name of the user |
hris_profile_id | string | Required within parent | The unique identifier of the HRIS profile of the assigned user Format: uuid |
last_name | string | Required within parent | Last name of the user |
Update asset — 200 response body — data / assigned_warehouse / ownership: DEEL, ORGANIZATION, warehouse type: CLEARANCE, DEEL, ORGANIZATION
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details of the warehouse with asset possession |
address | Model | Required within parent | Expand Update asset — 200 response body — data / assigned_warehouse / ownership: DEEL, ORGANIZATION, warehouse type: CLEARANCE, DEEL, ORGANIZATION address Warehouse address details |
id | string | Required within parent | Unique identifier of the warehouse Format: uuid |
name | string | Required within parent | Warehouse or storage location name |
ownership | string | Required within parent | Warehouse ownership type Known values: DEEL, ORGANIZATION |
public_id | string | Required within parent | Public identifier of the warehouse |
warehouse_type | string | Required within parent | Warehouse 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | string | Root | Keyboard 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 |
Update asset — 200 response body — data ownership
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Asset owner |
name | string | Required within parent | Asset owner name |
type | string | Required within parent | Asset owner type Known values: DEEL, ORGANIZATION |
Update asset — 200 response body — data purchase value Purchase value of the asset
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Purchase value of the asset |
amount | string | Required within parent | Amount Format: decimal |
currency | Model | Required within parent | Expand Retrieve the IT seat subscription — 200 response body — data monthly seat price currency Three-letter currency code for the price |
Referenced models: Retrieve the IT seat subscription — 200 response body — data monthly seat price currency
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: deel.itassets_createasset_v2026_09_15. Catalog operation: itassets_createasset_v2026_09_15. 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-15"}