Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Address to create
Specifies the address type.
BILLING
, LEGAL
, OTHER
, SHIPPING
"SHIPPING"
Street address line 1
"100 Main St."
City
"New York"
ISO-3166-1 Alpha-2 country code
"US"
State, region, province, or prefecture. This is the ISO-3166-2 subdivision code, excluding the country prefix. For example, TX for Texas USA or TAM for Tamaulipas Mexico. Its length varies by country, e.g. 2 characters for US, 3 for MX.
"NY"
The identifier for the business customer associated with address.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The identifier for the personal customer associated with address.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
Street address line 2
"Suite 99"
Whether the address is active or not
true
A nickname for the address. This is used to identify the address in the UI.
"Home"
Postal code. For US, formats of 12345 or 12345-1234 are accepted. For CA, formats of A1A 1A1 or A1A1A1 (regardless of case) are accepted, and will be converted to A1A 1A1 format.
"28620"
Response
Created address
Date and time when the address was created.
"2019-01-01T00:00:00Z"
Whether the address is active or not
true
"2010-05-06T12:23:34.321Z"
Street address line 1
"100 Main St."
ISO-3166-1 Alpha-2 country code
"US"
The unique identifier for this resource.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The identifier for the business customer associated with address.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
The identifier for the personal customer associated with address.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
Street address line 2
"Suite 99"
Specifies the address type.
BILLING
, LEGAL
, OTHER
, SHIPPING
"SHIPPING"
City
"New York"
A nickname for the address. This is used to identify the address in the UI.
"Home"
Postal code. For US, formats of 12345 or 12345-1234 are accepted. For CA, formats of A1A 1A1 or A1A1A1 (regardless of case) are accepted, and will be converted to A1A 1A1 format.
"28620"
State, region, province, or prefecture. This is the ISO-3166-2 subdivision code, excluding the country prefix. For example, TX for Texas USA or TAM for Tamaulipas Mexico. Its length varies by country, e.g. 2 characters for US, 3 for MX.
"NY"