GET api/General/Customer/GetPickNDropDeliveryFee?CartID={CartID}&DistanceinKm={DistanceinKm}&DeliveryType={DeliveryType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CartID

string

Required

DistanceinKm

decimal number

Required

DeliveryType

string

Required

Body Parameters

None.

Response Information

Resource Description

PDDeliveryFeeModel
NameDescriptionTypeAdditional information
DeliveryFee

decimal number

None.

TotalAmount

decimal number

None.

Tax

integer

None.

ISSurcharge

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "DeliveryFee": 1.0,
  "TotalAmount": 2.0,
  "Tax": 3,
  "ISSurcharge": true
}

application/xml, text/xml

Sample:
<PDDeliveryFeeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.CustomModels">
  <DeliveryFee>1</DeliveryFee>
  <ISSurcharge>true</ISSurcharge>
  <Tax>3</Tax>
  <TotalAmount>2</TotalAmount>
</PDDeliveryFeeModel>