POST api/pricelists/updateproductprices

Request Information

URI Parameters

None.

Body Parameters

UpdatePriceListProductPricesRequest
NameDescriptionTypeAdditional information
PriceListId

integer

None.

Products

Collection of ProductPriceUpdateModel

None.

Request Formats

application/json, text/json

Sample:
{
  "PriceListId": 1,
  "Products": [
    {
      "ProductId": 1,
      "Price": 2.1
    },
    {
      "ProductId": 1,
      "Price": 2.1
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdatePriceListProductPricesResponse
NameDescriptionTypeAdditional information
PriceListId

integer

None.

UpdatedProductsCount

integer

None.

NotFoundProductIds

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PriceListId": 1,
  "UpdatedProductsCount": 2,
  "NotFoundProductIds": [
    1,
    2
  ]
}