Skip to content

Deel: Assign asset to new holder

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

← IT assets operations · Get started

Operation deel.itassets_transferitasset_v2026_09_17

Provider route: POST /it/assets/{asset_id}/transfer. 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"]["transferItAsset"]>[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.transferItAsset(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.transfer_it_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 Assign asset to new holder — request body — body data

Referenced models: Assign asset to new holder — 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

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

Assign asset to new holder — request body — body data
FieldTypePresenceDescription and constraints
$objectRoot
collection_addressModelRequired within parentExpand Assign asset to new holder — request body — body data collection address
Location the asset is being collected from before being shipped to the new holder.
delivery_addressModelOptionalExpand Assign asset to new holder — request body — body data delivery address
Delivery address for the target holder. Optional when the target HRIS profile already has a valid delivery address on file.
hris_profile_idstringRequired within parentHRIS profile identifier of the new holder.
Format: uuid
not_beforestringOptionalEarliest date Deel logistics may execute the pickup.
Format: date
shipment_insuranceModelOptionalExpand Assign asset to new holder — request body — body data shipment insurance
Insurance-consent flag and optional purchase details Deel records against the asset. May be omitted (or sent with `is_waived: false` and no `purchase_details`) if the asset already has a purchase price and date on record. Ignored for an asset bought from Deel, which always ships insured with its stored details unchanged.

Referenced models: Assign asset to new holder — request body — body data shipment insurance, Assign asset to new holder — request body — body data collection address, Assign asset to new holder — request body — body data delivery address

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

Assign asset to new holder — request body — body data shipment insurance
FieldTypePresenceDescription and constraints
$objectRootInsurance-consent flag and optional purchase details Deel records against the asset. May be omitted (or sent with `is_waived: false` and no `purchase_details`) if the asset already has a purchase price and date on record. Ignored for an asset bought from Deel, which always ships insured with its stored details unchanged.
is_waivedbooleanRequired within parentConsent to ship without insurance. When true, `purchase_details` must be omitted and Deel will not record a purchase price against the asset. Ignored for an asset bought from Deel.
purchase_detailsModelOptionalExpand Assign asset to new holder — request body — body data shipment insurance purchase details
Purchase details Deel records against the asset. Omit to fall back to purchase details already stored on the asset, if any. Must be omitted when `is_waived` is true. Ignored for an asset bought from Deel.

Referenced models: Assign asset to new holder — request body — body data shipment insurance purchase details

Assign asset to new holder — request body — body data collection address
FieldTypePresenceDescription and constraints
$objectRootLocation the asset is being collected from before being shipped to the new holder.
countryModelOptionalExpand Assign asset to new holder — request body — body data collection address country
Country the asset is being picked up from. Overrides the country the asset-action validator derives from asset state.

Referenced models: Assign asset to new holder — request body — body data collection address country

Assign asset to new holder — request body — body data delivery address
FieldTypePresenceDescription and constraints
$objectRootDelivery address for the target holder. Optional when the target HRIS profile already has a valid delivery address on file.
citystringOptionalCity name
countryModelRequired within parentExpand Assign asset to new holder — request body — body data delivery address country
Country code (ISO 3166 alpha-2)
date_of_birthstringOptionalDate of birth
Format: date
delivery_instructionsstringOptionalDelivery instructions for the courier
line1stringOptionalAddress line 1
line2stringOptionalAddress line 2
passport_numberstringOptionalPassport number
phone_numberstringOptionalPhone number in E.164 format
post_codestringOptionalPost code
statestringOptionalState or region name
tax_id_numberstringOptionalTax ID number

Referenced models: Assign asset to new holder — request body — body data delivery address country

Assign asset to new holder — request body — body data shipment insurance purchase details
FieldTypePresenceDescription and constraints
$objectRootPurchase details Deel records against the asset. Omit to fall back to purchase details already stored on the asset, if any. Must be omitted when `is_waived` is true. Ignored for an asset bought from Deel.
datestringRequired within parentDate the asset was purchased.
Format: date
priceModelRequired within parentExpand Assign asset to new holder — request body — body data shipment insurance purchase details price
Purchase price paid for the asset.

Referenced models: Assign asset to new holder — request body — body data shipment insurance purchase details price

Assign asset to new holder — request body — body data collection address country
FieldTypePresenceDescription and constraints
$stringRootCountry the asset is being picked up from. Overrides the country the asset-action validator derives from asset state.
One of: AD, AE, AF, AG, AI, AL, AM, AN, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, IC, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW
Assign asset to new holder — request body — body data delivery address country
FieldTypePresenceDescription and constraints
$stringRootCountry code (ISO 3166 alpha-2)
One of: AD, AE, AF, AG, AI, AL, AM, AN, AO, AQ, AR, AS, AT, AU, AW, AX, AZ, BA, BB, BD, BE, BF, BG, BH, BI, BJ, BL, BM, BN, BO, BQ, BR, BS, BT, BV, BW, BY, BZ, CA, CC, CD, CF, CG, CH, CI, CK, CL, CM, CN, CO, CR, CU, CV, CW, CX, CY, CZ, DE, DJ, DK, DM, DO, DZ, EC, EE, EG, EH, ER, ES, ET, FI, FJ, FK, FM, FO, FR, GA, GB, GD, GE, GF, GG, GH, GI, GL, GM, GN, GP, GQ, GR, GS, GT, GU, GW, GY, HK, HM, HN, HR, HT, HU, IC, ID, IE, IL, IM, IN, IO, IQ, IR, IS, IT, JE, JM, JO, JP, KE, KG, KH, KI, KM, KN, KP, KR, KW, KY, KZ, LA, LB, LC, LI, LK, LR, LS, LT, LU, LV, LY, MA, MC, MD, ME, MF, MG, MH, MK, ML, MM, MN, MO, MP, MQ, MR, MS, MT, MU, MV, MW, MX, MY, MZ, NA, NC, NE, NF, NG, NI, NL, NO, NP, NR, NU, NZ, OM, PA, PE, PF, PG, PH, PK, PL, PM, PN, PR, PS, PT, PW, PY, QA, RE, RO, RS, RU, RW, SA, SB, SC, SD, SE, SG, SH, SI, SJ, SK, SL, SM, SN, SO, SR, SS, ST, SV, SX, SY, SZ, TC, TD, TF, TG, TH, TJ, TK, TL, TM, TN, TO, TR, TT, TV, TW, TZ, UA, UG, US, UY, UZ, VA, VC, VE, VG, VI, VN, VU, WF, WS, XK, YE, YT, ZA, ZM, ZW
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

SDK function policy ID: deel.itassets_transferitasset_v2026_09_17. Catalog operation: itassets_transferitasset_v2026_09_17. 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-service-requests:write"]

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

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 how our website, product, and documentation are used.

Performance diagnostics

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

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

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