Omono API
Menu Guides

Guides

View as Markdown

These guides explain how the Omono API works as a whole: the rules that apply to every request, and the steps behind the most common jobs. If you're new to the API, start with Getting started, then follow the recipe that's closest to what you want to build. Come back to the other guides when you need the detail. The API reference describes every endpoint and field.

Get started#

Guide Read it to
Getting started Get access to the API, create an API key, make your first request and set up a sandbox for testing.
Recipes Follow common jobs step by step, such as pushing orders in, mirroring data out, shipping and invoicing a dispatch, and exporting invoices.
Build with AI assistants Give an AI assistant or coding tool these docs as Markdown, and the API as an OpenAPI document.
Client libraries Generate a client for the API in Python, TypeScript, Java or C#, and avoid the traps of each generator.

Learn how the API works#

Guide Read it to
Reading data Page through lists, filter and sort them, include related records, look up IDs and download files.
Keeping in sync Build a copy of your Omono data, keep it up to date, and remove records that are deleted in Omono.
Writing data Create and change records safely, with idempotency keys, ETags, line item changes, lifecycle actions and prefilled fields.
Dispatches and invoicing Move a sales order's dispatches, which are its shipments, through your workflow, ship and invoice them, and find out why a dispatch can't ship yet.
Rate limits Learn the limits, how heavy writes count, and how to plan your requests.
Errors Understand the error format, handle the codes that matter, and recover after a server error.
Conventions Read IDs, timestamps, dates, text, money and statuses the same way across the whole API.
Enums Look up the values that each status and type can take, and what each one means.

Stay up to date#

Page Read it to
Compatibility policy Find out what can change in the API, and when a change takes effect.
Changelog See every change to the API, newest first.

Find what you need#

If you want to Read
Create your first API key Create an API key
Generate a client in your language Client libraries
Test without touching your live data Test on a sandbox organisation
Get the next page of a list Page through a list
Keep a copy of your data up to date Poll for changes
Remove records that were deleted in Omono Find deleted records
Retry a request without doing the work twice Retry requests safely
Avoid overwriting a change you haven't seen Avoid overwriting changes with ETags
Add, change or remove line items Change line items
Ship and invoice a dispatch Ship a dispatch
Find out why a dispatch can't ship When a dispatch can't ship
Decide which errors to handle in your code Codes your integration should handle
Stay inside your rate limits Plan your requests

Use the docs with an AI assistant#

Every guide page, every error page and every section of the API reference is also available as Markdown, which AI assistants and coding tools read well.

  • Copy for LLM copies the page, or the reference section, as Markdown, so you can paste it into a chat with your assistant.
  • View as Markdown opens the same Markdown in your browser.
  • /docs/llms.txt lists every Markdown page, in the llms.txt format that many AI tools look for.
  • /docs/llms-full.txt holds all the guides, the whole reference and every error code in one file.

The Markdown is built from the same source as these pages, so it always matches them. Learn more in Build with AI assistants.