POST api/product/content/update/form
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
Токен авторизации |
string |
Required |
Body Parameters
ChangeProductFormRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| product_id | integer |
None. |
|
| address | string |
None. |
|
| method | FormSendMethod |
None. |
|
| encoding | FormEncoding |
None. |
|
| options | boolean |
None. |
|
| answer | boolean |
None. |
|
| allow_purchase_multiple_items | boolean |
None. |
|
| url_for_quantity | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"product_id": 1,
"address": "sample string 2",
"method": 0,
"encoding": 0,
"options": true,
"answer": true,
"allow_purchase_multiple_items": true,
"url_for_quantity": "sample string 6"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<request> <product_id>1</product_id> <address>sample string 2</address> <method>Email</method> <encoding>UTF8</encoding> <options>true</options> <answer>true</answer> <allow_purchase_multiple_items>true</allow_purchase_multiple_items> <url_for_quantity>sample string 6</url_for_quantity> </request>
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. |