Skip to main content
The ingest endpoint is idempotent (safe to re-run), validates every record against a schema, upserts by external_id, and returns per-entity counts. Authenticate with an API key that has the ingest scope. A request carries at most 1,000 records across all entities in a body of up to 2 MB; send larger loads as several batches.

Canonical entities

suppliers, items, item_variants (sizes and options), product_lots (batches and expiry), locations, customers, inventory_levels, purchase_orders, goods_receipts, sales_orders. Each entity is an array of records keyed by external_id. A goods receipt is one received line against a purchase order line: its own external_id, the document_external_id of the receipt document it belongs to, po_external_id and po_line_number, a signed quantity and a posting_date, all required. When a PO line has receipts, its received quantity is their sum, which drives open-PO quantities. Request: an item, a location and its stock.
Response: 200 OK (abridged: results lists every entity, sent or not).
At most 50 record errors are returned in errors; error_count is the full number.

Retries: Idempotency-Key

Send an Idempotency-Key header (1 to 128 visible ASCII characters, a UUID for example) to retry a push safely. Keys are scoped to your organization, and a key belongs to the exact bytes of the body it was first sent with: re-send the same bytes, not a re-serialized copy. Sending the key again gives: Records are upserts by external_id, so a push processed twice lands the same data; the key keeps retry logic clean, it is not what keeps the data safe. The rules for every other POST are under Conventions.

The other ingest routes

Beside the canonical records: Each takes the ingest scope and an API key, and its module is enabled per organization. One competitor call takes at most 1,000 brands, 5,000 styles and 10,000 signals in a body of up to 4 MB (larger answers 413); the whole body is checked before anything is written, so one bad record answers 400 with every field error in details and writes nothing. For sensor events and supplier invoices, at most the first 50 rejected records are listed in errors; error_count is the full number.