Catalog
Product search, category tree, product page and delivery dates (product-discovery, delivery-promise, pricing).
Search products
Relays product-discovery GET /products with the search filters q, categoryId, inStock, priceMin, priceMax, sort and the page parameters limit and cursor. An undeclared parameter answers 400 unknown-query-parameter; the answer is the provider's page {items, facets, categorySuggestions, nextCursor}.
Get the category tree for department navigation
Relays product-discovery GET /categories unchanged: the category tree with purchasable counts, shaped {version, categories: [{categoryId, parentId (null on a root), name, path, purchasableCount}]}. It takes no parameters; anything in the query string is dropped. The page uses it to show department names for the categoryId filter of GET /products. The tree is one bounded navigation document, not a resource collection.
Get one product view
Relays product-discovery GET /products/{catalogItemId}, the full ProductView for the product page.
Delivery dates and charges for one unit of a product
Called by the browser after the product page rendered. Quotes one line (quantity 1) with delivery-promise POST /delivery-quotes for the postal prefix and joins the per-tier delivery charge from the current pricing charge schedule. A missing charge schedule only leaves the charge out. On a timeout the page keeps its enter-a-postal-code text. Each tier carries the quoted window's destination timeZone when delivery-promise sent one.