S

Sahl Inventory Developer Portal

Public POS & REST API Integration Documentation (No Login Required)

← Back to HomeSign In to Portal
POS Integrations
REST API Reference

Foodics POS Integration Guide

ACTIVE DRIVER

Seamlessly connect Foodics POS counter terminals to Sahl Inventory for automatic background raw ingredient stock deductions.

Step 1: Obtain Your Webhook Secret Key

Store owners log in to Sahl Inventory Admin → POS Connectors (/admin/pos-adapters) to register their Foodics connector and get their Webhook Secret Key.

http://localhost:8080/api/v1/pos/webhook/foodics

Step 2: Configure Foodics Webhook Settings

  1. Log in to your Foodics Console (console.foodics.com).
  2. Go to Settings → Developer & Webhooks.
  3. Click Add New Webhook.
  4. Paste the Webhook URL above and select event: Order Paid (order.paid).
  5. Save configuration.

Sample Foodics JSON Payload Schema

{
  "event": "order.paid",
  "business_id": "biz_restaurant_001",
  "branch_id": "branch_olaya_01",
  "data": {
    "order_id": "ORD-FOODICS-9921",
    "total_amount": 120.00,
    "items": [
      {
        "sku": "SKU-KAJU-1KG",
        "name": "Kaju Katli Special (1 KG Box)",
        "quantity": 2,
        "price": 60.00
      }
    ]
  }
}