Order Total
Request Parameters:
For retrieve data of order total:
URL: ../Api/Client/OrderTotal
Header:
Content-Type:application/json
Required Parameters :
Case-1. Exception parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"CurrencyId":"",
"LanguageId":"1",
"IsEditable":""
}
Response :
{
"Status": 0,
"Message": "Request cannot be empty",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-2. Success Response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",
"StoreId": "1",
"CurrencyId":"1",
"LanguageId":"1",
"IsEditable":"true"
}
Response :
{
"Status": 1,
"Message": "Success.",
"Data": {
"IsEditable": true,
"SubTotal": "$775.00",
"SubTotalDiscount": null,
"AllowRemovingSubTotalDiscount": false,
"Shipping": "$0.00",
"RequiresShipping": true,
"SelectedShippingMethod": null,
"PaymentMethodAdditionalFee": null,
"Tax": "$0.00",
"TaxRates": [
{
"Rate": "0",
"Value": "$0.00"
}
],
"DisplayTax": true,
"DisplayTaxRates": false,
"GiftCards": [
{
"Id": 2,
"CouponCode": "41f2af6f-2ae3",
"Amount": "($5.00)",
"Remaining": "$0.00"
}
],
"OrderTotalDiscount": null,
"AllowRemovingOrderTotalDiscount": false,
"RedeemedRewardPoints": 0,
"RedeemedRewardPointsAmount": null,
"WillEarnRewardPoints": 77,
"OrderTotal": "$770.00",
"CustomerGuid": "496dbb2a-f9eb-4522-a804-b108693b69ce",
"Message": null
},
"ValidationMessage": [],
"ErrorMessage": null
}