POST api/products/parameters/{parameterId}/variants/{variantId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

Токен авторизации

string

Required

parameterId

integer

Required

variantId

integer

Required

Body Parameters

EditProductParameterVariantRequestDto
NameDescriptionTypeAdditional information
name

Collection of LocalizationExternalViewModel

None.

type

string

None.

rate

decimal number

None.

default

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,
  "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>
  <order>1</order>
</request>

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.