v1
latestOpenAPI 3.0.12026-07-243124341009.5 KBDepartments
Update a Department Address
Updates the address of the specified company department.
put/v1/department/address/{addressId}
Path parameters
addressIdstring required
Headers
RequestIdstring uuid
The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.
Unique request identifier (UUID) used to correlate request data with log entries and events.
FrontOfficeTenantIdinteger
An integer identifier for the tenant that the request is being made for. Required when Tenant header is not provided.
Tenantstring
Tenant company code that determines data access scope during the request. Required when FrontOfficeTenantId header is not provided.
Request body
Example request
{
"addressGuid": "cb63d8fc-6d06-f011-87a7-a0595061251e",
"street1": "123 Main St.",
"street2": "Suite 250",
"city": "Minneapolis",
"state": "MN",
"postalCode": "55435",
"country": "US",
"addressId": 12345,
"branchId": 12346,
"companyId": 12347,
"phone": "+1-555-123-4567",
"isDefault": true,
"origin": "Acme Partner",
"salesTaxes": [
{
"configSalesTaxGUID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
]
}Response
The details of the updated department address.
Example response
{
"addressGuid": "cb63d8fc-6d06-f011-87a7-a0595061251e",
"street1": "123 Main St.",
"street2": "Suite 250",
"city": "Minneapolis",
"state": "MN",
"postalCode": "55435",
"country": "US",
"addressId": 12345,
"branchId": 12346,
"companyId": 12347,
"phone": "+1-555-123-4567",
"isDefault": true,
"origin": "Acme Partner",
"salesTaxes": [
{
"configSalesTaxGUID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Minnesota State Tax",
"description": "MN state sales tax rate",
"state": "MN"
}
]
}