Skip to main content

Getting Started with the Commerce API

The Commerce API allows Online Ordering Solutions, POS systems and other Commerce Platforms to act as a Menu Source and Order Destination for Gett.

Data Flow

Your system is the source of truth for catalogs, store status, and order updates. Gett is the source of truth only for order creation.

DataSource of TruthDirectionAPI
Catalog / MenuPartnerPartner → GettPOST /catalogset-notification
Store StatusPartnerPartner → GettPOST /stores/{id}/status
Order CreationGettGett → PartnerplaceOrder webhook
Order UpdatesPartnerPartner → GettPOST /orders/{id}/status

High-Level Flow

  1. Catalog Notification: Notify us when a menu changes for a store.
  2. Catalog Pull: We download the CatalogSet from your URL.
  3. Order Placement: We call your placeOrder webhook when a customer pays.
  4. Order Updates: You send status updates as orders progress.
  5. Store Status: Pause/resume stores in real-time.

Setup Prerequisites

  1. API Key: We issue you a key to authenticate your calls.
  2. Webhook Base URL: Where you host your order endpoints.

Authentication

Include your API Key in all requests:

X-API-Key: YOUR_API_KEY

What's Next