Skip to main content

OrderImportInput

No description

input OrderImportInput {
stops: [StopImportInput!]!
legViapoints: [LegViapointsInput!]
load: LoadInput
reference: String
comment: String
files: [OrderFilesInput!]
loadingUnits: [OrderLoadingUnitsInput!]
subcontractor: ObjectId
vehicle: ObjectId
driver: ObjectId
customer: ObjectId
additionalDetails: [AdditionalFieldInput!]
}

Fields

OrderImportInput.stops ● [StopImportInput!]! non-null input

Stops that the driver will have to drive to in order to process the order. Minimum is 2 stops (i.e. pickup & drop).

OrderImportInput.legViapoints ● [LegViapointsInput!] list input

OrderImportInput.load ● LoadInput input

Detailed order load information.

OrderImportInput.reference ● String scalar

Reference number of the order. This is usually internal for the company and not supplied by external customers and third parties. If missing, will be autogenerated based on stop locations and dates.

OrderImportInput.comment ● String scalar

OrderImportInput.files ● [OrderFilesInput!] list input

OrderImportInput.loadingUnits ● [OrderLoadingUnitsInput!] list input

Detailed information about the shipments to be included in this order.

OrderImportInput.subcontractor ● ObjectId scalar

Reference to the CostprofilesSubcontractor model _id. Has to be a valid ObjectId.

OrderImportInput.vehicle ● ObjectId scalar

Reference to the CostprofilesVehicle model _id. Has to be a valid ObjectId.

OrderImportInput.driver ● ObjectId scalar

Reference to the CostprofilesDriver model _id. Has to be a valid ObjectId.

OrderImportInput.customer ● ObjectId scalar

Reference to the CostprofilesCustomer model _id. Has to be a valid ObjectId.

OrderImportInput.additionalDetails ● [AdditionalFieldInput!] list input

An array of additional data. Can be used to store external order data or reference, custom / company specific data, or data specific to the order execution. The array contains values (can be strings, numbers, or arrays of strings), and labels (strings) used to identify the fields.