FREE Next Day Delivery on orders $35+ · Buy Online, Pick Up In Store in 30 Minutes

AutoZone
Add a Vehicle

Broadleaf API Map

The storefront is a thin wrapper over the publicly documented Broadleaf Commerce Catalog Browse and Cart Operations APIs. Gateway: https://broadleaf.example.com/api — not connected (set BROADLEAF_API_URL).

AreaBroadleaf endpointStorefrontCurrent source
CatalogGET /catalog-browse/products/details?productUris=/p/[slug]data/catalog/products.json
CatalogGET /catalog-browse/categories/details/c/[slug]data/catalog/categories.json
SearchGET /catalog-browse/search/catalog?query=/search?q=data/search/search-results.json
SearchGET /catalog-browse/search/catalog/suggestHeader search boxStatic suggestions
CartPOST /cart-operations/cart/{cartId}/itemsAdd to CartPOST /api/cart (op: add)
CartPATCH /cart-operations/cart/{cartId}/items/{itemId}/cart quantity + fulfillmentPOST /api/cart (op: update)
CartDELETE /cart-operations/cart/{cartId}/items/{itemId}/cart removePOST /api/cart (op: remove)

Flat Files

Products follow the Broadleaf ProductDetails shape. Replace data/catalog/products.json with an export, or edit scripts/generate-catalog.mjs and run node scripts/generate-catalog.mjs.

Cart Business Rules

Core deposit
Batteries, alternators and starters carry a refundable core charge (corePrice), shown on PDP and summed in cart.
Quantity cap
Max 10 per line and 50 lines per cart, validated client-side and in the /api/cart BFF.
Fulfillment
Each line is PICKUP (store #3071) or SHIP, passed as itemAttributes.fulfillmentType.
Free shipping
Ship-to-home lines are free at $35+, otherwise $7.99.
Fitment
Products are UNIVERSAL or VEHICLE_SPECIFIC; the selected vehicle is kept in the browser.