Update A Company Address

Deprecated
Updates an address for a company. You can change whether the address is for billing, shipping, or both. You can also update the address to be the default billing or shipping address for the company.

Authentication

authTokenstring
API Key authentication via header

Path parameters

addressIdstringRequired
companyIdstringRequired

Headers

authTokenstringRequired
Auth token in header.

Request

Request body
addressLine1stringOptional
Typically the street address
addressLine2stringOptional
More detailed information about where to deliver mail, such as a suite or office number
citystringOptional
countryobjectOptional
firstNamestringOptional
Address first name
isBillingbooleanOptional
Indicates whether the address is a billing address
isDefaultBillingbooleanOptional
Indicates whether the address is the default billing address
isDefaultShippingbooleanOptional
Indicates whether the address is the default shipping address
isShippingbooleanOptional
Indicates whether the address is a shipping address
labelstringOptional
Address label
lastNamestringOptional
Address last name
phoneNumberstringOptional
Address phone number
stateobjectOptional
zipCodestringOptional
externalIdstringOptional

Response

Response Success
codedouble
Response status code
dataobject
Response data
messagestring
Response message

Errors

400
Bad Request Error
404
Not Found Error