POST api/product/edit/prices?token={token}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
token |
Токен авторизации |
string |
Required |
Body Parameters
Collection of UpdateProductsPriceName | Description | Type | Additional information |
---|---|---|---|
ProductId | integer |
None. |
|
Price | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ProductId": 1, "Price": 2.0 }, { "ProductId": 1, "Price": 2.0 } ]
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ArrayOfUpdateProductsPrice> <UpdateProductsPrice> <ProductId>1</ProductId> <Price>2</Price> </UpdateProductsPrice> <UpdateProductsPrice> <ProductId>1</ProductId> <Price>2</Price> </UpdateProductsPrice> </ArrayOfUpdateProductsPrice>
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. |