GET api/General/Customer/GetShoppingCartAmountDetails?CartID={CartID}&AddressID={AddressID}&OrderPickupMode={OrderPickupMode}&UserID={UserID}&OrderID={OrderID}&FirstTimeLoad={FirstTimeLoad}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CartID | string |
Required |
|
| AddressID | integer |
Required |
|
| OrderPickupMode | string |
Required |
|
| UserID | string |
Required |
|
| OrderID | string |
None. |
|
| FirstTimeLoad | boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
ShoppingCartAmountModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalCartAmountWithTax | decimal number |
None. |
|
| Distance | decimal number |
None. |
|
| DeliveryFee | decimal number |
None. |
|
| ServiceFee | decimal number |
None. |
|
| Netamount | decimal number |
None. |
|
| Taxamount | decimal number |
None. |
|
| PackagingFee | decimal number |
None. |
|
| CouponDiscountAmount | decimal number |
None. |
|
| SelfPickupModeDiscountAmount | decimal number |
None. |
|
| TotalCartAmountWithTaxNDiscount | decimal number |
None. |
|
| GrandTotal | decimal number |
None. |
|
| GrandTotalWithoutTax | decimal number |
None. |
|
| GrandTaxTotal | decimal number |
None. |
|
| SubTotal | decimal number |
None. |
|
| DiscountTotal | decimal number |
None. |
|
| GoogleCalculatedDuration | integer |
None. |
|
| CartItemsCount | integer |
None. |
|
| OfferCode | string |
None. |
|
| CouponID | string |
None. |
|
| DeliveryFeeModel | DeliveryFeeModel |
None. |
|
| ServiceFeeModel | ServiceFeeModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalCartAmountWithTax": 1.0,
"Distance": 2.0,
"DeliveryFee": 3.0,
"ServiceFee": 4.0,
"Netamount": 5.0,
"Taxamount": 6.0,
"PackagingFee": 7.0,
"CouponDiscountAmount": 8.0,
"SelfPickupModeDiscountAmount": 9.0,
"TotalCartAmountWithTaxNDiscount": 10.0,
"GrandTotal": 11.0,
"GrandTotalWithoutTax": 12.0,
"GrandTaxTotal": 13.0,
"SubTotal": 14.0,
"DiscountTotal": 15.0,
"GoogleCalculatedDuration": 16,
"CartItemsCount": 17,
"OfferCode": "sample string 18",
"CouponID": "sample string 19",
"DeliveryFeeModel": {
"ActualDeliveryFee": 1.0,
"ActualDeliveryFeeWithTax": 2.0,
"PlatformDiscountedAmt": 1.0,
"PartnerDiscountedAmt": 1.0,
"PartnerDiscountPercent": 1,
"PartnerDiscountFlatAmt": 1.0,
"PlatformDiscountPercent": 1,
"PlatformDiscountFlatAmt": 1.0,
"GSTAmt": 1.0,
"GSTPercentValue": 1,
"XFactorType": "sample string 3",
"ISSurcharge": true,
"FinalDeliveryFee": 5.0,
"IsMinAplicable": true,
"ProvisionalCharge": 1.0,
"SituationalCharge": 1.0,
"FixedDeliveryAllowance": 1.0,
"VariableCharge": 1.0,
"Distance": 1.0,
"CCDurationPickToDelivery": 1,
"GDurationPickToDelivery": 1
},
"ServiceFeeModel": {
"ActualServiceFee": 1.0,
"ActualServiceFeeWithTax": 2.0,
"MinServiceFee": 1.0,
"MaxServiceFee": 1.0,
"DiscountedAmt": 1.0,
"GSTAmt": 1.0,
"GSTPercentValue": 1,
"DiscountPercent": 1,
"FinalServiceFee": 3.0
}
}
application/xml, text/xml
Sample:
<ShoppingCartAmountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.CustomModels">
<CartItemsCount>17</CartItemsCount>
<CouponDiscountAmount>8</CouponDiscountAmount>
<CouponID>sample string 19</CouponID>
<DeliveryFee>3</DeliveryFee>
<DeliveryFeeModel>
<ActualDeliveryFee>1</ActualDeliveryFee>
<ActualDeliveryFeeWithTax>2</ActualDeliveryFeeWithTax>
<CCDurationPickToDelivery>1</CCDurationPickToDelivery>
<Distance>1</Distance>
<FinalDeliveryFee>5</FinalDeliveryFee>
<FixedDeliveryAllowance>1</FixedDeliveryAllowance>
<GDurationPickToDelivery>1</GDurationPickToDelivery>
<GSTAmt>1</GSTAmt>
<GSTPercentValue>1</GSTPercentValue>
<ISSurcharge>true</ISSurcharge>
<IsMinAplicable>true</IsMinAplicable>
<PartnerDiscountFlatAmt>1</PartnerDiscountFlatAmt>
<PartnerDiscountPercent>1</PartnerDiscountPercent>
<PartnerDiscountedAmt>1</PartnerDiscountedAmt>
<PlatformDiscountFlatAmt>1</PlatformDiscountFlatAmt>
<PlatformDiscountPercent>1</PlatformDiscountPercent>
<PlatformDiscountedAmt>1</PlatformDiscountedAmt>
<ProvisionalCharge>1</ProvisionalCharge>
<SituationalCharge>1</SituationalCharge>
<VariableCharge>1</VariableCharge>
<XFactorType>sample string 3</XFactorType>
</DeliveryFeeModel>
<DiscountTotal>15</DiscountTotal>
<Distance>2</Distance>
<GoogleCalculatedDuration>16</GoogleCalculatedDuration>
<GrandTaxTotal>13</GrandTaxTotal>
<GrandTotal>11</GrandTotal>
<GrandTotalWithoutTax>12</GrandTotalWithoutTax>
<Netamount>5</Netamount>
<OfferCode>sample string 18</OfferCode>
<PackagingFee>7</PackagingFee>
<SelfPickupModeDiscountAmount>9</SelfPickupModeDiscountAmount>
<ServiceFee>4</ServiceFee>
<ServiceFeeModel>
<ActualServiceFee>1</ActualServiceFee>
<ActualServiceFeeWithTax>2</ActualServiceFeeWithTax>
<DiscountPercent>1</DiscountPercent>
<DiscountedAmt>1</DiscountedAmt>
<FinalServiceFee>3</FinalServiceFee>
<GSTAmt>1</GSTAmt>
<GSTPercentValue>1</GSTPercentValue>
<MaxServiceFee>1</MaxServiceFee>
<MinServiceFee>1</MinServiceFee>
</ServiceFeeModel>
<SubTotal>14</SubTotal>
<Taxamount>6</Taxamount>
<TotalCartAmountWithTax>1</TotalCartAmountWithTax>
<TotalCartAmountWithTaxNDiscount>10</TotalCartAmountWithTaxNDiscount>
</ShoppingCartAmountModel>