Overview
The Marketfront SDK provides a complete food ordering experience that you can embed into your website. It handles store discovery, catalog browsing, cart management, and PCI-compliant checkout — all within a single integration.
:::info Source of Truth The SDK Reference section is the authoritative source for API signatures, types, and behaviors. Code examples elsewhere in this documentation should always adhere to the interfaces and patterns defined there. If you notice any discrepancies, the SDK Reference takes precedence. :::
Why Choose the Marketfront SDK?
| Advantage | Description |
|---|---|
| Fast Integration | Add food ordering in minutes, not weeks |
| Type-Safe | Full TypeScript type support |
| PCI Compliant | SAQ-A compliant payment handling out of the box |
| Automatic Updates | UI improvements without code changes |
| Customizable | Match your brand's look and feel |
Get Started
Install via npm and integrate with your web application:
| Package | Get Started |
|---|---|
@gett-co/marketfront | Web Integration → |
:::note Mobile SDKs iOS and Android SDKs are coming soon. See the iOS and Android pages for updates. :::
:::tip Need more control? The Marketfront SDK handles most typical integration scenarios. For advanced use cases requiring full control over the UI or custom workflows, see the Marketfront API. :::
Documentation Structure
Getting Started
Platform-specific installation and setup guides:
- Web — npm package integration with React and vanilla JS
SDK Guides
SDK-specific concepts with code examples:
- Sessions — Session creation and consumer context
- Events — Handle user actions and order lifecycle
- PCI Compliance — Security architecture
SDK Reference
Complete API reference. Type definitions ship as .d.ts in the npm package — your IDE will autocomplete and document each field; this site documents the runtime API: