API reference
RoutiGo Core REST API
Version 1.0Base URL https://api.routigo.com/api/v1Format JSONSpec OpenAPI 3.0.1 · download
Authentication: API key or Bearer token
Send your key in the X-API-KEY header with every call.
Send a token in the Authorization: Bearer header.
15 calls
Shipments
RoutiGo Core REST API · Shipments↑ Index
Create a shipment within the RoutiGo system
/shipmentRequest body required
An identifier for a given shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.
e.g. 91a34a3e-6e84-11ee-b962-0242ac120002
The day at which the shipment should take place (full-date notation as defined by RFC 3339, section 5.6)
e.g. 2023-08-10
pickUpLocationoptionalInputShipmentLocation 9 fields
A unique identifier of the shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.
e.g. 35463906-d19e-485d-9976-6e896046c685
addressInformationrequiredAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
durationrequiredobject 5 fieldsThe duration of the shipment.
e.g. PT30M
The duration of the shipment.
e.g. PT30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
timeWindowsrequiredTimeWindow [ ] 3 fieldsThe time windows specify the time limitations for the driver's arrival at the location.
The time windows specify the time limitations for the driver's arrival at the location.
afteroptionalobject 5 fieldsThe earliest time the driver is allowed to arrive at the location
e.g. PT09H30M
The earliest time the driver is allowed to arrive at the location
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
beforeoptionalobject 5 fieldsThe latest time the driver is allowed to arrive at the location
e.g. PT11H30M
The latest time the driver is allowed to arrive at the location
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time constraint
default CONTRACTe.g. CONTRACT
timeRestrictionsrequiredTimeRestriction [ ] 3 fieldsThe time restrictions specify when the driver's can not arrive at the location.
The time restrictions specify when the driver's can not arrive at the location.
startrequiredobject 5 fieldsThe start time of the restriction
e.g. PT09H30M
The start time of the restriction
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
endrequiredobject 5 fieldsThe end time of the restriction
e.g. PT11H30M
The end time of the restriction
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time restriction
default AREA_RESTRICTIONe.g. AREA_RESTRICTION
tasksrequiredTask [ ] 2 fields
An optional remark field where on route instructions can be placed. It will be shown to the courier while he is driving to this location.
e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.
An optional remark field where on site instructions can be placed. It will be shown to the courier while he is driving to this location.
e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order.
interactionsrequiredInteractions 1 fieldWithin RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Indicates if an alcohol check should be performed
default falsee.g. true
deliveryLocationoptionalInputShipmentLocation 9 fields
A unique identifier of the shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.
e.g. 35463906-d19e-485d-9976-6e896046c685
addressInformationrequiredAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
durationrequiredobject 5 fieldsThe duration of the shipment.
e.g. PT30M
The duration of the shipment.
e.g. PT30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
timeWindowsrequiredTimeWindow [ ] 3 fieldsThe time windows specify the time limitations for the driver's arrival at the location.
The time windows specify the time limitations for the driver's arrival at the location.
afteroptionalobject 5 fieldsThe earliest time the driver is allowed to arrive at the location
e.g. PT09H30M
The earliest time the driver is allowed to arrive at the location
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
beforeoptionalobject 5 fieldsThe latest time the driver is allowed to arrive at the location
e.g. PT11H30M
The latest time the driver is allowed to arrive at the location
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time constraint
default CONTRACTe.g. CONTRACT
timeRestrictionsrequiredTimeRestriction [ ] 3 fieldsThe time restrictions specify when the driver's can not arrive at the location.
The time restrictions specify when the driver's can not arrive at the location.
startrequiredobject 5 fieldsThe start time of the restriction
e.g. PT09H30M
The start time of the restriction
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
endrequiredobject 5 fieldsThe end time of the restriction
e.g. PT11H30M
The end time of the restriction
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time restriction
default AREA_RESTRICTIONe.g. AREA_RESTRICTION
tasksrequiredTask [ ] 2 fields
An optional remark field where on route instructions can be placed. It will be shown to the courier while he is driving to this location.
e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.
An optional remark field where on site instructions can be placed. It will be shown to the courier while he is driving to this location.
e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order.
interactionsrequiredInteractions 1 fieldWithin RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Indicates if an alcohol check should be performed
default falsee.g. true
supplieroptionalSupplier 2 fieldsThe supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.
The supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.
The technical code identifier. Usually this is a customer identifier or code. This code should be unique, because later this identifier can be used to retrieve all shipments for a single supplier.
e.g. ABS
The human readable description of the supplier, which can be used in communication with the receiver e.g.
e.g. A Banana Store
routerequiredAssignedRoute 5 fields
A unique identifier for the tour
e.g. 23487234-7623476236-B76
The name of the tour
e.g. Ingeladen-1
A unique identifier for the SVC
e.g. AMS
SVC name
e.g. Amsterdam
assignedTooptionalAssignedUser 3 fieldsThe assigned courier
The assigned courier
The username of the user
e.g. random-user@routigo.com
The first name of the user
e.g. Jaap
The last name of the user
e.g. Janssen
unitsoptionalUnit [ ] 3 fields
A human readable description of the unit that needs to be picked up or delivered
e.g. BOX 1 - Bananas, apples and oranges
A number, describing the number of items that need to be picked up or delivered
e.g. 123
tagsoptionalPhysicalTag [ ] 2 fieldsA set of physical tags that can be scanned to identify this unit
A set of physical tags that can be scanned to identify this unit
The unique identifier for the physical tag
e.g. 762347623469
A type indicating the type of the physical tag
e.g. BARCODE
tagsoptionalPhysicalTag [ ] 2 fieldsA set of physical tags
A set of physical tags
The unique identifier for the physical tag
e.g. 762347623469
A type indicating the type of the physical tag
e.g. BARCODE
A map of custom key-value fields to persist with this shipment. Keys must not exceed 255 characters.
Returns
The shipment has been accepted and successfully added.
No response body. A 201 status is the confirmation.
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
RoutiGo Core REST API · Shipments↑ Index
Retrieve a shipment by its id
/shipment /{id}Parameters
Path
A shipment ID
Returns
The shipment has been successfully retrieved.
An identifier for a given shipment
e.g. ASJHD-ASDJH-71235
An identifier provided by the user of RoutiGo, this identifier is unique per day
e.g. ASSIGNMENT-76
The day at which the shipment should take place (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21)
e.g. 2019-11-30
assignedRouteoptionalAssignedRoute 5 fields
A unique identifier for the tour
e.g. 23487234-7623476236-B76
The name of the tour
e.g. Ingeladen-1
A unique identifier for the SVC
e.g. AMS
SVC name
e.g. Amsterdam
assignedTooptionalAssignedUser 3 fieldsThe assigned courier
The assigned courier
The username of the user
e.g. random-user@routigo.com
The first name of the user
e.g. Jaap
The last name of the user
e.g. Janssen
pickUpLocationoptionalShipmentLocation 15 fields
durationrequiredobject 5 fieldsThe amount of time we expect to spend at the location for this shipment
e.g. PT0H5M
The amount of time we expect to spend at the location for this shipment
e.g. PT0H5M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
originalAddressoptionalAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
addressInformationoptionalAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
interactionsrequiredInteractions 1 fieldWithin RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Indicates if an alcohol check should be performed
default falsee.g. true
Deprecated, use the onSiteInstructions field instead.
the estimated time of arrival
Identifier used to find tracking information as send to the receiver
e.g. 757e7190-f6c2-4732-8f94-2eab426ed020
An optional remark field where on route instructions can be placed. These will be shown to the courier while he is driving to this location.
e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.
An optional remark field where on site instructions can be placed. These will be shown to the courier while he is driving to this location. This field was formerly known as remark.
e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order
clientInstructionsoptionalClientInstruction [ ] 5 fields
The moment at which the instruction was set, presented in ISO 8601 datetime with time zone format
e.g. 2024-01-01T14:26:51Z
The actual instruction the client set.
e.g. If I'm not at home, you can leave it at the door.
This class specifies the preferred action to be taken by the courier if the client is unavailable at the delivery address or notifies that he/she is not at home. Instruction types include not at home remark, leaving the parcel at the neighbours and leaving the parcel in the safe space.
e.g. LEAVE_AT_NEIGHBOURS
If the client chooses LEAVE_AT_NEIGHBOURS or LEAVE_IN_SAFE_PLACE delivery, he/she must provide a specific neighbour's address or the designated location accordingly.
e.g. Please, leave my parcel with the neighbours: Wibautstraat 123.
An optional field for any other details.
e.g. Please, do NOT leave parcels in the bin.
timeConstraintsoptionalTimeConstraint [ ] 3 fields
The earliest time the driver is allowed to arrive at the location
The latest time the driver is allowed to arrive at the location
An enum indicating the type of time constraint
e.g. PROPOSED
timeRestrictionsoptionalTimeRestriction [ ] 3 fields
startrequiredobject 5 fieldsThe start time of the restriction
e.g. PT09H30M
The start time of the restriction
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
endrequiredobject 5 fieldsThe end time of the restriction
e.g. PT11H30M
The end time of the restriction
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time restriction
default AREA_RESTRICTIONe.g. AREA_RESTRICTION
contactInformationoptionalContactInformation [ ] 4 fields
The name of the contact person
e.g. Jan-Johan Janssen
The email-address used to send out emails regarding updates on the visit
e.g. no-reply@routigo.com
The phone number used to send out text messages regarding updates on the visit
e.g. +31612345678
The customer language used for communication. Default NL.Described using: ISO 639-1:2002, Codes for the representation of names of languages
e.g. NL
completionDataoptionalCompletionData 3 fieldsAll data about the completion of a single assignment
All data about the completion of a single assignment
The time at which the assignment was marked as arrived
locationoptionalGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
The username of the courier that arrived at this assignment.
e.g. random-user@routigo.com
arrivalDataoptionalCompletionData 3 fieldsAll data about the completion of a single assignment
All data about the completion of a single assignment
The time at which the assignment was marked as arrived
locationoptionalGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
The username of the courier that arrived at this assignment.
e.g. random-user@routigo.com
deliveryLocationoptionalShipmentLocation 15 fields
durationrequiredobject 5 fieldsThe amount of time we expect to spend at the location for this shipment
e.g. PT0H5M
The amount of time we expect to spend at the location for this shipment
e.g. PT0H5M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
originalAddressoptionalAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
addressInformationoptionalAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
interactionsrequiredInteractions 1 fieldWithin RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Indicates if an alcohol check should be performed
default falsee.g. true
Deprecated, use the onSiteInstructions field instead.
the estimated time of arrival
Identifier used to find tracking information as send to the receiver
e.g. 757e7190-f6c2-4732-8f94-2eab426ed020
An optional remark field where on route instructions can be placed. These will be shown to the courier while he is driving to this location.
e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.
An optional remark field where on site instructions can be placed. These will be shown to the courier while he is driving to this location. This field was formerly known as remark.
e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order
clientInstructionsoptionalClientInstruction [ ] 5 fields
The moment at which the instruction was set, presented in ISO 8601 datetime with time zone format
e.g. 2024-01-01T14:26:51Z
The actual instruction the client set.
e.g. If I'm not at home, you can leave it at the door.
This class specifies the preferred action to be taken by the courier if the client is unavailable at the delivery address or notifies that he/she is not at home. Instruction types include not at home remark, leaving the parcel at the neighbours and leaving the parcel in the safe space.
e.g. LEAVE_AT_NEIGHBOURS
If the client chooses LEAVE_AT_NEIGHBOURS or LEAVE_IN_SAFE_PLACE delivery, he/she must provide a specific neighbour's address or the designated location accordingly.
e.g. Please, leave my parcel with the neighbours: Wibautstraat 123.
An optional field for any other details.
e.g. Please, do NOT leave parcels in the bin.
timeConstraintsoptionalTimeConstraint [ ] 3 fields
The earliest time the driver is allowed to arrive at the location
The latest time the driver is allowed to arrive at the location
An enum indicating the type of time constraint
e.g. PROPOSED
timeRestrictionsoptionalTimeRestriction [ ] 3 fields
startrequiredobject 5 fieldsThe start time of the restriction
e.g. PT09H30M
The start time of the restriction
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
endrequiredobject 5 fieldsThe end time of the restriction
e.g. PT11H30M
The end time of the restriction
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time restriction
default AREA_RESTRICTIONe.g. AREA_RESTRICTION
contactInformationoptionalContactInformation [ ] 4 fields
The name of the contact person
e.g. Jan-Johan Janssen
The email-address used to send out emails regarding updates on the visit
e.g. no-reply@routigo.com
The phone number used to send out text messages regarding updates on the visit
e.g. +31612345678
The customer language used for communication. Default NL.Described using: ISO 639-1:2002, Codes for the representation of names of languages
e.g. NL
completionDataoptionalCompletionData 3 fieldsAll data about the completion of a single assignment
All data about the completion of a single assignment
The time at which the assignment was marked as arrived
locationoptionalGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
The username of the courier that arrived at this assignment.
e.g. random-user@routigo.com
arrivalDataoptionalCompletionData 3 fieldsAll data about the completion of a single assignment
All data about the completion of a single assignment
The time at which the assignment was marked as arrived
locationoptionalGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
The username of the courier that arrived at this assignment.
e.g. random-user@routigo.com
supplieroptionalSupplier 2 fieldsThe supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.
The supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.
The technical code identifier. Usually this is a customer identifier or code. This code should be unique, because later this identifier can be used to retrieve all shipments for a single supplier.
e.g. ABS
The human readable description of the supplier, which can be used in communication with the receiver e.g.
e.g. A Banana Store
unitoptionalUnit [ ] 3 fields
A human readable description of the unit that needs to be picked up or delivered
e.g. BOX 1 - Bananas, apples and oranges
A number, describing the number of items that need to be picked up or delivered
e.g. 123
tagsoptionalPhysicalTag [ ] 2 fieldsA set of physical tags that can be scanned to identify this unit
A set of physical tags that can be scanned to identify this unit
The unique identifier for the physical tag
e.g. 762347623469
A type indicating the type of the physical tag
e.g. BARCODE
physicalTagoptionalPhysicalTag [ ] 2 fields
The unique identifier for the physical tag
e.g. 762347623469
A type indicating the type of the physical tag
e.g. BARCODE
Example response · 200
{
"identifier": "a4a1ebf3-c2d8-4f18-9a86-58621de05448",
"externalId": "3159af5d-f910-4e79-984a-bf4e0423410c",
"planDate": "2023-10-19",
"assignedRoute": {
"identifier": "DEMEERN|Rit|02|20231019",
"name": "Rit-02",
"serviceCentreCode": "DEMEERN",
"serviceCentreName": "De Meern",
"assignedTo": null
},
"pickUpLocation": null,
"deliveryLocation": {
"duration": "PT5M",
"addressInformation": {
"streetName": "Bisonspoor",
"houseNumber": "3002A-901",
"houseNumberAddition": null,
"postcode": "3605LT",
"cityName": "Maarssen",
"countryCode": "NL",
"geolocation": {
"latitude": 52.1353694,
"longitude": 5.0303715,
"course": null
}
},
"interactions": {
"alcoholCheckRequired": false,
"paymentRequired": {
"currency": "EUR",
"amount": 50
}
},
"remark": "The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.\n\nThis customer has ordered a meal for the first time. Please, introduce them to our concept and hand over a discount for the next order.",
"eta": "2023-12-20T15:11:57.901+01:00",
"customerTrackingId": "0edd3699ffc2445aa87c94a9a8028249",
"onRouteInstructions": "The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.",
"onSiteInstructions": "This customer has ordered a meal for the first time. Please, introduce them to our concept and hand over a discount for the next order.",
"timeConstraints": [
{
"deliverAfter": "2023-12-20T08:00:00+01:00",
"deliverBefore": "2023-12-20T12:00:00+01:00",
"type": "CONTRACT"
}
],
"contactInformation": [
{
"name": "Routigo",
"email": null,
"mobilePhone": null,
"language": null
}
],
"completionData": null
},
"supplier": null,
"unit": null,
"physicalTag": []
}The shipment with the given id does not exist.
No response body. A 204 status is the confirmation.
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
RoutiGo Core REST API · Shipments↑ Index
Update a shipment by its id
/shipment /{id}Parameters
Path
A shipment ID
Request body required
The day at which the shipment should take place (full-date notation as defined by RFC 3339, section 5.6)
e.g. 2023-08-10
pickUpLocationoptionalInputShipmentLocation 9 fields
A unique identifier of the shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.
e.g. 35463906-d19e-485d-9976-6e896046c685
addressInformationrequiredAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
durationrequiredobject 5 fieldsThe duration of the shipment.
e.g. PT30M
The duration of the shipment.
e.g. PT30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
timeWindowsrequiredTimeWindow [ ] 3 fieldsThe time windows specify the time limitations for the driver's arrival at the location.
The time windows specify the time limitations for the driver's arrival at the location.
afteroptionalobject 5 fieldsThe earliest time the driver is allowed to arrive at the location
e.g. PT09H30M
The earliest time the driver is allowed to arrive at the location
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
beforeoptionalobject 5 fieldsThe latest time the driver is allowed to arrive at the location
e.g. PT11H30M
The latest time the driver is allowed to arrive at the location
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time constraint
default CONTRACTe.g. CONTRACT
timeRestrictionsrequiredTimeRestriction [ ] 3 fieldsThe time restrictions specify when the driver's can not arrive at the location.
The time restrictions specify when the driver's can not arrive at the location.
startrequiredobject 5 fieldsThe start time of the restriction
e.g. PT09H30M
The start time of the restriction
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
endrequiredobject 5 fieldsThe end time of the restriction
e.g. PT11H30M
The end time of the restriction
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time restriction
default AREA_RESTRICTIONe.g. AREA_RESTRICTION
tasksrequiredTask [ ] 2 fields
An optional remark field where on route instructions can be placed. It will be shown to the courier while he is driving to this location.
e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.
An optional remark field where on site instructions can be placed. It will be shown to the courier while he is driving to this location.
e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order.
interactionsrequiredInteractions 1 fieldWithin RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Indicates if an alcohol check should be performed
default falsee.g. true
deliveryLocationoptionalInputShipmentLocation 9 fields
A unique identifier of the shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.
e.g. 35463906-d19e-485d-9976-6e896046c685
addressInformationrequiredAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
durationrequiredobject 5 fieldsThe duration of the shipment.
e.g. PT30M
The duration of the shipment.
e.g. PT30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
timeWindowsrequiredTimeWindow [ ] 3 fieldsThe time windows specify the time limitations for the driver's arrival at the location.
The time windows specify the time limitations for the driver's arrival at the location.
afteroptionalobject 5 fieldsThe earliest time the driver is allowed to arrive at the location
e.g. PT09H30M
The earliest time the driver is allowed to arrive at the location
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
beforeoptionalobject 5 fieldsThe latest time the driver is allowed to arrive at the location
e.g. PT11H30M
The latest time the driver is allowed to arrive at the location
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time constraint
default CONTRACTe.g. CONTRACT
timeRestrictionsrequiredTimeRestriction [ ] 3 fieldsThe time restrictions specify when the driver's can not arrive at the location.
The time restrictions specify when the driver's can not arrive at the location.
startrequiredobject 5 fieldsThe start time of the restriction
e.g. PT09H30M
The start time of the restriction
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
endrequiredobject 5 fieldsThe end time of the restriction
e.g. PT11H30M
The end time of the restriction
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time restriction
default AREA_RESTRICTIONe.g. AREA_RESTRICTION
tasksrequiredTask [ ] 2 fields
An optional remark field where on route instructions can be placed. It will be shown to the courier while he is driving to this location.
e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.
An optional remark field where on site instructions can be placed. It will be shown to the courier while he is driving to this location.
e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order.
interactionsrequiredInteractions 1 fieldWithin RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Indicates if an alcohol check should be performed
default falsee.g. true
supplieroptionalSupplier 2 fieldsThe supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.
The supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.
The technical code identifier. Usually this is a customer identifier or code. This code should be unique, because later this identifier can be used to retrieve all shipments for a single supplier.
e.g. ABS
The human readable description of the supplier, which can be used in communication with the receiver e.g.
e.g. A Banana Store
routerequiredAssignedRoute 5 fields
A unique identifier for the tour
e.g. 23487234-7623476236-B76
The name of the tour
e.g. Ingeladen-1
A unique identifier for the SVC
e.g. AMS
SVC name
e.g. Amsterdam
assignedTooptionalAssignedUser 3 fieldsThe assigned courier
The assigned courier
The username of the user
e.g. random-user@routigo.com
The first name of the user
e.g. Jaap
The last name of the user
e.g. Janssen
unitsoptionalUnit [ ] 3 fields
A human readable description of the unit that needs to be picked up or delivered
e.g. BOX 1 - Bananas, apples and oranges
A number, describing the number of items that need to be picked up or delivered
e.g. 123
tagsoptionalPhysicalTag [ ] 2 fieldsA set of physical tags that can be scanned to identify this unit
A set of physical tags that can be scanned to identify this unit
The unique identifier for the physical tag
e.g. 762347623469
A type indicating the type of the physical tag
e.g. BARCODE
A map of custom key-value fields to persist with this shipment. Keys must not exceed 255 characters.
Returns
The shipment has been successfully updated.
No response body. A 200 status is the confirmation.
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
The update has been rejected as the shipment could not be found.
No response body.
Unexpected error. Please contact RoutiGo for more details.
RoutiGo Core REST API · Shipments↑ Index
Delete a shipment by its id
/shipment /{id}Parameters
Path
A shipment ID
Returns
The shipment has successfully been deleted.
No response body. A 200 status is the confirmation.
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
The deletion has been rejected as the shipment could not be found.
No response body.
Unexpected error. Please contact RoutiGo for more details.
RoutiGo Core REST API · Shipments↑ Index
GET /shipment/{id}/{planDate}
/shipment /{id} /{planDate}Returns
OK
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
RoutiGo Core REST API · Shipments↑ Index
Get all shipments related to the given search term(s)
/shipments /searchParameters
Query
Sets up the earliest date for the search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21). It must be used alongside the "to" parameter. Incompatible with the "planDate" parameter.
Sets up the latest date for the search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21). It must be used alongside the "from" parameter. Incompatible with the "planDate" parameter.
Sets up the specific date for the search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21)
Specifies a search term which is used to find a set of shipments. The term is used to search in all properties of a shipment, such as description(s), name(s) and address details
Returns
A list of all found shipments
An identifier for a given shipment
e.g. ASJHD-ASDJH-71235
An identifier provided by the user of RoutiGo, this identifier is unique per day
e.g. ASSIGNMENT-76
The day at which the shipment should take place (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21)
e.g. 2019-11-30
assignedRouteoptionalAssignedRoute 5 fields
A unique identifier for the tour
e.g. 23487234-7623476236-B76
The name of the tour
e.g. Ingeladen-1
A unique identifier for the SVC
e.g. AMS
SVC name
e.g. Amsterdam
assignedTooptionalAssignedUser 3 fieldsThe assigned courier
The assigned courier
The username of the user
e.g. random-user@routigo.com
The first name of the user
e.g. Jaap
The last name of the user
e.g. Janssen
pickUpLocationoptionalShipmentLocation 15 fields
durationrequiredobject 5 fieldsThe amount of time we expect to spend at the location for this shipment
e.g. PT0H5M
The amount of time we expect to spend at the location for this shipment
e.g. PT0H5M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
originalAddressoptionalAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
addressInformationoptionalAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
interactionsrequiredInteractions 1 fieldWithin RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Indicates if an alcohol check should be performed
default falsee.g. true
Deprecated, use the onSiteInstructions field instead.
the estimated time of arrival
Identifier used to find tracking information as send to the receiver
e.g. 757e7190-f6c2-4732-8f94-2eab426ed020
An optional remark field where on route instructions can be placed. These will be shown to the courier while he is driving to this location.
e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.
An optional remark field where on site instructions can be placed. These will be shown to the courier while he is driving to this location. This field was formerly known as remark.
e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order
clientInstructionsoptionalClientInstruction [ ] 5 fields
The moment at which the instruction was set, presented in ISO 8601 datetime with time zone format
e.g. 2024-01-01T14:26:51Z
The actual instruction the client set.
e.g. If I'm not at home, you can leave it at the door.
This class specifies the preferred action to be taken by the courier if the client is unavailable at the delivery address or notifies that he/she is not at home. Instruction types include not at home remark, leaving the parcel at the neighbours and leaving the parcel in the safe space.
e.g. LEAVE_AT_NEIGHBOURS
If the client chooses LEAVE_AT_NEIGHBOURS or LEAVE_IN_SAFE_PLACE delivery, he/she must provide a specific neighbour's address or the designated location accordingly.
e.g. Please, leave my parcel with the neighbours: Wibautstraat 123.
An optional field for any other details.
e.g. Please, do NOT leave parcels in the bin.
timeConstraintsoptionalTimeConstraint [ ] 3 fields
The earliest time the driver is allowed to arrive at the location
The latest time the driver is allowed to arrive at the location
An enum indicating the type of time constraint
e.g. PROPOSED
timeRestrictionsoptionalTimeRestriction [ ] 3 fields
startrequiredobject 5 fieldsThe start time of the restriction
e.g. PT09H30M
The start time of the restriction
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
endrequiredobject 5 fieldsThe end time of the restriction
e.g. PT11H30M
The end time of the restriction
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time restriction
default AREA_RESTRICTIONe.g. AREA_RESTRICTION
contactInformationoptionalContactInformation [ ] 4 fields
The name of the contact person
e.g. Jan-Johan Janssen
The email-address used to send out emails regarding updates on the visit
e.g. no-reply@routigo.com
The phone number used to send out text messages regarding updates on the visit
e.g. +31612345678
The customer language used for communication. Default NL.Described using: ISO 639-1:2002, Codes for the representation of names of languages
e.g. NL
completionDataoptionalCompletionData 3 fieldsAll data about the completion of a single assignment
All data about the completion of a single assignment
The time at which the assignment was marked as arrived
locationoptionalGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
The username of the courier that arrived at this assignment.
e.g. random-user@routigo.com
arrivalDataoptionalCompletionData 3 fieldsAll data about the completion of a single assignment
All data about the completion of a single assignment
The time at which the assignment was marked as arrived
locationoptionalGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
The username of the courier that arrived at this assignment.
e.g. random-user@routigo.com
deliveryLocationoptionalShipmentLocation 15 fields
durationrequiredobject 5 fieldsThe amount of time we expect to spend at the location for this shipment
e.g. PT0H5M
The amount of time we expect to spend at the location for this shipment
e.g. PT0H5M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
originalAddressoptionalAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
addressInformationoptionalAddress 8 fieldsAn objecting holding all information related to a single location
An objecting holding all information related to a single location
Indicates the precise street name
e.g. Bisonspoor
Indicates the precise house number
e.g. 8006
Indicates the precise house number addition
e.g. A
Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces
e.g. 1234 AB
Indicates an incorporated city or town political entity
e.g. Maarsen
The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries
default NLe.g. NL
geolocationrequiredGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
Flag indicating if the address is within a zero emission zone
interactionsrequiredInteractions 1 fieldWithin RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.
Indicates if an alcohol check should be performed
default falsee.g. true
Deprecated, use the onSiteInstructions field instead.
the estimated time of arrival
Identifier used to find tracking information as send to the receiver
e.g. 757e7190-f6c2-4732-8f94-2eab426ed020
An optional remark field where on route instructions can be placed. These will be shown to the courier while he is driving to this location.
e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.
An optional remark field where on site instructions can be placed. These will be shown to the courier while he is driving to this location. This field was formerly known as remark.
e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order
clientInstructionsoptionalClientInstruction [ ] 5 fields
The moment at which the instruction was set, presented in ISO 8601 datetime with time zone format
e.g. 2024-01-01T14:26:51Z
The actual instruction the client set.
e.g. If I'm not at home, you can leave it at the door.
This class specifies the preferred action to be taken by the courier if the client is unavailable at the delivery address or notifies that he/she is not at home. Instruction types include not at home remark, leaving the parcel at the neighbours and leaving the parcel in the safe space.
e.g. LEAVE_AT_NEIGHBOURS
If the client chooses LEAVE_AT_NEIGHBOURS or LEAVE_IN_SAFE_PLACE delivery, he/she must provide a specific neighbour's address or the designated location accordingly.
e.g. Please, leave my parcel with the neighbours: Wibautstraat 123.
An optional field for any other details.
e.g. Please, do NOT leave parcels in the bin.
timeConstraintsoptionalTimeConstraint [ ] 3 fields
The earliest time the driver is allowed to arrive at the location
The latest time the driver is allowed to arrive at the location
An enum indicating the type of time constraint
e.g. PROPOSED
timeRestrictionsoptionalTimeRestriction [ ] 3 fields
startrequiredobject 5 fieldsThe start time of the restriction
e.g. PT09H30M
The start time of the restriction
e.g. PT09H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
endrequiredobject 5 fieldsThe end time of the restriction
e.g. PT11H30M
The end time of the restriction
e.g. PT11H30M
unitsoptionalobject [ ] 4 fields
durationoptionalobject 4 fields
An enum indicating the type of time restriction
default AREA_RESTRICTIONe.g. AREA_RESTRICTION
contactInformationoptionalContactInformation [ ] 4 fields
The name of the contact person
e.g. Jan-Johan Janssen
The email-address used to send out emails regarding updates on the visit
e.g. no-reply@routigo.com
The phone number used to send out text messages regarding updates on the visit
e.g. +31612345678
The customer language used for communication. Default NL.Described using: ISO 639-1:2002, Codes for the representation of names of languages
e.g. NL
completionDataoptionalCompletionData 3 fieldsAll data about the completion of a single assignment
All data about the completion of a single assignment
The time at which the assignment was marked as arrived
locationoptionalGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
The username of the courier that arrived at this assignment.
e.g. random-user@routigo.com
arrivalDataoptionalCompletionData 3 fieldsAll data about the completion of a single assignment
All data about the completion of a single assignment
The time at which the assignment was marked as arrived
locationoptionalGeolocation 3 fieldsThe lat/lng of a location
The lat/lng of a location
The latitude of the location
e.g. 52.137105
The longitude of the location
e.g. 5.029677
The course of the location
e.g. 42.42
The username of the courier that arrived at this assignment.
e.g. random-user@routigo.com
supplieroptionalSupplier 2 fieldsThe supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.
The supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.
The technical code identifier. Usually this is a customer identifier or code. This code should be unique, because later this identifier can be used to retrieve all shipments for a single supplier.
e.g. ABS
The human readable description of the supplier, which can be used in communication with the receiver e.g.
e.g. A Banana Store
unitoptionalUnit [ ] 3 fields
A human readable description of the unit that needs to be picked up or delivered
e.g. BOX 1 - Bananas, apples and oranges
A number, describing the number of items that need to be picked up or delivered
e.g. 123
tagsoptionalPhysicalTag [ ] 2 fieldsA set of physical tags that can be scanned to identify this unit
A set of physical tags that can be scanned to identify this unit
The unique identifier for the physical tag
e.g. 762347623469
A type indicating the type of the physical tag
e.g. BARCODE
physicalTagoptionalPhysicalTag [ ] 2 fields
The unique identifier for the physical tag
e.g. 762347623469
A type indicating the type of the physical tag
e.g. BARCODE
Example response · 200
{
"searchResults": [
{
"identifier": "a4a1ebf3-c2d8-4f18-9a86-58621de05448",
"externalId": "3159af5d-f910-4e79-984a-bf4e0423410c",
"planDate": "2023-10-19",
"assignedRoute": {
"identifier": "DEMEERN|Rit|02|20231019",
"name": "Rit-02",
"serviceCentreCode": "DEMEERN",
"serviceCentreName": "De Meern",
"assignedTo": null
},
"pickUpLocation": null,
"deliveryLocation": {
"duration": "PT5M",
"addressInformation": {
"streetName": "Bisonspoor",
"houseNumber": "3002A-901",
"houseNumberAddition": null,
"postcode": "3605LT",
"cityName": "Maarssen",
"countryCode": "NL",
"geolocation": {
"latitude": 52.1353694,
"longitude": 5.0303715,
"course": null
}
},
"interactions": {
"alcoholCheckRequired": false,
"paymentRequired": {
"currency": "EUR",
"amount": 50
}
},
"remark": "The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.\n\nThis customer has ordered a meal for the first time. Please, introduce them to our concept and hand over a discount for the next order.",
"eta": "2023-12-20T15:11:57.901+01:00",
"customerTrackingId": "0edd3699ffc2445aa87c94a9a8028249",
"onRouteInstructions": "The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.",
"onSiteInstructions": "This customer has ordered a meal for the first time. Please, introduce them to our concept and hand over a discount for the next order.",
"timeConstraints": [
{
"deliverAfter": "2023-12-20T08:00:00+01:00",
"deliverBefore": "2023-12-20T12:00:00+01:00",
"type": "CONTRACT"
}
],
"contactInformation": [
{
"name": "Routigo",
"email": null,
"mobilePhone": null,
"language": null
}
],
"completionData": null
},
"supplier": null,
"unit": null,
"physicalTag": []
}
]
}There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
Tours
RoutiGo Core REST API · Tours↑ Index
Retrieve planning details of tours on a given date
/planning /toursParameters
Query
The date at which the tour is planned (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)
Returns
The available tours have been successfully retrieved.
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
RoutiGo Core REST API · Tours↑ Index
Retrieve an overview of available tours on a given date
/planning /tours /overviewParameters
Query
The date at which the tour is planned (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)
Returns
The available tours have been successfully retrieved.
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
RoutiGo Core REST API · Tours↑ Index
Retrieve an overview of available tours in a service center on a given date
/planning /tours /overview /{svcId}Parameters
Path
The id of the service center where to look for the tours
Query
The date at which the tour is planned (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)
Returns
The available tours have been successfully retrieved.
The retrieval has been rejected as the tours could not be found.
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
RoutiGo Core REST API · Tours↑ Index
Get planning details of tours in a service center on a given date
/planning /tours /{svcId}Parameters
Path
The id of the service center where to look for the tours
Query
The date at which the tour is planned (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)
Returns
The available tours have been successfully retrieved.
The retrieval has been rejected because the tours could not be found.
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
destinations-handler
RoutiGo Core REST API · destinations-handler↑ Index
Retrieve all available destinations for user in every company and service center allowed
/destinationsParameters
Query
A date used for finding relevant destinations. This refers to the date the destination is planned to be visited. (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)
Sets up the earliest date for search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-05-07). It must be used alongside the "to" parameter. Incompatible with the "planDate" parameter.
Sets up the latest date for search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-05-10). It must be used alongside the "from" parameter. Incompatible with the "planDate" parameter.
Returns
The available destinations have been successfully retrieved.
companyContextrequiredCompanyContext 3 fields
destinationsrequiredDestinationSummary [ ] 5 fields
A unique identifier within the system
e.g. 1236123-HGDFHG-236523JH-ASHGF67
A human readable description for this destination which can be used for visualisation
e.g. Inladen fiets-1
Amount of stops in this destination
e.g. 42
The type of the vehicle, used during planning to assume driving speed and accessible roads
Can either be a STASH, indicating a place where stops are set aside for later optimisation, or a TOUR meaning a route that can be driven
Example response · 200
{
"companyContext": {
"companyCode": "string",
"companyName": "string",
"countryCode": "string"
},
"destinations": [
{
"identifier": "1236123-HGDFHG-236523JH-ASHGF67",
"name": "Inladen fiets-1",
"stopsAmount": 42,
"vehicleType": "CAR",
"type": "STASH"
}
]
}There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
service-centre-handler
RoutiGo Core REST API · service-centre-handler↑ Index
Retrieve available service centres
/serviceCentresReturns
The available service centres have been successfully retrieved.
Example response · 200
[
{
"companyCode": "ELLINA-T",
"serviceCentres": [
{
"identifier": "DEMEERN",
"name": "De Meern",
"address": {
"streetName": "",
"houseNumber": "",
"houseNumberAddition": "",
"postcode": "",
"cityName": "",
"countryCode": "",
"geolocation": {
"latitude": 5.0425669,
"longitude": 52.0727817,
"course": null
}
}
}
]
}
]There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
stashes-handler
RoutiGo Core REST API · stashes-handler↑ Index
Retrieve a list of stashes that contain shipments that have to be planned
/stashesParameters
Query
The date at which the destination is placed (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)
Sets up the earliest date for search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-05-07). It must be used alongside the "to" parameter. Incompatible with the "planDate" parameter.
Sets up the latest date for search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-05-10). It must be used alongside the "from" parameter. Incompatible with the "planDate" parameter.
Returns
The available stashes have been successfully retrieved.
A unique identifier within the system
e.g. 1236123-HGDFHG-236523JH-ASHGF67
A human readable description for this stash which can be used for visualisation
e.g. Inladen fiets-1
Amount of stops in this stash
e.g. 42
Example response · 200
[
{
"identifier": "DEMEERN|ROUTE|A|20231222",
"name": "ROUTE-A",
"stopsAmount": 2
},
{
"identifier": "DEMEERN|Ingeladen stops|3|20231222",
"name": "Ingeladen stops-3",
"stopsAmount": 1
}
]There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
tours-handler
RoutiGo Core REST API · tours-handler↑ Index
Retrieve a stop sequence
/tours /{tourId} /sequenceParameters
Path
A tour ID in the format serviceCentreCode|tourName|tourCode|plannedDate
Returns
The stop sequence has been successfully retrieved.
Example response · 200
[ "string" ]
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.
RoutiGo Core REST API · tours-handler↑ Index
Create a stop sequence
/tours /{tourId} /sequenceParameters
Path
A tour ID in the format serviceCentreCode|tourName|tourCode|plannedDate
Request body required
A list of assignment identifiers
Returns
The stop sequence has been successfully created.
No response body. A 200 status is the confirmation.
There was a problem with the request itself. See the response for a more detailed error description.
No response body.
Authentication information is missing or invalid. See the response for more detailed error description.
The user (or API key) does not have enough permissions to execute the request. See the response for more detailed error description.
Unexpected error. Please contact RoutiGo for more details.