POST api/product/edit/prices?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

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

string

Required

Body Parameters

Collection of UpdateProductsPrice
NameDescriptionTypeAdditional 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

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.