PUT customers/{customerUserName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerUserName

string

Required

Body Parameters

CustomerSaveViewModel
NameDescriptionTypeAdditional information
Gender

integer

Required

MobileNumber

string

Required

PhoneNumber

string

None.

Email

string

Required

SendServiceInformation

string

None.

PreferedLanguageCode

string

None.

MainAddressWayType

string

None.

MainAddressStreet

string

Required

MainAddressNumber

string

Required

MainAddressFloor

string

None.

MainAddressStair

string

None.

MainAddressDoor

string

None.

MainAddressCity

string

Required

MainAddressPostalCode

string

Required

MainAddressCountry

string

Required

ShippingAddressWayType

string

None.

ShippingAddressStreet

string

None.

ShippingAddressNumber

string

None.

ShippingAddressFloor

string

None.

ShippingAddressStair

string

None.

ShippingAddressDoor

string

None.

ShippingAddressCity

string

None.

ShippingAddressPostalCode

string

None.

ShippingAddressCountry

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Gender": 1,
  "MobileNumber": "sample string 1",
  "PhoneNumber": "sample string 2",
  "Email": "sample string 3",
  "SendServiceInformation": "sample string 4",
  "PreferedLanguageCode": "sample string 5",
  "MainAddressWayType": "sample string 6",
  "MainAddressStreet": "sample string 7",
  "MainAddressNumber": "sample string 8",
  "MainAddressFloor": "sample string 9",
  "MainAddressStair": "sample string 10",
  "MainAddressDoor": "sample string 11",
  "MainAddressCity": "sample string 12",
  "MainAddressPostalCode": "sample string 13",
  "MainAddressCountry": "sample string 14",
  "ShippingAddressWayType": "sample string 15",
  "ShippingAddressStreet": "sample string 16",
  "ShippingAddressNumber": "sample string 17",
  "ShippingAddressFloor": "sample string 18",
  "ShippingAddressStair": "sample string 19",
  "ShippingAddressDoor": "sample string 20",
  "ShippingAddressCity": "sample string 21",
  "ShippingAddressPostalCode": "sample string 22",
  "ShippingAddressCountry": "sample string 23"
}

multipart/form-data

Sample:
{"Gender":1,"MobileNumber":"sample string 1","PhoneNumber":"sample string 2","Email":"sample string 3","SendServiceInformation":"sample string 4","PreferedLanguageCode":"sample string 5","MainAddressWayType":"sample string 6","MainAddressStreet":"sample string 7","MainAddressNumber":"sample string 8","MainAddressFloor":"sample string 9","MainAddressStair":"sample string 10","MainAddressDoor":"sample string 11","MainAddressCity":"sample string 12","MainAddressPostalCode":"sample string 13","MainAddressCountry":"sample string 14","ShippingAddressWayType":"sample string 15","ShippingAddressStreet":"sample string 16","ShippingAddressNumber":"sample string 17","ShippingAddressFloor":"sample string 18","ShippingAddressStair":"sample string 19","ShippingAddressDoor":"sample string 20","ShippingAddressCity":"sample string 21","ShippingAddressPostalCode":"sample string 22","ShippingAddressCountry":"sample string 23"}

application/xml, text/xml

Sample:
<CustomerSaveViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BikelarCage.WebApi.ViewModels.Customer">
  <Email>sample string 3</Email>
  <Gender>1</Gender>
  <MainAddressCity>sample string 12</MainAddressCity>
  <MainAddressCountry>sample string 14</MainAddressCountry>
  <MainAddressDoor>sample string 11</MainAddressDoor>
  <MainAddressFloor>sample string 9</MainAddressFloor>
  <MainAddressNumber>sample string 8</MainAddressNumber>
  <MainAddressPostalCode>sample string 13</MainAddressPostalCode>
  <MainAddressStair>sample string 10</MainAddressStair>
  <MainAddressStreet>sample string 7</MainAddressStreet>
  <MainAddressWayType>sample string 6</MainAddressWayType>
  <MobileNumber>sample string 1</MobileNumber>
  <PhoneNumber>sample string 2</PhoneNumber>
  <PreferedLanguageCode>sample string 5</PreferedLanguageCode>
  <SendServiceInformation>sample string 4</SendServiceInformation>
  <ShippingAddressCity>sample string 21</ShippingAddressCity>
  <ShippingAddressCountry>sample string 23</ShippingAddressCountry>
  <ShippingAddressDoor>sample string 20</ShippingAddressDoor>
  <ShippingAddressFloor>sample string 18</ShippingAddressFloor>
  <ShippingAddressNumber>sample string 17</ShippingAddressNumber>
  <ShippingAddressPostalCode>sample string 22</ShippingAddressPostalCode>
  <ShippingAddressStair>sample string 19</ShippingAddressStair>
  <ShippingAddressStreet>sample string 16</ShippingAddressStreet>
  <ShippingAddressWayType>sample string 15</ShippingAddressWayType>
</CustomerSaveViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.