POST v1/Shops/{shopId}/Parameters/{*key}
Updates or adds the Shop Parameter.
Request Information
Requires Authorization!
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopId |
The id of the Shop. |
integer |
Required. |
key |
The parameter key. |
string |
Required. |
Body Parameters
The parameter value.
ParameterValueName | Description | Type | Additional information |
---|---|---|---|
Value |
The parameter value |
string |
None. |
DataType |
The parameter data type |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Value": "sample string 1", "DataType": "sample string 2" }
application/xml, text/xml
Sample:
<ParameterValue xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Value>sample string 1</Value> <DataType>sample string 2</DataType> </ParameterValue>
Response Information
Response Codes
- OK (200)
Resource Description
The HttpResponseMessage object.
HttpResponseMessage
Name | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |