The city name. Either the city or the country_code is mandatory
atypestring
Required
Type of address. Must be one of work_hq, work, invoice, delivery, private or other
streetstring
The street including the house number or other details (building, c/o)
primaryboolean
Decides about the order of addresses when the attachable (Person or Company) has multiple addresses
api_inputboolean
States whether or not the address has been added via the API or some sort of integration
company_idinteger
Required
ID of the company the address belongs to
state_codestring
The state code (e.g. NW, BY). Must match the country code
country_codestring
The country code (e.g. DE, AT)
attachable_idinteger
Required
The ID of the record the address belongs to. Will be auto set when using routes such as /companies/:id with nested attributes
attachable_typestring
Required
The record type the address belongs to. Must be either Person or Company. Will be auto set when using routes such as /companies/:id with nested attributes
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not