POST TrendyolMenuIntegration/UpdatePrices
Request Information
URI Parameters
None.
Body Parameters
PriceUpdateRequestWithRestaurant| Name | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.