PUT Customer/CustomerAddress/Save?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
CustomerAddressViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
StoreId | integer |
None. |
|
CustomerId | integer |
Required |
|
FirstName | string |
Required Max length: 50 |
|
LastName | string |
Required Max length: 50 |
|
string |
Max length: 50 |
||
Company | string |
Max length: 50 |
|
Address1 | string |
Required Max length: 50 |
|
Address2 | string |
None. |
|
City | string |
None. |
|
StateId | integer |
Required |
|
StateName | string |
None. |
|
CountryId | integer |
None. |
|
PostalCode | string |
None. |
|
PhoneNumber | string |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedDate | date |
None. |
|
UpdateFrom | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "StoreId": 1, "CustomerId": 2, "FirstName": "sample string 3", "LastName": "sample string 4", "EMail": "sample string 5", "Company": "sample string 6", "Address1": "sample string 7", "Address2": "sample string 8", "City": "sample string 9", "StateId": 10, "StateName": "sample string 11", "CountryId": 12, "PostalCode": "sample string 13", "PhoneNumber": "sample string 14", "ModifiedBy": "sample string 15", "ModifiedDate": "2025-04-26T16:39:21.9419362+01:00", "UpdateFrom": "sample string 17" }
application/xml, text/xml
Sample:
<CustomerAddressViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Service.Customer.ViewModel"> <Address1>sample string 7</Address1> <Address2>sample string 8</Address2> <City>sample string 9</City> <Company>sample string 6</Company> <CountryId>12</CountryId> <CustomerId>2</CustomerId> <EMail>sample string 5</EMail> <FirstName>sample string 3</FirstName> <Id>1</Id> <LastName>sample string 4</LastName> <ModifiedBy>sample string 15</ModifiedBy> <ModifiedDate>2025-04-26T16:39:21.9419362+01:00</ModifiedDate> <PhoneNumber>sample string 14</PhoneNumber> <PostalCode>sample string 13</PostalCode> <StateId>10</StateId> <StateName>sample string 11</StateName> <StoreId>1</StoreId> <UpdateFrom>sample string 17</UpdateFrom> </CustomerAddressViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |