PUT 1.0/customermanagement/customers/{siteprefix}/{siteid}

Description

Updates a Customer's setting that is availble to resellers

URI Parameters

Name Description Type Additional information
sitePrefix

Customer's SitePrefix

string

Required

siteID

Customer's siteID

integer

Required

The New Value of the Setting

Name Description Type Additional information
DataType

integer

None.

Name

string

None.

Value

string

None.

application/json, text/json

Sample:
{
  "dataType": 1,
  "name": "sample string 2",
  "value": "sample string 3"
}

application/xml, text/xml

Sample:
<CustomerSetting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>sample string 2</Name>
  <Value>sample string 3</Value>
  <DataType>1</DataType>
</CustomerSetting>

application/x-www-form-urlencoded

Sample:

Sample not available.

The name and value of the updated Customer Setting

Name Description Type Additional information
DataType

integer

None.

Name

string

None.

Value

string

None.

application/json, text/json

Sample:
{
  "dataType": 1,
  "name": "sample string 2",
  "value": "sample string 3"
}

application/xml, text/xml

Sample:
<CustomerSetting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>sample string 2</Name>
  <Value>sample string 3</Value>
  <DataType>1</DataType>
</CustomerSetting>