Create a new address.
POST
/me/addresses
201Description
Only available to Buyer Users. Addresses created using this endpoint are considered private, and only accessible to the user who created them.
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
Shipping | boolean | --- | --- | --- | ||
Billing | boolean | --- | --- | --- | ||
CompanyName | string | --- | 100 characters | --- | ||
FirstName | string | --- | 100 characters | --- | ||
LastName | string | --- | 100 characters | --- | ||
Street1 | Required | string | --- | 100 characters | --- | |
Street2 | string | --- | 100 characters | --- | ||
City | Required | string | --- | 100 characters | --- | |
State | Required | string | --- | 100 characters | --- | |
Zip | Required | string | --- | 100 characters | --- | |
Country | Required | string | --- | 2 characters | --- | |
Phone | string | --- | 100 characters | --- | ||
AddressName | string | --- | 100 characters | --- | ||
xp | object | --- | --- | --- |
Response Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | Read Only | string | --- | 100 characters | --- | |
Shipping | boolean | --- | --- | --- | ||
Billing | boolean | --- | --- | --- | ||
Editable | Read Only | boolean | --- | --- | --- | |
DateCreated | Read Only | string | date-time | --- | --- | |
CompanyName | string | --- | 100 characters | --- | ||
FirstName | string | --- | 100 characters | --- | ||
LastName | string | --- | 100 characters | --- | ||
Street1 | string | --- | 100 characters | --- | ||
Street2 | string | --- | 100 characters | --- | ||
City | string | --- | 100 characters | --- | ||
State | string | --- | 100 characters | --- | ||
Zip | string | --- | 100 characters | --- | ||
Country | string | --- | 2 characters | --- | ||
Phone | string | --- | 100 characters | --- | ||
AddressName | string | --- | 100 characters | --- | ||
xp | object | --- | --- | --- |