CompanyOrderQuery
Filter options to restrict the returned company orders. To also include archived orders in the result set 'archived': true.
input CompanyOrderQuery {
_id: [ObjectId!]
order: [ObjectId!]
customer: [ObjectId!]
driver: [ObjectId!]
subcontractor: [ObjectId!]
dispatcher: [ObjectId!]
vehicle: [ObjectId!]
trailer: [ObjectId!]
archived: Boolean
status: [EnumOrderStatus!]
reference: String
loadingReference: String
unloadingReference: String
equipmentExchange: Boolean
bodyType: [BodyType!]
address: [ObjectId!]
startOrEndLocation: StopLocationQuery
assignedTo: [ObjectId!]
date: DateFilter
endDate: DateFilter
assignedDriver: [ObjectId!]
additionalDetails: [AdditionalDetailsFilter!]
lastChangeRequestStatus: [ChangeRequestStatus!]
isSubOrder: Boolean
updatedAt: DateFilter
startLocation: StopLocationQuery
endLocation: StopLocationQuery
}