GET / POST
/api/v1/items
Item master. GET returns items with custom fields.
Fields: sku*, description*, uom, unitCost, category, moq, orderMultiple, custom{…} (* required)
Connect any ERP, WMS, TMS, e-commerce platform, spreadsheet job or integration tool. There are no vendor-specific connectors to install: send JSON over HTTPS, or map a file once in the app.
An administrator creates a key in Settings → Integrations. Keys are scoped to one company, can be read-only or read/write, and can be revoked at any time. Silona stores only a hash.
Authorization: Bearer sk_live_XXXXXXXX_…
Lists take ?limit= (max 500) and ?offset=. Writes take up to 5,000 records per call as {"records": [ … ]} using the field names below. Unknown fields are ignored and reported back.
GET / POST
Item master. GET returns items with custom fields.
Fields: sku*, description*, uom, unitCost, category, moq, orderMultiple, custom{…} (* required)
GET / POST
Demand or sales history. GET supports ?sku=.
Fields: sku*, location, date*, quantity* (* required)
GET / POST
On-hand by item and location. GET adds safety stock, days of supply, next stockout.
Fields: sku*, location, onHand* (* required)
GET / POST
Open PO lines. GET includes Silona's recommendation (expedite, push out, cancel…).
Fields: poNumber*, line, sku*, location, supplierCode, supplierName, orderDate, promisedDate, openQuantity*, unitPrice (* required)
GET / POST
Tracking events. Shipments are created on first sight. GET supports ?risk=LATE|AT_RISK|ON_TRACK.
Fields: carrier*, trackingNumber*, status*, occurredAt, location, description, eta, poNumber, sku, supplierName, quantity, mode, origin, destination, promisedDate (* required)
POST
Webhook target for carriers, 3PLs and visibility platforms.
Fields: same as shipments (* required)
GET
Active alerts by default.
Fields: ?status=OPEN|ACKNOWLEDGED|RESOLVED (* required)
GET
Approved buys and PO changes waiting for (or already sent to) your ERP, with the frozen payload.
Fields: ?status=HELD|QUEUED|SENT|CONFIRMED|FAILED|CANCELLED (* required)
POST
Claims queued write-backs for this connector and marks them sent. Process each one, then acknowledge it.
Fields: limit (default 50, max 200) (* required)
POST
Confirmed new POs and changes update Silona's open supply and the plan at once.
Fields: status* (CONFIRMED|FAILED), externalRef (your PO number), error (required when FAILED) (* required)
GET
Supplier Portal add-on only. PO acknowledgements and confirmed ship dates, decided change requests and ship notices, for any ERP to pull. Webhook events: supplier.po.acknowledged, supplier.change.requested, supplier.change.decided, supplier.asn.created, supplier.message.created.
Fields: ?since=<ISO time> (* required)
curl -X POST https://silona.app/api/v1/shipments/events \
-H "Authorization: Bearer $SILONA_KEY" -H "content-type: application/json" \
-d '{"records":[{"carrier":"Maersk","trackingNumber":"MSKU1234567","status":"Arrived at port",
"occurredAt":"2026-11-24T08:30:00Z","location":"Long Beach, CA","eta":"2026-12-02","poNumber":"4500012345"}]}'Status text is normalized (for example “Departed facility” → In transit, “Customs hold” → Customs, “Delivered, signed by …” → Delivered). Late and at-risk shipments raise alerts automatically.
curl -X POST https://silona.app/api/v1/items -H "Authorization: Bearer $SILONA_KEY" -H "content-type: application/json" \
-d '{"records":[{"sku":"PMP-1042","description":"Centrifugal pump","unitCost":412.5,"custom":{"margin_pct":31.5}}]}'# 1. Claim what buyers approved
curl -X POST https://silona.app/api/v1/writebacks/claim -H "Authorization: Bearer $SILONA_KEY"
# → {"claimed":2,"data":[{"id":"…","kind":"NEW_PO","payload":{"sku":"PMP-1042","location":"CHI","quantity":120,"needByDate":"2027-01-15",…}}]}
# 2. Create or change the PO in your ERP, then acknowledge with its number
curl -X POST https://silona.app/api/v1/writebacks/<id>/ack -H "Authorization: Bearer $SILONA_KEY" -H "content-type: application/json" -d '{"status":"CONFIRMED","externalRef":"4500012399"}'Kinds: NEW_PO, RESCHEDULE, EXPEDITE, CANCEL. Prefer push? Subscribe a webhook to writeback.created. Prefer files? Download the CSV from the write-back screen; the columns are the same for every ERP.
Events: alert.created, alert.escalated, alert.resolved, shipment.updated, writeback.created, writeback.confirmed. Body: { event, createdAt, data: [ … ] }. Verify the Silona-Signature header: t=<unix>,v1=<hex HMAC-SHA256(secret, t + "." + rawBody)>, and reject timestamps older than five minutes.
const [t, v1] = header.split(",").map((p) => p.split("=")[1]);
const expected = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
const ok = crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1)) && Math.abs(Date.now() / 1000 - Number(t)) < 300;