Create A Company Address

Deprecated
Creates a new address for a company. You will specify the address fields and the type of address. The address can be billing, shipping, or both. You can also request that this address becomes the new default billing or shipping address for the company.

Authentication

authTokenstring
API Key authentication via header

Path parameters

companyIdstringRequired

Headers

authTokenstringRequired
Auth token in header.

Request

Request body
addressLine1stringRequired
Typically the street address
citystringRequired
countryobjectRequired
firstNamestringRequired
Address first name
lastNamestringRequired
Address last name
stateobjectRequired
zipCodestringRequired
addressLine2stringOptional
More detailed information about where to deliver mail, such as a suite or office number
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
phoneNumberstringOptional
Address phone number
externalIdstringOptional

Response

Response Success
codedouble
Response status code
dataobject
Response data
metaobject

Errors

422
Unprocessable Entity Error