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`.

PATCH
/v2/commander/inventory/assets/bulk

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"}