Create a new address.
POST
/buyers/{buyerID}/addresses
201Description
If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.
Parameters
Name | Type | Description | Possible Values | |
---|---|---|---|---|
buyerID | Required | string | ID of the buyer. | --- |
Request Body
Property | Type | Format | Max Length | Possible Values | ||
---|---|---|---|---|---|---|
ID | string | --- | 100 characters | --- | ||
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 | string | --- | 100 characters | --- | ||
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 | --- | --- | --- |