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.

How to get a key →

1 call

Import

Import shipments

RoutiGo Upload REST API · Import↑ Index

Upload a new set of shipments to the RoutiGo system

PUT/v1/upload

Request body required

This API call can be used to register a new set of shipments in the RoutiGo system.

list ofShipment [ ]
identifierrequired
string

An identifier for a given shipment

e.g. ASJHD-ASDJH-71235

scheduledDeliveryDateoptional
string· date| null

The day at which the shipment initially should take place. Defaults to today (Europe/Amsterdam) when omitted

e.g. 2020-11-27

pickUpLocationoptional
Location| null 12 fields
addressInformationrequired
AddressDetails 8 fields

The human readable details regarding the location

houseNumberrequired
string

Number of the building or house.

e.g. 8006

postcoderequired
string

Postal code of the area. Postal code should be up to 8 characters, containing only letters, numbers, and spaces.

e.g. 3605 LT

countryCoderequired
string

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

nameoptional
string| null

The company name or name of the person living at the address.

e.g. RoutiGo

streetNameoptional
string| null

Name of the street.

e.g. Bisonspoor

houseNumberAdditionoptional
string| null

Additional information for the house number, if applicable (e.g., apartment number or building section).

e.g. A

cityNameoptional
string| null

Name of the city or locality.

e.g. Maarsen

geocodeLocationoptional
GeocodeLocation| null 2 fields
latituderequired
string

e.g. 52.137105

longituderequired
string

e.g. 5.029677

identifieroptional
string| null

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

durationoptional
string· PTnHnMnS| null

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

tasksoptional
string [ ]| null

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"]

remarkoptionalDeprecated
string| null

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.

onRouteInstructionsoptional
string| null

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.

onSiteInstructionsoptional
string| null

Optionally an instruction to follow after the driving part of the delivery.

e.g. If nobody is home, please deliver at the neighbours.

contactInformationoptional
ContactInformation| null 3 fields
emailoptional
string| null

The email-address used to send out emails regarding updates on the visit

e.g. no-reply@routigo.com

mobilePhoneoptional
string| null

The phone number used to send out text messages regarding updates on the visit

e.g. +31612345678

languageoptional
string| null

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

interactionsoptional
Interactions| null 3 fields
alcoholCheckRequiredoptional
boolean| null

Indicates if a Alcohol check should be performed,

default falsee.g. true

paymentRequiredoptional
PaymentRequired| null 2 fields
currencyrequired
string

The currency of the amount that should be retrieved in the ISO 4217 format

e.g. EUR

amountrequired
number

The amount that should be retrieved. This value will be stored with a maximum of two digits.

e.g. 1200.87

podOptionsoptional
string [ ]| nullSIGNATUREPIN_CODE

Indicates if proof of delivery (signature and/or PIN code) is required

e.g. ["SIGNATURE","PIN_CODE"]

requiredSkillsoptional
string [ ]| null

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"]

visitAfteroptional
string· PTnHnMnS| null

The earliest time the driver is allowed to arrive at the location

e.g. PT12H30M

visitBeforeoptional
string· PTnHnMnS| null

The latest time the driver is allowed to arrive at the location

e.g. PT17H30M

deliveryLocationoptional
Location| null 12 fields
addressInformationrequired
AddressDetails 8 fields

The human readable details regarding the location

houseNumberrequired
string

Number of the building or house.

e.g. 8006

postcoderequired
string

Postal code of the area. Postal code should be up to 8 characters, containing only letters, numbers, and spaces.

e.g. 3605 LT

countryCoderequired
string

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

nameoptional
string| null

The company name or name of the person living at the address.

e.g. RoutiGo

streetNameoptional
string| null

Name of the street.

e.g. Bisonspoor

houseNumberAdditionoptional
string| null

Additional information for the house number, if applicable (e.g., apartment number or building section).

e.g. A

cityNameoptional
string| null

Name of the city or locality.

e.g. Maarsen

geocodeLocationoptional
GeocodeLocation| null 2 fields
latituderequired
string

e.g. 52.137105

longituderequired
string

e.g. 5.029677

identifieroptional
string| null

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

durationoptional
string· PTnHnMnS| null

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

tasksoptional
string [ ]| null

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"]

remarkoptionalDeprecated
string| null

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.

onRouteInstructionsoptional
string| null

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.

onSiteInstructionsoptional
string| null

Optionally an instruction to follow after the driving part of the delivery.

e.g. If nobody is home, please deliver at the neighbours.

contactInformationoptional
ContactInformation| null 3 fields
emailoptional
string| null

The email-address used to send out emails regarding updates on the visit

e.g. no-reply@routigo.com

mobilePhoneoptional
string| null

The phone number used to send out text messages regarding updates on the visit

e.g. +31612345678

languageoptional
string| null

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

interactionsoptional
Interactions| null 3 fields
alcoholCheckRequiredoptional
boolean| null

Indicates if a Alcohol check should be performed,

default falsee.g. true

paymentRequiredoptional
PaymentRequired| null 2 fields
currencyrequired
string

The currency of the amount that should be retrieved in the ISO 4217 format

e.g. EUR

amountrequired
number

The amount that should be retrieved. This value will be stored with a maximum of two digits.

e.g. 1200.87

podOptionsoptional
string [ ]| nullSIGNATUREPIN_CODE

Indicates if proof of delivery (signature and/or PIN code) is required

e.g. ["SIGNATURE","PIN_CODE"]

requiredSkillsoptional
string [ ]| null

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"]

visitAfteroptional
string· PTnHnMnS| null

The earliest time the driver is allowed to arrive at the location

e.g. PT12H30M

visitBeforeoptional
string· PTnHnMnS| null

The latest time the driver is allowed to arrive at the location

e.g. PT17H30M

supplieroptional
Supplier| null 2 fields
identifierrequired
string

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

namerequired
string

The human readable description of the supplier, which can be used in communication with the receiver e.g

e.g. A Banana Store

routeoptional
Route| null 2 fields
serviceCentreCoderequired
string

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

identifieroptional
string| null

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

unitsoptional
Unit [ ]| null 2 fields
descriptionrequired
string

The description of the unit to pick-up and/or deliver

e.g. Box

amountrequired
number· double

The amount of items that he or she is expected to pick-up and/or deliver

e.g. 1.2

physicalTagsoptional
PhysicalTag [ ]| null 2 fields
identifieroptional
string
typeoptional
string
customFieldsoptional
map ofJsonNode| null

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

TrackingId
trackingIdrequired
string

e.g. 62c84532-0ed6-4bf9-8dbc-d1efbfda6fcb

Example response · 202
{
  "trackingId": "62c84532-0ed6-4bf9-8dbc-d1efbfda6fcb",
  "property1": "",
  "property2": ""
}