Documentation Index Fetch the complete documentation index at: https://docs.surebright.com/llms.txt
Use this file to discover all available pages before exploring further.
SureBright . getCartItems (( response ) => {
console . log ( response . cartItems );
});
Response
List of cart items with associated product and warranty details Details of the product added to the cart Product ID Example: 6673746231399
Option ID for the product Example: 8577825144935
Title of the product Example: “GreatCircleUSA 3-in-1 Wood Chipper - 7HP Engine, 3 Max Branch Capacity”
Price of the product Example: 649.99
Quantity of the product in the cart Example: 2
Warranty details associated with the product Product ID of the warranty item Example: 7080029454439
Option ID of the warranty Example: 40937702359143
Price of the warranty Example: 69
Title of the warranty Example: “Add premium product protection”
Duration of the warranty in years Example: 2
Quantity of warranties added Example: 2
ID of the warranty quote Example: “7b9a6c31-f6c5-4110-a1f4-c69dca10ab06”
ID of the individual warranty quote item Example: “047cd751-8737-45cd-b113-227312a88d51”
Notes
This method is asynchronous and uses a callback pattern
The callback function will be called with the response containing the cart items
Each cart item includes both product details and warranty details
The warranty details are only included if a warranty has been selected for the product