ServiceAddress
idstring<uuid>required
Address id.
Example:
5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5btypestringnullablerequired
What the address is used for.
Possible values: [BILLING, SHIPPING, WAREHOUSE, OFFICE, HOME, PICKUP, DELIVERY, RETURN, null]
labelstringnullablerequired
Short label.
Example:
Head officestreet1stringnullablerequired
Street, line 1.
Example:
1 Example Streetstreet2stringnullablerequired
Street, line 2.
Example:
Suite 100citystringnullablerequired
City.
Example:
Examplevillestatestringnullablerequired
State or province.
Example:
Example Statecountrystringnullablerequired
Country.
Example:
ExamplelandpostalCodestringnullablerequired
Postal code.
Example:
12345isDefaultbooleanrequired
True for the customer's default address of its type.
Example:
trueisBranchbooleanrequired
True when the address is a branch location.
Example:
falseisActivebooleannullablerequired
False when the address is retired.
Example:
trueServiceAddress
{
"id": "5b0c8a6e-2f4d-4d6e-9a53-7c1d2e3f4a5b",
"type": "BILLING",
"label": "Head office",
"street1": "1 Example Street",
"street2": "Suite 100",
"city": "Exampleville",
"state": "Example State",
"country": "Exampleland",
"postalCode": "12345",
"isDefault": true,
"isBranch": false,
"isActive": true
}