For developers

Ample POS API

Connect your own systems, like a hub, an ERP or a supplier feed, to a business on Ample POS: read everything, push products and stock in, and hear about changes as they happen.

1. Get a key

The business owner opens API & webhooks in their dashboard and creates a key. They choose read only or read and write, and which areas it can use. The full key is shown once; it looks like ak_4c1f…_Yx3….

A key belongs to one business. It acts for the person who created it and can never do more than they can. If they leave the business, or the key is revoked, it stops working.

2. Make requests

Send the key as a bearer token to https://<your Ample POS address>/api. The dashboard shows the exact address. You don’t need a business ID header: the key already says which business it’s for.

curl https://amplepos.net/api/catalog/products?limit=50 \
  -H "Authorization: Bearer ak_..."
  • Money is in cents: priceMinor: 1250 is $12.50.
  • IDs are UUIDs. Times are ISO 8601 in UTC.
  • Errors are JSON with statusCode and message. 401 means a bad or revoked key, 403 a missing permission or a read-only key, 409 a conflict such as a duplicate SKU or a stale version.
  • Many writes accept an idempotencyKey: send the same one when retrying and the change is applied only once.

Read data

EndpointWhatNeeds
GET /locationsStores and their time zones—
GET /catalog/products?search=&status=&limit=&offset=Products with their variantscatalog.read
GET /catalog/products/{id}One productcatalog.read
GET /catalog/variants?after=&limit=Every sellable variant with barcodes, paged by `after` (fast full export)catalog.read
GET /catalog/lookup?code=Find a variant by SKU or barcodecatalog.read
GET /inventory/levels?locationId=&limit=&offset=On-hand counts at a locationinventory.read
GET /inventory/movements?locationId=&variantId=&before=Stock history, newest firstinventory.read
GET /sales?status=&before=&limit=Sales, newest firstpos.sell
GET /sales/{id}One sale with lines, payments and refundspos.sell
GET /customers?search=&limit=&offset=Customerscustomers.use
GET /customers/{id}One customer with their salescustomers.use
GET /reports/sales?from=&to=&locationId=Daily totals, payment methods, top productsreports.read
GET /reports/inventoryStock value by locationreports.read
GET /purchase-orders, /suppliersPurchasingpurchasing.receive
GET /gift-cardsGift cards and balancesgiftcards.manage

Push data in

EndpointWhatNeeds
POST /integrations/products/upsertCreate or update up to 500 products by SKUcatalog.manage
POST /integrations/inventory/levelsSet on-hand counts at a location (up to 1,000 rows)inventory.adjust
POST /inventory/receiptsAdd stock that arrivedinventory.adjust
POST /inventory/adjustmentsAdd or remove stock with a reasoninventory.adjust
POST /inventory/transfersMove stock between locationsinventory.adjust
POST /catalog/products, PATCH /catalog/products/{id}, PATCH /catalog/variants/{id}Edit the catalog item by itemcatalog.manage
POST /customers, PATCH /customers/{id}Add and edit customerscustomers.use / customers.manage

Upsert products by SKU

POST /integrations/products/upsert
{
  "products": [
    { "sku": "TEE-RED-M", "name": "Red tee", "variantName": "Medium",
      "priceMinor": 2500, "costMinor": 900, "category": "Apparel", "barcodes": ["0123456789012"] },
    { "sku": "MUG-1", "name": "Mug", "priceMinor": 1200 }
  ]
}
→ { "created": 1, "updated": 1, "errors": 0,
    "results": [{ "sku": "TEE-RED-M", "status": "updated", "productId": "…", "variantId": "…" }, …] }

A SKU that exists is updated (matching ignores upper/lower case); a new one creates a product. Each row succeeds or fails on its own.

Set stock levels

POST /integrations/inventory/levels
{
  "locationId": "…",
  "levels": [{ "sku": "TEE-RED-M", "onHand": 12 }, { "variantId": "…", "onHand": 0 }],
  "idempotencyKey": "hub-sync-2026-11-24T10:00"
}
→ { "set": 1, "unchanged": 1, "errors": 0,
    "results": [{ "sku": "TEE-RED-M", "status": "set", "before": 9, "after": 12 }, …] }

Give the count you want, not the difference. Ample POS records the difference as one stock adjustment, so history and reports stay correct.

Follow changes: the feed

GET /events?after=<last id>&types=inventory.changed,sale.completed&limit=100 returns events oldest first, with next to pass as after next time and hasMore. Store the last id you handled and you’ll never miss a change, even after downtime. Keys only see event types their permissions allow.

Follow changes: webhooks

Add a webhook in the dashboard, or from your app with a key that has api.manage: POST /webhooks with { "url": "https://…", "events": ["inventory.changed"] }. The response includes the signing secret (whsec_…), shown once.

Each event is a POST with this body. Answer with any 2xx within 10 seconds; anything else is retried with backoff for about a day.

{
  "id": "evt_1042",
  "type": "inventory.changed",
  "createdAt": "2026-11-24T10:00:00.000Z",
  "businessId": "…",
  "data": {
    "kind": "sale",
    "lines": [{ "locationId": "…", "variantId": "…", "sku": "TEE-RED-M",
                "quantityDelta": -1, "reason": "sale", "onHand": 11 }]
  }
}

Check the Ample-Signature header (t=<unix time>,v1=<hex>): it’s an HMAC-SHA256 of <t>.<raw body> with your secret. Reject old timestamps, and use the event id to ignore repeats.

import { createHmac, timingSafeEqual } from 'node:crypto';

function isFromAmplePos(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
  if (Math.abs(Date.now() / 1000 - Number(parts.t)) > 300) return false;
  const expected = createHmac('sha256', secret).update(`${parts.t}.${rawBody}`).digest('hex');
  return timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1 ?? ''));
}

Event types

TypeWhenNeeds
product.createdA product was addedcatalog.read
product.updatedA product’s name, description, category or status changedcatalog.read
variant.createdA variant (size, color...) was added to a productcatalog.read
variant.updatedA variant’s price, SKU, barcodes or status changedcatalog.read
inventory.changedStock went up or down at a location (sale, delivery, count, adjustment, transfer)inventory.read
sale.completedA sale was paid in fullpos.sell
sale.refundedSome or all of a sale was refundedpos.sell
sale.voidedAn unpaid sale was voidedpos.sell
customer.createdA customer was addedcustomers.use
customer.updatedA customer’s details changedcustomers.use
customer.deletedA customer was deletedcustomers.use
purchase_order.orderedA purchase order was sent to the supplierpurchasing.receive
purchase_order.receivedA delivery was received against a purchase orderpurchasing.receive
location.createdA location was added—
location.updatedA location was changed or archived—

Events carry IDs and what changed; fetch the record for full details.