Skip to content

Connect your website to Sabiwave

Sabiwave’s commerce API connects the website or app you already have to the business you run in Sabiwave. Your products, prices and stock come from Sabiwave, and every order your website takes lands in your order list beside your POS sales, priced by Sabiwave and taken from the same stock.

Your catalogue, live

The products you choose to show on your website, with their prices, photos and whether they’re in stock.

Orders priced by Sabiwave

Your website sends products and quantities. Sabiwave works out every price, discount and total, and checks the stock.

Promo codes

Check a code against a basket before checkout. Your automatic discounts apply on their own.

Signed webhooks

Sabiwave tells your server the moment an order comes in or changes, a product changes or stock runs out.

  • A Sabiwave business. Its owner makes keys in Settings › Developer (or anyone the owner gives the Manage API keys and webhooks permission).
  • A server for anything that places orders or reads customers: your secret key must never reach a browser. A browser can read the catalogue and check promo codes with the publishable key.
  • Test keys to build with, on every plan. Live keys come with the Business plan.

Every request goes to one base address, over HTTPS:

https://api.sabiwave.com/api/v1/public
  1. Your website shows products from GET /catalog/products.
  2. At checkout it checks the promo code with POST /promotions/validate.
  3. Your server places the order with POST /orders, sending only products and quantities.
  4. Sabiwave answers at once with the order’s id, then makes the order in the background through the same pipeline as a sale at the POS, so your stock rules apply to website orders too.
  5. Your server hears order.created by webhook, or asks GET /orders/{id}/status.
  6. Your team sees the order in Sabiwave, with its customer, and moves it along.

No website of your own? A Sabiwave online store is coming soon.