Coming soon

The Storefront API isn’t open to developers yet. This is a preview of the docs, and details may change before launch.

Guides

Catalog

All catalog calls work with either key and need no shopper login.

Store

GET /v1/store — name, description, logo, currency, the login methods the store offers (login_methods), checkout settings (guest checkout, cash on delivery and its fee, pincode validation, success messages) and whether reviews are on.

Products

GET /v1/products lists products, each with its variants.

ParameterWhat it does
searchMatches product names, descriptions, brand, category and variant names or SKUs
categoryCategory ID (cat_…) or slug; includes its sub-categories
brand, badgeExact brand name; badge such as sale, new_arrival, best_seller
min_price, max_priceIn the smallest currency unit (paise)
in_stock=trueOnly products that can be bought now (or back-ordered)
sortnewest (default), price_asc, price_desc
limit, cursorPaging (see Core concepts)

A product has id, name, description, type (physical, digital or service), badge (show it as a ribbon on product cards), brand, category, images, price_range and variants. Each variant has id, slug, options (e.g. Size: M), price, compare_at_price, tax_inclusive, available_quantity, in_stock, back_order, is_preorder, purchase_limit (advisory), listed (false = only show it inside its product) and images.

GET /v1/products/{id} returns one product by prod_ ID or variant slug. When fetched by slug, selected_variant_id tells you which variant the URL was for. Use variant slugs in your product URLs.

Only products the merchant has made visible are returned; hidden, deleted and plan-limited products never appear. Sold-out products do appear, with in_stock: false.

Categories and collections

  • GET /v1/categories — every visible category with parent_id (build the tree yourself).
  • GET /v1/collections — published collections.
  • GET /v1/collections/{slug}/products — a collection's products in the merchant's order.

Reviews

  • GET /v1/reviews — store reviews.
  • GET /v1/products/{id}/reviews — a product's reviews.

Both accept rating (1–5), sort (newest, oldest, highest_rated, lowest_rated) and paging, and include a summary (average, total, counts per star). When the merchant has turned reviews off, data is empty and summary is null. Reviewers are shown as first name and last initial.

Blog and policy pages

  • GET /v1/blog/posts (filter by category slug or search), GET /v1/blog/posts/{slug}, GET /v1/blog/categories.
  • GET /v1/pages/{slug} for privacy-policy, terms-and-conditions, refund-policy and shipping-policy.

content_html is written by the merchant: sanitise it before rendering.