API reference
RoutiGo Upload REST API
Allows uploading shipments into RoutiGo
Version 1.0Base URL https://api.routigo.com/apiFormat JSONSpec OpenAPI 3.1.0 · download
Authentication: API key
Send your key in the X-API-KEY header with every call.
1 call
Import
Import shipments
RoutiGo Upload REST API · Import↑ Index
Upload a new set of shipments to the RoutiGo system
/v1 /uploadRequest body required
This API call can be used to register a new set of shipments in the RoutiGo system.
An identifier for a given shipment
e.g. ASJHD-ASDJH-71235
The day at which the shipment initially should take place. Defaults to today (Europe/Amsterdam) when omitted
e.g. 2020-11-27
pickUpLocationoptionalLocation| null 12 fields
addressInformationrequiredAddressDetails 8 fieldsThe human readable details regarding the location
The human readable details regarding the location
Number of the building or house.
e.g. 8006
Postal code of the area. Postal code should be up to 8 characters, containing only letters, numbers, and spaces.
e.g. 3605 LT
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
The company name or name of the person living at the address.
e.g. RoutiGo
Name of the street.
e.g. Bisonspoor
Additional information for the house number, if applicable (e.g., apartment number or building section).
e.g. A
Name of the city or locality.
e.g. Maarsen
geocodeLocationoptionalGeocodeLocation| null 2 fields
e.g. 52.137105
e.g. 5.029677
An optional identifier for a given location. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.
e.g. ASJHD-ASDJH-71235
Optionally the expected duration of the stop. If not provided, the configured default value will be used. Written in the ISO 8601 format.
e.g. PT6M
Optionally a list of different tasks to perform at the location. These serve as a task list for the driver upon arrival.
e.g. ["Inform the customer of the return policies","Capture a photo of the delivered parcel at the customer's location as proof of delivery"]
Deprecated field to provide a remark to the courier about this location. Deprecated in favor of both onRouteInstructions and onSiteInstructions
e.g. If nobody is home, please deliver at the neighbours.
An optional remark field where on route instructions can be placed. These will be shown to the courier while they are 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.
Optionally an instruction to follow after the driving part of the delivery.
e.g. If nobody is home, please deliver at the neighbours.
contactInformationoptionalContactInformation| null 3 fields
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
default NLe.g. NL
interactionsoptionalInteractions| null 3 fields
Indicates if a Alcohol check should be performed,
default falsee.g. true
paymentRequiredoptionalPaymentRequired| null 2 fields
The currency of the amount that should be retrieved in the ISO 4217 format
e.g. EUR
The amount that should be retrieved. This value will be stored with a maximum of two digits.
e.g. 1200.87
Indicates if proof of delivery (signature and/or PIN code) is required
e.g. ["SIGNATURE","PIN_CODE"]
The skill codes a vehicle must have to serve this location. Only a vehicle that has every listed skill can be assigned: ["drillingMachine", "screwDriver"] requires both. Each code must exactly match (case-sensitive) a skill that is enabled for your company. If any code is unknown or disabled, the entire upload is rejected with 400 Bad Request, one SKILL_CODE_DOESNT_EXIST reason is returned per invalid code.
e.g. ["drillingMachine","screwDriver"]
The earliest time the driver is allowed to arrive at the location
e.g. PT12H30M
The latest time the driver is allowed to arrive at the location
e.g. PT17H30M
deliveryLocationoptionalLocation| null 12 fields
addressInformationrequiredAddressDetails 8 fieldsThe human readable details regarding the location
The human readable details regarding the location
Number of the building or house.
e.g. 8006
Postal code of the area. Postal code should be up to 8 characters, containing only letters, numbers, and spaces.
e.g. 3605 LT
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
The company name or name of the person living at the address.
e.g. RoutiGo
Name of the street.
e.g. Bisonspoor
Additional information for the house number, if applicable (e.g., apartment number or building section).
e.g. A
Name of the city or locality.
e.g. Maarsen
geocodeLocationoptionalGeocodeLocation| null 2 fields
e.g. 52.137105
e.g. 5.029677
An optional identifier for a given location. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.
e.g. ASJHD-ASDJH-71235
Optionally the expected duration of the stop. If not provided, the configured default value will be used. Written in the ISO 8601 format.
e.g. PT6M
Optionally a list of different tasks to perform at the location. These serve as a task list for the driver upon arrival.
e.g. ["Inform the customer of the return policies","Capture a photo of the delivered parcel at the customer's location as proof of delivery"]
Deprecated field to provide a remark to the courier about this location. Deprecated in favor of both onRouteInstructions and onSiteInstructions
e.g. If nobody is home, please deliver at the neighbours.
An optional remark field where on route instructions can be placed. These will be shown to the courier while they are 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.
Optionally an instruction to follow after the driving part of the delivery.
e.g. If nobody is home, please deliver at the neighbours.
contactInformationoptionalContactInformation| null 3 fields
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
default NLe.g. NL
interactionsoptionalInteractions| null 3 fields
Indicates if a Alcohol check should be performed,
default falsee.g. true
paymentRequiredoptionalPaymentRequired| null 2 fields
The currency of the amount that should be retrieved in the ISO 4217 format
e.g. EUR
The amount that should be retrieved. This value will be stored with a maximum of two digits.
e.g. 1200.87
Indicates if proof of delivery (signature and/or PIN code) is required
e.g. ["SIGNATURE","PIN_CODE"]
The skill codes a vehicle must have to serve this location. Only a vehicle that has every listed skill can be assigned: ["drillingMachine", "screwDriver"] requires both. Each code must exactly match (case-sensitive) a skill that is enabled for your company. If any code is unknown or disabled, the entire upload is rejected with 400 Bad Request, one SKILL_CODE_DOESNT_EXIST reason is returned per invalid code.
e.g. ["drillingMachine","screwDriver"]
The earliest time the driver is allowed to arrive at the location
e.g. PT12H30M
The latest time the driver is allowed to arrive at the location
e.g. PT17H30M
supplieroptionalSupplier| null 2 fields
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
routeoptionalRoute| null 2 fields
The technical identifier for the SVC under which the route can be found. In case the SVC is not provided and API key has a single SVC access, the shipment will be assigned to this SVC. Otherwise an error will be returned (400 http code) due to ambiguity in SVC selection.
e.g. Subco-1
The technical code identifier. Which is not the same as the description. In case the route identifier is not filled in the default route identifier will be assigned. It should follow the pattern RouteName-RouteCode, where: RouteName can contain letters and digits, with a maximum length of 100 characters. RouteCode can contain letters and digits, with a length of 1 to 2 characters, and should be placed after the "-" character.
e.g. UT12-C
unitsoptionalUnit [ ]| null 2 fields
The description of the unit to pick-up and/or deliver
e.g. Box
The amount of items that he or she is expected to pick-up and/or deliver
e.g. 1.2
physicalTagsoptionalPhysicalTag [ ]| null 2 fields
Arbitrary JSON fields to be stored alongside the shipment. Keys must not exceed 255 characters.
e.g. {"orderType":"URGENT","priority":1,"isFragile":true}
Returns
The shipments have successfully registered within the system. Use the provided trackingId to track the processing of all items
e.g. 62c84532-0ed6-4bf9-8dbc-d1efbfda6fcb
Example response · 202
{
"trackingId": "62c84532-0ed6-4bf9-8dbc-d1efbfda6fcb",
"property1": "",
"property2": ""
}