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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CustomerRoleViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

StoreId

integer

None.

Name

string

None.

Freeshipping

boolean

None.

IsSystemRole

boolean

None.

TaxExempt

boolean

None.

SystemName

string

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StoreId": 1,
  "Name": "sample string 2",
  "Freeshipping": true,
  "IsSystemRole": true,
  "TaxExempt": true,
  "SystemName": "sample string 6",
  "ModifiedBy": "sample string 7",
  "ModifiedDate": "2025-04-26T16:40:26.2473649+01:00"
}

application/xml, text/xml

Sample:
<CustomerRoleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Service.Customer.ViewModel">
  <Freeshipping>true</Freeshipping>
  <Id>1</Id>
  <IsSystemRole>true</IsSystemRole>
  <ModifiedBy>sample string 7</ModifiedBy>
  <ModifiedDate>2025-04-26T16:40:26.2473649+01:00</ModifiedDate>
  <Name>sample string 2</Name>
  <StoreId>1</StoreId>
  <SystemName>sample string 6</SystemName>
  <TaxExempt>true</TaxExempt>
</CustomerRoleViewModel>

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.