PUT address/{collectionKey}
Update address in collection
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
collectionKey |
Address collection key |
string |
Required |
Body Parameters
Address model
AddressUpdateModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Unique Identifier |
integer |
None. |
AddressType |
Specifies Type of address (SoldTo, BillTo, Payer, ShipTo, EndUser)
|
AddressType |
None. |
Name |
Recipient’s name |
string |
Max length: 100 |
Attention |
Attention line |
string |
Max length: 100 |
Phone |
Contact phone # |
string |
Max length: 20 |
Street1 |
Street address line one |
string |
Max length: 100 |
Street2 |
Street address line two |
string |
Max length: 100 |
City |
City |
string |
Max length: 100 |
StateProvince |
State / Province code Valid 2 character State or Province code. See ISO-3166 |
string |
Max length: 100 |
PostalCode |
Postal code |
string |
Max length: 20 |
CountryCode |
Country Code Standard ISO-3166 2-Character country code |
string |
Max length: 2 |
ExtendedData |
Client defined data |
string |
None. |
Request Formats
application/json, text/json
{ "Id": 1, "AddressType": 0, "Name": "sample string 2", "Attention": "sample string 3", "Phone": "sample string 4", "Street1": "sample string 5", "Street2": "sample string 6", "City": "sample string 7", "StateProvince": "sample string 8", "PostalCode": "sample string 9", "CountryCode": "sample string 10", "ExtendedData": "sample string 11" }
application/xml, text/xml
<AddressUpdateModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AddressType>SoldTo</AddressType> <Name>sample string 2</Name> <Attention>sample string 3</Attention> <Phone>sample string 4</Phone> <Street1>sample string 5</Street1> <Street2>sample string 6</Street2> <City>sample string 7</City> <StateProvince>sample string 8</StateProvince> <PostalCode>sample string 9</PostalCode> <CountryCode>sample string 10</CountryCode> <ExtendedData>sample string 11</ExtendedData> <Id>1</Id> </AddressUpdateModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
None.