customer
November 12, 2025 · View on GitHub
A user that wishes to purchase a package
Type: object
semantics [{'transmodel': 'TRANSPORT CUSTOMER'}]
Properties overview
| Property | Type | Required | Description |
|---|---|---|---|
id | customerReference | ✓ | The identifier the MP uses to identify the customer. Could be an external ref... |
initials | tinyString | Initials of the customer | |
firstName | shortString | First name of the customer | |
lastName | shortString | Last name of the customer | |
middleName | tinyString | Middle name of the customer | |
prefix | tinyString | prefix of the customer, like titles | |
postfix | tinyString | postfix of the customer, like titles | |
phoneNumber | normalString | default string, full names etc (length 0-200) | |
email | normalString | the email address of the customer | |
dateOfBirth | date | https://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12) | |
placeOfBirth | shortString | short string, display names (length 0-75) | |
countryOfBirth | shortString | short string, display names (length 0-75) | |
address | place | address parts, where addressLine1 and 2 should contain the complete address, ... | |
photo | string | ||
customFields | customProperties | dictionary for extra fields (bilatural agreements) |
Detailed Properties
-
id(customerReference) - required
The identifier the MP uses to identify the customer. Could be an external referenced ID, like a ABT account number -
initials(tinyString) - optional
Initials of the customer -
firstName(shortString) - optional
First name of the customer -
lastName(shortString) - optional
Last name of the customer -
middleName(tinyString) - optional
Middle name of the customer -
prefix(tinyString) - optional
prefix of the customer, like titles -
postfix(tinyString) - optional
postfix of the customer, like titles -
phoneNumber(normalString) - optional
default string, full names etc (length 0-200) -
email(normalString) - optional
the email address of the customer -
dateOfBirth(date) - optional
https://www.rfc-editor.org/rfc/rfc3339#section-5.6, full-date (2019-10-12) -
placeOfBirth(shortString) - optional
short string, display names (length 0-75) -
countryOfBirth(shortString) - optional
short string, display names (length 0-75) -
address(place) - optional
address parts, where addressLine1 and 2 should contain the complete address, matches Content-Languageid(string) - required
value: "GPS|gps|{datasource-prefix}|P:[a-zA-Z0-9-_.]+" this string references to information that can be found in thedata sources. Enlist all prefixes (=rel) from the /collections/datasources/items that apply to a place/location. Default it matches already with 'GPS' (no entry required in the datasources). In case of a custom place (like home address), you can use the 'P:' prefix and add the address to the places list of the request/offer/package.type(string) - optional
value: "place"addressLine1(string) - required
contains street, housenumber & additions example street 18, 2nd floor, 18-B33addressLine2(string) - optional
city or town, principal subdivision such as province, state or county Smallcity, Pinetree countystreet(string) - optional
street, consistent with addressLine1houseNumber(integer) - optional
house number, consistent with addressLine1 default:0houseNumberAddition(string) - optional
the additional part of the house number (f.x. 13bis, where 'bis' is the additional part), consistent with addressLine1postalCode(string) - optional
the postal code, whenever availablecity(string) - optional
specified city or town, consistent with addressLine2province(string) - optional
province or region, consistent with addressLine2state(string) - optional
state, consistent with addressLine2country(string) - optional
value: "[A-Z]{2}" two-letter country codes according to ISO 3166-1additionalInfo(string) - optional
additional information to find the address (f.x. just around the corner)
-
photo(string) - optional -
customFields(customProperties) - optional
dictionary for extra fields (bilatural agreements)
Example
{
"id": "identifier",
"initials": "example-string",
"firstName": "example-string",
"lastName": "example-string"
}