Skip to content

Storefront API

Every Sevigram business can sell from its hosted storefront on yourname.sevigram.biz. The Storefront API lets you go further and build your own storefront, on your own domain and in your own design, using the same catalog, bookings, checkout and customer accounts.

With it you can:

  • show the shop’s profile, branding, policies, FAQs, pickup locations and payment methods;
  • list and show products, services and collections;
  • show bookable times for services;
  • show reviews and rating stats;
  • accept contact messages;
  • create a checkout and send the shopper to the Sevigram-hosted checkout to pay;
  • let customers sign in to see their orders, bookings, quotes, invoices and deliverables.

Sevigram stays the system of record. Prices, stock and availability are always checked on Sevigram’s side at checkout, and payment happens on the hosted checkout, so your site never handles card details.

https://api.sevigram.com/storefront/v1

The API version is part of the path. Build your client to ignore response fields it doesn’t recognize, so new fields don’t break it.

The fastest way to start is Sevigram Loom, which builds a working storefront against a read-only demo shop in a few minutes:

Terminal window
npm create @sevigram/loom@latest my-shop

Or call the API directly:

Terminal window
curl https://api.sevigram.com/storefront/v1/shop \
-H "Authorization: Bearer $SEVIGRAM_STOREFRONT_TOKEN" \
-H "Origin: http://localhost:5173"

To use the API with your own shop, you need:

  • a Sevigram business on a plan that includes custom storefronts. See the Sevigram pricing page;
  • a team role that can manage storefronts;
  • access to custom storefronts, which are being rolled out gradually. If Settings → Custom storefronts says they aren’t available for your business yet, ask support.