POST api/products/parameters/{parameterId}/variants/{variantId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
token |
Токен авторизации |
string |
Required |
parameterId | integer |
Required |
|
variantId | integer |
Required |
Body Parameters
EditProductParameterVariantRequestDtoName | Description | Type | Additional information |
---|---|---|---|
name | Collection of LocalizationExternalViewModel |
None. |
|
type | string |
None. |
|
rate | decimal number |
None. |
|
default | boolean |
None. |
|
visible | boolean |
None. |
|
order | 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" } ], "type": "sample string 1", "rate": 1.0, "default": true, "visible": true, "order": 1 }
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> <type>sample string 1</type> <rate>1</rate> <default>true</default> <visible>true</visible> <order>1</order> </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. |