POST TrendyolMenuIntegration/UpdatePrices

Request Information

URI Parameters

None.

Body Parameters

PriceUpdateRequestWithRestaurant
NameDescriptionTypeAdditional information
items

Collection of PriceUpdateItem

None.

RestaurantID

integer

None.

SettingsID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "items": [
    {
      "productId": 1,
      "sellingPrice": 2.1,
      "restaurantId": 1
    },
    {
      "productId": 1,
      "sellingPrice": 2.1,
      "restaurantId": 1
    }
  ],
  "RestaurantID": 1,
  "SettingsID": 2
}

application/xml, text/xml

Sample:
<TrendyolMenu.PriceUpdateRequestWithRestaurant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiApp.Models">
  <RestaurantID>1</RestaurantID>
  <SettingsID>2</SettingsID>
  <items>
    <TrendyolMenu.PriceUpdateItem>
      <productId>1</productId>
      <restaurantId>1</restaurantId>
      <sellingPrice>2.1</sellingPrice>
    </TrendyolMenu.PriceUpdateItem>
    <TrendyolMenu.PriceUpdateItem>
      <productId>1</productId>
      <restaurantId>1</restaurantId>
      <sellingPrice>2.1</sellingPrice>
    </TrendyolMenu.PriceUpdateItem>
  </items>
</TrendyolMenu.PriceUpdateRequestWithRestaurant>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PriceUpdateRequestWithRestaurant'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.