Build on Penta Order
The Penta Order API lets a restaurant's own systems read and update orders, the menu and store status, and receive signed webhooks the moment something happens. It is a JSON REST API with per-key permissions, included in the Business plan.
API referenceEvery endpoint, its permission and its fields. Generated from the same code that runs the API.Webhooks guideEvents, retries and checking signatures in Node.js and PHP.OpenAPI 3.1 fileImport it into Postman, Insomnia or your code generator.
Start in three steps
- The restaurant owner opens Settings > Developers and creates a key with only the permissions you need. The key is shown once.
- Call the API with it:
curl https://api.pentaorder.com/v1/api/orders?limit=5 \ -H "Authorization: Bearer po_live_…" - Add a webhook endpoint (or subscribe with
POST /v1/api/webhooks) to hear about new orders straight away instead of polling.
Permissions
| Permission | What it allows |
|---|---|
orders:read | List orders and read one order with its lines. |
orders:write | Accept, reject, mark ready and complete orders. |
menu:read | Categories, dishes, prices and allergens. |
menu:write | Mark dishes sold out or back on. |
customers:read | Names, plus email or phone only where the customer agreed to hear from you. |
locations:read | Locations, open, paused or busy. |
locations:write | Pause a service or add busy minutes. |
webhooks:manage | Add and remove webhook endpoints (used by Zapier). |
Events you can subscribe to
order.created, order.accepted, order.preparing, order.ready, order.out_for_delivery, order.completed, order.cancelled, order.rejected, menu.item.updated, customer.created. Details in the webhooks guide.
Zapier
The Penta Order Zapier app adds “New order” and “Order ready” triggers and “Mark sold out” and “Update order” actions, signed in with an API key. Until it appears in Zapier's directory, use “Webhooks by Zapier” with a webhook endpoint and an API key.
Questions developers ask
- Which plan includes the Penta Order API?
- The API, webhooks and Zapier are part of the Business plan (and Groups). The owner creates API keys in Settings > Developers.
- How do I authenticate?
- Send an API key in the Authorization header: Bearer po_live_…. Each key has only the permissions the owner gave it, and the owner can revoke it at any time.
- How are webhooks signed?
- Every delivery carries a Penta-Signature header with a timestamp and an HMAC-SHA256 of the timestamp and the raw body, made with your endpoint's signing secret. Check it and refuse anything older than five minutes.
- What happens if my server is down?
- We retry 8 times over about 23 hours (1 min, 5 min, 30 min, 1 h, 3 h, 6 h, 12 h). If three events in a row fail every retry, the endpoint is turned off and the owner gets an email. Failed events can be resent from Settings > Developers.
- Are there rate limits?
- Yes: 120 requests a minute per key. Over that, the API answers 429 with a retry-after header saying how many seconds to wait.
- How is money represented?
- Always as an integer number of minor units (pence) with a currency, for example { amount: 1295, currency: "GBP" } for £12.95. Never floating point.
Not on Business yet? Compare plans.