Get Shopping Cart
Request Parameters:
Get Shopping cart items.
URL: ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/Cart
Parameter:
{
"apiSecretKey": "k117x118z122r116t100e100r118j122",
"storeId": "1",
"currencyId":"1",
"customerId":"1",
"languageId":"1"
}
Response :
{
"CartResult":
{
"Id": 0,
"Message": null,
"CheckoutAttributeInfo": "",
"CheckoutAttributes":
[
{
"Id": 1,
"Message": null,
"AllowedFileExtensions": null,
"AttributeControlType": 1,
"DefaultValue": null,
"IsRequired": true,
"Name": "Gift wrapping",
"SelectedDay": null,
"SelectedMonth": null,
"SelectedYear": null,
"TextPrompt": null,
"Values":
[
{
"Id": 2,
"Message": null,
"ColorSquaresRgb": null,
"IsPreSelected": false,
"Name": "Yes",
"PriceAdjustment": "+$10.00"
}
]
}
],
"DiscountBox":
{
"CurrentCode": null,
"Display": true,
"Message": null
},
"DisplayTaxShippingInfo": false,
"GiftCardBox":
{
"Display": true,
"Message": null
},
"IsApplied": false,
"IsEditable": true,
"Items":
[
{
"Id": 5,
"Message": null,
"AllowItemEditing": false,
"AllowedQuantities":
[
],
"AttributeInfo": "",
"Discount": null,
"Picture":
{
"CustomProperties":
[
],
"AlternateText": "Picture of Apple iCam",
"FullSizeImageUrl": "http://localhost:15536/content/images/thumbs/0000040_apple-icam.jpeg",
"ImageUrl": "http://localhost:15536/content/images/thumbs/0000040_apple-icam_80.jpeg",
"ThumbImageUrl": "http://localhost:15536/content/images/thumbs/0000040_apple-icam_100.jpeg",
"Title": "Show details for Apple iCam"
},
"ProductId": 17,
"ProductName": "Apple iCam",
"ProductSeName": "apple-icam",
"Quantity": 2,
"RecurringInfo": null,
"RentalInfo": null,
"Sku": "APPLE_CAM",
"SubTotal": "$2,600.00",
"UnitPrice": "$1,300.00",
"Warnings": null
}
],
"MinOrderSubtotalWarning": null,
"OnePageCheckoutEnabled": true,
"OrderReviewData": null,
"ShowProductImages": true,
"ShowSku": true,
"TermsOfServiceOnOrderConfirmPage": false,
"TermsOfServiceOnShoppingCartPage": true,
"Warnings":
[
]
}
}