Orders

Look up lines by resource

Lists the order lines assigned to one or more staff or fleet resources over a date range: a technician's or a vehicle's planner.

Action
orders.lineItems.findByResource
PropertyValue
Domainorders
Group in the editorOrders › Orders
Runs asThe owner of the workflow, with their permissions
PermissionView access to Orders. Administrators always pass; a module outside the plan blocks everyone.
DestructiveNot declared

Inputs

resourceTypeenum<string>Required

Available options: staff, vehicle

resourceIdsstring[]Required

IDs of the resources to look up.

startDatestring

endDatestring

statusstring[]

Statuses of the lines to include; with no filter, all.

Available options: draft, reserved, prepared, picked_up, sold, returned, checked_in, cancelled, lost

Limits: advanced

Outputs

resourceResultsjson

unavailabilityByResourcejson