List Office Depot cart items
Automatically list Office Depot cart items on officedepot.com. List the items in the OfficeDepot.com cart of this browser, as the site holds it: for each line its line id, product id (the item number), offer id (the marketplace offer, null when Office Depot sells it), name, seller (Office Depot or the marketplace seller), quantity, unit price and line price in US dollars, plus the number of items and the subtotal of the cart, before tax and delivery. The cart is the guest cart of the browser, so no sign-in is needed. An empty cart returns an empty list and a zero count. Saved-for-later items are not included.
Inputs
None
Output
count requiredNumber of units in the cart, all lines together.
lines requiredtotal requiredSubtotal of the cart in US dollars, before tax and delivery.
FAQ
Remove Office Depot product from cart
Remove a product from the OfficeDepot.com cart of this browser by its product id (the item number, as returned by List Office Depot cart items), whatever its quantity and on every line it sits on, and return what is left in the cart: each line with its line id, product id, offer id, name, seller, quantity, unit price and line price in US dollars, plus the item count and the subtotal. A product that is not in the cart is reported with removed false and the cart unchanged, not as a failure. Works as a guest, with no account.
Add Office Depot product to cart
Add an OfficeDepot.com product to the cart of this browser, by its link or item number, with a quantity from 1 to 99, and return the whole cart afterwards: each line with its line id, product id (the item number), offer id, name, seller (Office Depot or the marketplace seller), quantity, unit price and line price in US dollars, plus the item count and the subtotal. Works as a guest, with no account: lines already in the cart stay and are listed too. Office Depot adds the item for delivery to the ZIP code it assigns to a new guest browser. Nothing is paid or ordered. A product that cannot be added to the cart, an unknown item number and a link that is not an Office Depot product page fail with an error that says so.
Get Office Depot product
Read one OfficeDepot.com product page by its link or item number. Returns the item number, link, title, brand, manufacturer part number, selling, regular and list price in US dollars, unit, stock quantity, delivery days, whether it ships only, is pickup only or can be added to the cart, the seller (Office Depot or the marketplace seller) and its offer id, rating, review count, images, description, highlights, specifications and category path. An item number Office Depot does not know and a link that is not a product page fail with an error that says so. Stock and delivery estimates follow the store Office Depot assigns to a new guest browser (store_id).
