Articles on: Sprwt Supprt
Does Sprwt have an API, and what can be integrated with it?
Yes. Sprwt exposes a REST API under https://<your-site>/api/v1/ that returns JSON. In plain terms it lets an external app or website:
- Customer accounts - register and log in customers, read the logged-in profile, create/update customers, manage their saved cards, allergens, dislikes, and pause or change the address on their subscriptions.
- Ordering - build a cart and check out (a la carte, Grab & Go, packs, extras, products, subscriptions, catering, by-the-pound), apply coupons, and use card readers.
- POS - everything a point-of-sale device needs: menus, orders, checkouts, employee clock-in/out, cash drawers, receipt printing.
- Delivery - check whether a zip code is deliverable, list pickup points, request a new zip code.
- Ingredients - look up ingredients, allergens, categories, units and macros.
- Marketing - submit a newsletter sign-up form from a custom website.
- Blog and Versions - read blog content and Sprwt release notes.
Cross-origin requests are allowed from any site by default, so a separate front end can call it directly. Full endpoint documentation is provided by Sprwt on request.
Where to find it:
n/a (developer feature)