PUT Customer/CustomerCommunicationPreference/Save?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CustomerCommunicationPreferenceViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

StoreId

integer

None.

CustomerId

integer

Required

Email

boolean

Required

SMS

boolean

None.

WhatsApp

boolean

None.

Call

boolean

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

UpdateFrom

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StoreId": 1,
  "CustomerId": 2,
  "Email": true,
  "SMS": true,
  "WhatsApp": true,
  "Call": true,
  "ModifiedBy": "sample string 7",
  "ModifiedDate": "2025-04-26T16:34:06.398453+01:00",
  "UpdateFrom": "sample string 9"
}

application/xml, text/xml

Sample:
<CustomerCommunicationPreferenceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Service.Customer.ViewModel">
  <Call>true</Call>
  <CustomerId>2</CustomerId>
  <Email>true</Email>
  <Id>1</Id>
  <ModifiedBy>sample string 7</ModifiedBy>
  <ModifiedDate>2025-04-26T16:34:06.398453+01:00</ModifiedDate>
  <SMS>true</SMS>
  <StoreId>1</StoreId>
  <UpdateFrom>sample string 9</UpdateFrom>
  <WhatsApp>true</WhatsApp>
</CustomerCommunicationPreferenceViewModel>

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.