Luxor PlatformAPI DocumentationCommanderInventory
Bulk update inventory assets
Applies updates to many assets at once: the same `changes` to all selected assets, or different `per_asset` values. Targets are chosen by explicit `asset_ids` or by a `filter`.
Authorization
LuxorAPIKey authorization<token>
Use your API key here.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://example.com/v2/commander/inventory/assets/bulk" \ -H "Content-Type: application/json" \ -d '{}'{ "updated_count": 42, "total_count": 42}{ "statusCode": 400, "code": "FST_ERR_VALIDATION", "error": "Bad Request", "message": "body/end_date Required"}{ "statusCode": 400, "code": "FST_ERR_VALIDATION", "error": "Bad Request", "message": "body/end_date Required"}Update inventory asset
Updates an inventory asset. All fields optional; only supplied fields change. `custom_fields` is merged (only supplied keys are updated; send an empty string to clear a key).
Delete inventory asset
Soft-deletes (archives) a single inventory asset. Archived assets can be restored. Returns 204.