Section Rendering API
Definition
The Section Rendering API lets a storefront request the rendered HTML of a single theme section instead of a whole page. Any URL accepts a sections parameter naming section ids, and Shopify returns their markup as JSON. The section renders server-side through the same Liquid, so the response reflects current cart, variant, filter and locale state without the theme duplicating that logic in JavaScript.
Documented at https://shopify.dev/docs/api/ajax/section-rendering.
How we've used it
It's the load-bearing primitive for anything that changes without a page load, and three patterns recur. Carts: every mutation returns a re-rendered drawer, total and cart icon, so line items, price rules, subscription labels and threshold messaging stay Liquid's job instead of being reimplemented client-side. Collections: a facet change or a load-more request fetches the grid section and the theme swaps the returned node in place, which keeps pagination counts and merchandiser-placed promo tiles correct. Product pages: a variant change refetches the buy box so price, availability and variant-scoped copy come back rendered rather than assembled from JSON. The recurring cost is re-initialization — a replaced node loses its listeners, sliders and third-party widgets — so every one of these builds carries an explicit re-bind step after the swap.
Builds using it
- Alt-text driven variant media gallery with tiered matching and full-screen lightbox — LUS Brands
- Main collection grid: merchandisable promo tiles, load-more and a filter blocklist — Nudestix
- Rebuilt 2026 PDP section with merchandiser-composable blocks and per-product ATC color — LUS Brands
- Configurable PDP block system on the Palo Alto theme (Recharge widget placement, size charts, siblings, quick view) — Three Ships
- Variant-aware PDP hero banner driven by a 'heroic' metaobject — LUS Brands
- Metafield-driven product information tabs with mobile accordion and variant refresh — LUS Brands
- Shade-level collection grid hydrated from an external faceting service — Nudestix
- Vertical filter rail and an in-place mobile filter accordion replacing Dawn's drill-down drawer — LUS Brands
- Cart 'Add Ons' cross-sell driven by the Product Recommendations API — Nudestix
- Cart page rebuilt around loyalty points, protected gifts and a dark order summary — Nudestix
- Threshold-driven free shipping, deluxe sampling and a first-order gift notice — Nudestix
- Collection grid card on a licensed theme: metafield merchandising, a badge precedence chain, a hover-swap swatch element and first-row loading hints — Three Ships
- Size-pill variant picker and quick add-to-cart inside product grids — Three Ships
- Dawn media gallery hardened for hidden slides and deferred video — LUS Brands
- Mobile sticky add-to-cart bar mirrored from the real product form — LUS Brands
- Side-by-side product comparison drawer and modal table — Nudestix
- Tabbed multi-type search results page with faceted filtering — Three Ships
- Shoppable-video to cart bridge: Hue add-to-cart event wired into Rebuy's drawer — Three Ships
- Collapsible desktop filter sidebar that reflows the product grid instead of squeezing it — LUS Brands
26 further gated builds use it; their pages follow.
Related entities
Cart AJAX API · Storefront filtering · Theme sections · Custom elements · Metafields