Search Office Depot products
Automatically search Office Depot products on officedepot.com. Search OfficeDepot.com by free-text query and return one page of results (24 per page), sorted by relevance, newest, rating or price. Returns the total count, the page count, has_next_page and, for each product, its item number, link, title, brand, selling, regular and list price in US dollars, unit, image, rating, review count, whether it is sponsored, availability as Office Depot states it, delivery days and category. A query that is an item number returns that one product. Office Depot answers a query it does not understand with loosely related products, not with an empty list. A page past the last one returns an empty list. Stock and delivery estimates follow the store and ZIP code Office Depot assigns to a new guest browser (store_id and delivery_zip).
Inputs
query requiredFree-text search, e.g. "stapler".
page optionalResults page, 24 items per page. Stop when has_next_page is false.
Default: 1sort optionalSort order: relevance (the site's default), newest, rating, price_low or price_high.
Default: "relevance"Output
page requiredsort requireditems requiredquery requiredpage_count requiredtotal_count requiredNumber of results Office Depot gives for the query.
has_next_page requiredstore_id optionalOffice Depot store whose pickup stock is shown.
delivery_zip optionalZIP code Office Depot uses for delivery estimates.
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.
List Office Depot cart items
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.
