| POST | /warranty/v1/editCustomer |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| customerId | body | Guid | No | |
| personId | body | Guid | No | |
| addressId | body | Guid | No | |
| phoneId | body | Guid? | No | |
| emailId | body | Guid? | No | |
| cardId | body | string | No | |
| customerRef | body | string | No | |
| title | body | int? | No | |
| firstName | body | string | No | |
| lastName | body | string | No | |
| firstNameNotLatin | body | string | No | |
| lastNameNotLatin | body | string | No | |
| birthday | body | DateTime? | No | |
| weddingDate | body | DateTime? | No | |
| body | string | No | ||
| canBeContacted | body | bool | No | |
| language | body | string | No | |
| nameSuffix | body | string | No | |
| gender | body | string | No | |
| middleName | body | string | No | |
| countryId | body | string | No | |
| phoneCountryId | body | string | No | |
| prefixCountryId | body | string | No | |
| phone | body | string | No | |
| posId | body | int | No | |
| birthDayEventId | body | Guid? | No | |
| salePersonId | body | string | No | |
| allowStoreDataAbroad | body | bool? | No | |
| tvAllowStoreDataAbroad | body | bool? | No | |
| contactByMail | body | bool | No | |
| contactByEmail | body | bool | No | |
| contactByPhone | body | bool | No | |
| contactBySMS | body | bool | No | |
| contactBySocialMedia | body | bool | No | |
| street | body | string | No | |
| houseNumber | body | string | No | |
| city | body | string | No | |
| postalCode | body | string | No | |
| region | body | string | No | |
| street2 | body | string | No | |
| street3 | body | string | No | |
| street4 | body | string | No | |
| street5 | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| sid | form | string | No | |
| app | form | string | No | |
| _os | form | string | No | |
| _appVersion | form | string | No | |
| _searchMethod | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| _xmlns | form | string | No | |
| _type | form | string | No | |
| _source | form | string | No | |
| _tstamp | form | string | No | |
| _user | form | string | No | |
| _env | form | string | No | |
| _uri | form | string | No | |
| _query | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /warranty/v1/editCustomer HTTP/1.1
Host: qp-microservices-booster.richemont.cn
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
customerId: 00000000000000000000000000000000,
personId: 00000000000000000000000000000000,
addressId: 00000000000000000000000000000000,
phoneId: 00000000000000000000000000000000,
emailId: 00000000000000000000000000000000,
cardId: String,
customerRef: String,
title: 0,
firstName: String,
lastName: String,
firstNameNotLatin: String,
lastNameNotLatin: String,
birthday: 0001-01-01,
weddingDate: 0001-01-01,
email: String,
canBeContacted: False,
language: String,
nameSuffix: String,
gender: String,
middleName: String,
countryId: String,
phoneCountryId: String,
prefixCountryId: String,
phone: String,
posId: 0,
birthDayEventId: 00000000000000000000000000000000,
salePersonId: String,
allowStoreDataAbroad: False,
tvAllowStoreDataAbroad: False,
contactByMail: False,
contactByEmail: False,
contactByPhone: False,
contactBySMS: False,
contactBySocialMedia: False,
street: String,
houseNumber: String,
city: String,
postalCode: String,
region: String,
street2: String,
street3: String,
street4: String,
street5: String,
sid: String,
app: String,
_os: String,
_appVersion: String,
_searchMethod: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
_xmlns: String,
_type: String,
_source: String,
_tstamp: String,
_user: String,
_env: String,
_uri: String,
_query: String
}