Create Address
Beta/v1/sales/addressesIdempotent with Idempotency-Key header. Learn more
Creates an address.
The address is saved to the account you are acting in, which may be your own account or a customer or supplier account you manage, and can then be used as a billing or shipping address on sales orders, invoices, and shipments.
namestringDisplay name of the address.
phoneoptional stringPhone number associated with the address.
emailoptional stringEmail address associated with the address.
typeoptional stringenumValues:standarddrop_shipHow the address is used. Defaults to standard.
standard: a normal shipping or billing address.drop_ship: an address an order is shipped to directly, typically a third party or end customer rather than the account itself.
receive_calendar_idoptional stringThe operating calendar naming the days this dock accepts freight, overriding the customer's own.
street_line_1optional stringFirst line of the street address.
street_line_2optional stringSecond line of the street address.
localityoptional stringCity or locality.
stateoptional stringState or administrative area.
postal_codeoptional stringPostal or ZIP code.
countrystringTwo-letter ISO 3166-1 country code, such as US.
idstringAddress ID.
objectstringenumValues:addressResource type identifier.
namestringDisplay name of the address.
phonestringnullablePhone number associated with the address.
emailstringnullableEmail address associated with the address.
typestringenumValues:standarddrop_shipHow the address is used.
standard: a normal shipping or billing address.drop_ship: an address an order is shipped to directly, typically a third party or end customer rather than the account itself.
receive_calendar_idstringnullableThe operating calendar naming the days this dock accepts freight.
The most specific link in the receiving chain: set it when one of a customer's sites keeps different days from the rest. Null falls through to the customer, then their group, then the account default.
geolocationgeolocationnullableStreet-level location details for the address.
idstringGeolocation ID.
objectstringenumValues:geolocationResource type identifier.
street_line_1stringnullableFirst line of the street address.
street_line_2stringnullableSecond line of the street address.
localitystringnullableCity or locality.
statestringnullableState or administrative area.
postal_codestringnullablePostal or ZIP code.
countrystringTwo-letter country code.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for Create Address