Other
200 words 1 minutes
Some simple data types used in requests to and responses from our endpoints.
Address
Property | Type | Description |
---|---|---|
street |
string |
street address |
zipCode |
string |
area code |
city |
string |
city |
countryCode |
string |
e.g. “SE” |
Example:
{
"street": "Storgatan 1",
"zipCode": 111 23,
"city": "Stockholm",
"countryCode": "SE"
}
Addresses
Property | Type | Description |
---|---|---|
primary |
Address |
use Address datatype |
billing |
Address |
(optional) use Address datatype |
delivery |
Address |
(optional) use Address datatype |
visit |
Address |
(optional) use Address datatype |
EmailAddresses
Property | Type | Description |
---|---|---|
primary |
string |
primary email address |
billing |
string |
billing email address |
Example:
{
"primary": "[email protected]",
"billing": "[email protected]"
}
PhoneNumbers
Property | Type | Description |
---|---|---|
primary |
string |
primary phone number |
cellphone |
string |
cellphone number |
landline |
string |
landline number |