POST api/templates/products/global?token={token}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
Токен авторизации |
string |
Required |
Body Parameters
GlobalUpdateProductsTemplateByIdCommandRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| new_percent | integer |
None. |
|
| template_id | integer |
None. |
|
| product_id | integer |
None. |
|
| min_price | decimal number |
None. |
|
| max_price | decimal number |
None. |
|
| currency | string |
None. |
|
| name | string |
None. |
|
| max_comission | integer |
None. |
|
| min_comission | integer |
None. |
|
| in_affiliate | boolean |
None. |
|
| not_in_affiliate | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"new_percent": 1,
"template_id": 2,
"product_id": 1,
"min_price": 1.0,
"max_price": 1.0,
"currency": "sample string 3",
"name": "sample string 4",
"max_comission": 1,
"min_comission": 1,
"in_affiliate": true,
"not_in_affiliate": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
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. |