POST api/products/options/update
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
token |
Токен авторизации |
string |
Required |
Body Parameters
EditProductParameterRequestName | Description | Type | Additional information |
---|---|---|---|
name | Collection of LocalizationExternalViewModel |
None. |
|
comment | Collection of LocalizationExternalViewModel |
None. |
|
type | string |
None. |
|
separate_content | boolean |
None. |
|
required | boolean |
None. |
|
modifier_visible | boolean |
None. |
|
order | integer |
None. |
|
parameter_id | integer |
None. |
|
option_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": [ { "locale": "sample string 1", "value": "sample string 2" }, { "locale": "sample string 1", "value": "sample string 2" } ], "comment": [ { "locale": "sample string 1", "value": "sample string 2" }, { "locale": "sample string 1", "value": "sample string 2" } ], "type": "sample string 1", "separate_content": true, "required": true, "modifier_visible": true, "order": 1, "parameter_id": 3, "option_id": 3 }
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<request> <name> <locale>sample string 1</locale> <value>sample string 2</value> </name> <name> <locale>sample string 1</locale> <value>sample string 2</value> </name> <comment> <locale>sample string 1</locale> <value>sample string 2</value> </comment> <comment> <locale>sample string 1</locale> <value>sample string 2</value> </comment> <type>sample string 1</type> <separate_content>true</separate_content> <required>true</required> <modifier_visible>true</modifier_visible> <order>1</order> <parameter_id>3</parameter_id> <option_id>3</option_id> </request>
Response Information
Resource Description
HttpResponseMessageName | 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. |