POST v1/Addresses
Request Information
URI Parameters
None.
Body Parameters
Common.Dto.Post.AddressName | Description | Type | Additional information |
---|---|---|---|
customerAddressPreferenceId | integer |
Range: inclusive between 1 and 9.22337203685478E+18 |
|
addressType | string |
None. |
|
enforceFullAddress | boolean |
None. |
|
companyName | string |
String length: inclusive between 0 and 255 |
|
line1 | string |
String length: inclusive between 0 and 255 |
|
line2 | string |
String length: inclusive between 0 and 255 |
|
city | string |
String length: inclusive between 0 and 50 |
|
postalZip | string |
String length: inclusive between 0 and 10 |
|
country | string |
String length: inclusive between 0 and 250 |
|
state | string |
String length: inclusive between 0 and 250 |
|
countryId | integer |
None. |
|
stateId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "customerAddressPreferenceId": 1, "addressType": "sample string 2", "enforceFullAddress": true, "companyName": "sample string 3", "line1": "sample string 4", "line2": "sample string 5", "city": "sample string 6", "postalZip": "sample string 7", "country": "sample string 8", "state": "sample string 9", "countryId": 1, "stateId": 1 }
Response Information
Resource Description
Common.Dto.Get.AddressName | Description | Type | Additional information |
---|---|---|---|
customerAddressPreferenceId | integer |
None. |
|
companyName | string |
None. |
|
line1 | string |
None. |
|
line2 | string |
None. |
|
countryId | integer |
None. |
|
country | string |
None. |
|
stateId | integer |
None. |
|
state | string |
None. |
|
city | string |
None. |
|
postalZip | string |
None. |
|
addressType | string |
None. |
|
valid | boolean |
None. |
|
id | integer |
None. |
|
uri | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "customerAddressPreferenceId": 1, "companyName": "sample string 2", "line1": "sample string 3", "line2": "sample string 4", "countryId": 1, "country": "sample string 5", "stateId": 1, "state": "sample string 6", "city": "sample string 7", "postalZip": "sample string 8", "addressType": "sample string 9", "valid": true, "id": 11, "uri": "sample string 12" }