InventoryAssets
Create InventoryAsset
Create a new InventoryAsset record.
POST
Create InventoryAsset
An InventoryAsset represents a physical asset — such as a desk, chair, monitor, printer, or other piece of equipment — that a location can track and optionally assign to customers. Each asset belongs to a single location (Documentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
BusinessId) and can be assigned to a specific scope via AssignToType:
| AssignToType value | Meaning |
|---|---|
| 1 (Location) | Assigned to the location generally, not tied to a specific resource or floor-plan item |
| 2 (Resource) | Linked to a bookable resource (e.g. a specific meeting room) via ResourceId |
| 3 (FloorPlanItem) | Linked to a floor-plan desk via FloorPlanDeskId |
CoworkerIds, CoworkerFullNames, CoworkerStartDates, and CoworkerEndDates reflect current assignments. To manage coworker-level assignments, use the CoworkerInventoryAsset entity instead.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the InventoryAsset-Create role.Enums
eInventoryAssetAssignToType — AssignToType values
eInventoryAssetAssignToType — AssignToType values
| Value | Name |
|---|---|
| 1 | Location |
| 2 | Resource |
| 3 | FloorPlanItem |
Request Body
Required Fields
ID of the business linked to this record.
Display name of the asset (e.g. ‘Standing Desk #3’, ‘HP LaserJet’).
Determines what this asset is assigned to: Location (1), Resource (2), or FloorPlanItem (3). Defaults to
eInventoryAssetAssignToType.Location.Optional Fields
Free-text description of the asset.
Stock-keeping unit code for the asset.
URL of a new file to upload as the image.
Set to true to remove the current image file.
Monetary value of the asset.
ID of the floor plan desk linked to this record.
ID of the resource linked to this record.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the inventoryasset was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create InventoryAsset