Ecommerce SDKs
Five composable SDKs for building stores: catalog, cart and orders, transactional email, shipping rates, and address validation. All auto-detected and injected into generated apps.
Products
window.genmb.products is your catalog SDK: create, list, search, and update product records. Each product has a name, price, inventory, images, and arbitrary metadata. Backed by a per-app PostgreSQL table you can also browse via the Database Browser.
Commerce
window.genmb.commerce handles the cart-and-order workflow: add to cart, persist between sessions, compute totals (with tax once Stripe Tax is enabled), and convert a cart into an order at checkout.
window.genmb.email sends transactional email from your app: order confirmations, shipping updates, password resets you write in your handler. Falls back to platform SMTP; supports BYOK (bring your own key) for Resend / Postmark / SendGrid in production.
For shaped emails (logo, brand colors, footer), provide a template once and reuse it across send calls.
Shipping
window.genmb.shipping returns shipping rate quotes for an origin / destination / parcel triple. Fixed-rate fallback is built in; BYOK to EasyPost / Shippo unlocks live carrier rates.
Address
window.genmb.address validates and autocompletes postal addresses. Useful at checkout to prevent typos before paying for a parcel to nowhere. Backed by Google Maps Platform Address Validation when configured.
Putting It Together
A typical store flow:
- User browses catalog (products).
- User adds items to cart (commerce).
- User enters address (address validates + autocompletes).
- Shipping rate appears in cart (shipping).
- User pays (billing).
- Order is created (commerce) and confirmation is sent (email).
Ask GenMB to "build a store with checkout" and the AI will wire all of the above together; you can fine-tune in chat from there.
FAQs
Are these separate from the Stripe integration plugin?▾
Do I have to use all five SDKs together?▾
How is payment wired?▾
Where does product data live?▾
Ready to build?
Create your first app for free, no credit card required.