Skip to main content

Marketfront API

The Marketfront API provides RESTful endpoints for building custom food ordering experiences. Use these APIs for complete control over the user interface and ordering workflow.

API Structure

The API is organized into two categories:

Core APIs

Essential endpoints required for any integration:

EndpointPurposeNotes
StoresFind stores by location with optional searchGet available stores primarily based on location
CatalogSetsGet store menusCache aggressively (immutable)
OrdersValidate and place ordersNo caching
PaymentsPayment handlingSee shared guide

Helper APIs

Optional convenience endpoints that simplify common operations:

EndpointPurpose
Cart HelpersStateless cart add/remove/update
Simpler Alternative

Most integrations don't need full API access. The Marketfront SDK provides a complete, pre-built ordering experience that can be integrated in minutes.

Base URLs

EnvironmentBase URL
Sandboxhttps://api-sandbox.gett-tech.com/v1
Productionhttps://api.gett-tech.com/v1

Authentication

All requests require your API key in the Authorization header:

curl -X POST https://api.gett-tech.com/v1/stores \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"location": {"address": "123 Main St, NYC"}}'

Caching Strategy

Data TypeStrategyWhy
Store resultsNever cacheStore status changes constantly
CatalogSetsCache aggressivelyImmutable - use ETags for validation
Validation tokensExpire in 15 minSecurity and price accuracy

Documentation

Getting Started

Core

Helpers

Shared Guides

  • Payments — Payment options and Card-on-File

Reference

  • API Reference — Auto-generated endpoint documentation
  • Types — Data model definitions

HTTP Status Codes

StatusDescription
200 OKRequest succeeded
304 Not ModifiedCached data is still valid (CatalogSets)
400 Bad RequestInvalid request parameters
401 UnauthorizedMissing or invalid authentication
404 Not FoundResource not found
409 ConflictConflict (e.g., token already used)
429 Too Many RequestsRate limit exceeded
500 Internal Server ErrorServer error

Rate Limits

Endpoint TypeLimit
Read operations1000/min
Write operations100/min
Stores60/min

When rate limited, you'll receive a 429 response with a Retry-After header.