Luxor PlatformAPI DocumentationCommanderInventory
Bulk restore inventory assets
Restores (un-archives) one or more soft-deleted assets.
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 POST "https://example.com/v2/commander/inventory/assets/restore" \ -H "Content-Type: application/json" \ -d '{ "asset_ids": [ "44e291e8-75e3-4d1e-84ca-4a7724578323" ] }'{ "restored_count": 7, "total_count": 7}{ "statusCode": 400, "code": "FST_ERR_VALIDATION", "error": "Bad Request", "message": "body/end_date Required"}{ "statusCode": 403, "code": "7", "error": "Forbidden", "message": "[permission_denied] site_id does not belong to this workspace"}Bulk delete inventory assets
Soft-deletes many assets, selected by explicit `asset_ids` or a `filter`.
Get parts
Returns a paginated list of parts with search and sorting. Each part belongs to exactly one site and carries that site's stock, so a part stocked at several sites appears as one entry per site. Narrow to one site with `site_id`. For nested AND/OR logic, pass the `filter` query parameter as URL-encoded JSON; when supplied, it supersedes the flat filter params (category, supplier).