PUT api/CustomerAddresses

Request Information

URI Parameters

None.

Body Parameters

CustomerAddress
NameDescriptionTypeAdditional information
CustomerAddressId

integer

None.

CustomerId

integer

None.

Name

string

None.

Type

integer

None.

MobileNo1

string

None.

MobileNo2

string

None.

HouseNo

string

None.

Area

string

None.

City

string

None.

State

string

None.

Country

string

None.

Landmark

string

None.

Pincode

string

None.

Latitude

string

None.

Longitude

string

None.

Default

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "customerAddressId": 1,
  "customerId": 2,
  "name": "sample string 3",
  "type": 1,
  "mobileNo1": "sample string 4",
  "mobileNo2": "sample string 5",
  "houseNo": "sample string 6",
  "area": "sample string 7",
  "city": "sample string 8",
  "state": "sample string 9",
  "country": "sample string 10",
  "landmark": "sample string 11",
  "pincode": "sample string 12",
  "latitude": "sample string 13",
  "longitude": "sample string 14",
  "default": true
}

application/xml, text/xml

Sample:
<CustomerAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaEStoreAPI.Resource">
  <Area>sample string 7</Area>
  <City>sample string 8</City>
  <Country>sample string 10</Country>
  <CustomerAddressId>1</CustomerAddressId>
  <CustomerId>2</CustomerId>
  <Default>true</Default>
  <HouseNo>sample string 6</HouseNo>
  <Landmark>sample string 11</Landmark>
  <Latitude>sample string 13</Latitude>
  <Longitude>sample string 14</Longitude>
  <MobileNo1>sample string 4</MobileNo1>
  <MobileNo2>sample string 5</MobileNo2>
  <Name>sample string 3</Name>
  <Pincode>sample string 12</Pincode>
  <State>sample string 9</State>
  <Type>1</Type>
</CustomerAddress>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

string

None.

Data

Object

None.

Message

string

None.

Type

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "data": {},
  "message": "sample string 3",
  "type": 4
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaEStoreAPI.Controllers.Resource">
  <Data />
  <Message>sample string 3</Message>
  <Status>sample string 1</Status>
  <Type>4</Type>
</APIResponse>