PUT api/admin/pricing/config

Request Information

URI Parameters

None.

Body Parameters

PlatformPricingConfigDto
NameDescriptionTypeAdditional information
BaseCurrencyCode

string

None.

DisplayCurrencyCode

string

None.

DisplayCurrencySymbol

string

None.

ExchangeRate

decimal number

None.

PricesStoredInBaseCurrency

boolean

None.

OrderCommissionPercent

decimal number

None.

OrderCommissionMin

decimal number

None.

OrderCommissionMax

decimal number

None.

DeliveryBaseFee

decimal number

None.

DeliveryPerMinute

decimal number

None.

DeliveryMinFee

decimal number

None.

DeliveryMaxFee

decimal number

None.

DriverShareOfDeliveryFeePercent

decimal number

None.

PriorityDeliverySurcharge

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "baseCurrencyCode": "sample string 1",
  "displayCurrencyCode": "sample string 2",
  "displayCurrencySymbol": "sample string 3",
  "exchangeRate": 4.0,
  "pricesStoredInBaseCurrency": true,
  "orderCommissionPercent": 6.0,
  "orderCommissionMin": 7.0,
  "orderCommissionMax": 8.0,
  "deliveryBaseFee": 9.0,
  "deliveryPerMinute": 10.0,
  "deliveryMinFee": 11.0,
  "deliveryMaxFee": 12.0,
  "driverShareOfDeliveryFeePercent": 13.0,
  "priorityDeliverySurcharge": 14.0
}

application/xml, text/xml

Sample:
<PlatformPricingConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Models.Dtos">
  <BaseCurrencyCode>sample string 1</BaseCurrencyCode>
  <DeliveryBaseFee>9</DeliveryBaseFee>
  <DeliveryMaxFee>12</DeliveryMaxFee>
  <DeliveryMinFee>11</DeliveryMinFee>
  <DeliveryPerMinute>10</DeliveryPerMinute>
  <DisplayCurrencyCode>sample string 2</DisplayCurrencyCode>
  <DisplayCurrencySymbol>sample string 3</DisplayCurrencySymbol>
  <DriverShareOfDeliveryFeePercent>13</DriverShareOfDeliveryFeePercent>
  <ExchangeRate>4</ExchangeRate>
  <OrderCommissionMax>8</OrderCommissionMax>
  <OrderCommissionMin>7</OrderCommissionMin>
  <OrderCommissionPercent>6</OrderCommissionPercent>
  <PricesStoredInBaseCurrency>true</PricesStoredInBaseCurrency>
  <PriorityDeliverySurcharge>14</PriorityDeliverySurcharge>
</PlatformPricingConfigDto>

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 'PlatformPricingConfigDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.