Developers
An API, feeds, and webhooks for the systems around your warehouse
Create and update clients, items, and requests from your own software. Pull inventory and invoices as JSON or CSV. Get a signed HTTP POST the moment an invoice is paid, a request changes, or stock moves. No SDK to install, no OAuth dance.
REST API
Send changes into Stowley with one key
Create a key in Settings → Integrations and send it as a bearer token. Your order system books a delivery, your CRM adds a client, your storefront takes stock down, and each change shows up in Stowley as if your team had made it.
GET /clientsList clients; filter by emailPOST /clientsAdd a clientGET · PATCH /clients/{id}Read or update one clientGET /itemsList items; filter by client, SKU, or statusPOST /itemsAdd an itemGET · PATCH /items/{id}Read, edit, move, or adjust stockGET /requestsList requests; filter by client, status, or typePOST /requestsBook an inbound, a pull request, or a deliveryGET · PATCH /requests/{id}Read, reschedule, or change status- One key per system, revoked in one click
- Lists page with next_cursor and sync with updated_since
- An Idempotency-Key makes a retried POST safe
- Errors are JSON: a readable message and a stable code
- 120 requests a minute per key
- Every change is in the audit trail under the key's name
POST https://stowley.com/api/public/v1/requests
Authorization: Bearer stw_…
Content-Type: application/json
Idempotency-Key: order-10482
{
"type": "delivery",
"client_id": "…",
"scheduled_date": "2026-12-04",
"scheduled_start_time": "09:00",
"scheduled_end_time": "11:00",
"items": [{ "item_id": "…", "quantity": 1 }],
"delivery_address": {
"street": "14 Mill Lane", "city": "Greenwich", "state": "CT", "zip": "06830"
},
"notes": "Call 30 minutes ahead"
}
201 Created
{
"data": {
"id": "…",
"type": "delivery",
"status": "pending",
"priority": "standard",
"client": { "id": "…", "name": "Hartley & Co." },
"scheduled_date": "2026-12-04",
"scheduled_start_time": "09:00",
"scheduled_end_time": "11:00",
"items": [{ "item_id": "…", "name": "Walnut sideboard", "quantity": 1 }],
"delivery_address": {
"street": "14 Mill Lane", "city": "Greenwich", "state": "CT", "zip": "06830"
},
"notes": "Call 30 minutes ahead",
"created_at": "2026-11-20T15:04:05.000Z",
"updated_at": "2026-11-20T15:04:05.000Z"
}
}
PATCH https://stowley.com/api/public/v1/items/<id>
{ "quantity_delta": -2, "location": { "warehouse": "Main", "zone": "B" } }
GET https://stowley.com/api/public/v1/items?updated_since=2026-11-01T00:00:00Z&limit=200
{ "data": [ … ], "next_cursor": "…" }
409 Conflict
{ "error": "Only 1 in stock, so 2 can't be taken", "code": "conflict", "field": "quantity_delta" }Data feeds
One URL per client or per organization, read-only
Create a feed in Settings → Integrations. A client token is scoped to that client only, so a designer, gallery, or brand can wire it into their own tools without seeing anyone else's items. An organization-wide token covers every client, for your own CRM, HubSpot, or a reporting spreadsheet.
- JSON by default, CSV with one query parameter
- Incremental pulls with updated_since
- Large feeds page with next_cursor, so no row is skipped
- Inventory: locations, dimensions, values, tags, and photos
- Invoices: status, total, deposit, balance due, and paid date
- Revoke in one click; the URL dies instantly
GET https://stowley.com/api/public/feeds/<token>/inventory
GET https://stowley.com/api/public/feeds/<token>/inventory?format=csv
GET https://stowley.com/api/public/feeds/<token>/inventory?updated_since=2026-09-01T00:00:00Z
GET https://stowley.com/api/public/feeds/<token>/inventory?cursor=<next_cursor from the previous page>
GET https://stowley.com/api/public/feeds/<token>/invoices
GET https://stowley.com/api/public/feeds/<token>/invoices?status=sent,past_due&format=csv
{
"object": "inventory_feed",
"generated_at": "2026-09-04T14:02:11.000Z",
"client": { "id": "…", "name": "Hartley & Co." },
"organization": { "name": "Northside Receiving" },
"filter": { "updated_since": null },
"count": 128,
"truncated": false,
"next_cursor": null,
"items": [
{
"id": "…",
"name": "Walnut sideboard",
"sku": "HC-0042",
"client_sku": "PO-118-3",
"quantity": 1,
"status": "in_storage",
"condition": "excellent",
"category": "furniture",
"project": "Greenwich",
"location": { "warehouse": "Main", "zone": "A", "aisle": "12", "bin": "3" },
"dimensions_in": { "length": 72, "width": 18, "height": 34 },
"weight_lbs": 140,
"insured_value": 4200,
"tags": ["fragile", "designer"],
"notes": "Blanket wrap, no stacking",
"image_count": 2,
"primary_image_url": "https://…/sideboard.jpg",
"storage_start_date": "2026-06-01",
"created_at": "2026-06-01T12:00:00.000Z",
"updated_at": "2026-08-20T09:30:00.000Z"
}
]
}Webhooks
Signed events, delivered within a minute
Subscribe an HTTPS endpoint to the events you care about. Every delivery carries an HMAC-SHA256 signature over the timestamp and body, so you can trust what arrives.
invoice.sentInvoice sentinvoice.past_dueInvoice past dueinvoice.paidInvoice paidrequest.createdService request createdrequest.status_changedService request status changedrequest.completedService request completeditems.receivedItems received into inventoryitem.createdItem addeditem.updatedItem changeditem.checked_outItem checked outitem.deletedItem deleteditem.low_stockItem fell to its low stock levelclient.createdClient addedshipment.updatedTracked shipment changed statusEvery event that names a client carries client_email, the email on file for that client (null when there is none), so a CRM can match the contact. Every event also carries summary, one plain sentence saying what happened, and, when it names a client, a top-level client with that client's email and billing_email, so a no-code tool can file the event on the right contact without reading data. request.created fires for portal bookings, for requests your team creates, and for ones made through the API, with source set to client_portal, staff, or api.
An endpoint with no events ticked receives the invoice, request, and items.received events. The item.*, client.created, and shipment.updated events are sent only to an endpoint that ticks them. item.updated lists the fields that changed and what they held before.
POST https://hooks.example.com/stowley
Content-Type: application/json
X-Stowley-Event: invoice.paid
X-Stowley-Delivery: 5f1c… (the event id; use it to de-duplicate)
X-Stowley-Signature: t=1756992131,v1=8a2f…
{
"id": "5f1c…",
"type": "invoice.paid",
"created_at": "2026-09-04T14:02:11.000Z",
"org_id": "…",
"summary": "Invoice INV-1042 for $4,820.00 was paid.",
"client": {
"id": "…",
"email": "accounts@hartley.example",
"billing_email": null
},
"data": {
"invoice": {
"id": "…",
"number": "INV-1042",
"client_id": "…",
"client_name": "Hartley & Co.",
"client_email": "accounts@hartley.example",
"total": 4820,
"paid_at": "2026-09-04T14:02:09.000Z",
"payment_method": "card",
"stripe_payment_intent_id": "pi_…"
}
}
}Verify the signature (Node)
Compute HMAC-SHA256 of <t>.<raw body> with your endpoint's secret and compare it to v1 in constant time. Reject anything older than five minutes.
import { createHmac, timingSafeEqual } from "node:crypto";
export function verifyStowleySignature(secret, header, rawBody, toleranceSeconds = 300) {
const parts = Object.fromEntries(header.split(",").map((p) => p.trim().split("=")));
const timestamp = Number(parts.t);
if (!timestamp || Math.abs(Date.now() / 1000 - timestamp) > toleranceSeconds) return false;
const expected = createHmac("sha256", secret).update(`${timestamp}.${rawBody}`).digest("hex");
const got = Buffer.from(parts.v1 ?? "", "hex");
const want = Buffer.from(expected, "hex");
return got.length === want.length && timingSafeEqual(got, want);
}FAQ
Questions integrators ask
What can the API read and write?
How are webhooks retried?
Can I use this with Zapier or Make?
Is a retried request safe?
Who can see a feed?
Which plan includes this?
Migrating from another system? See the import path.
Live demo
Try it in a sandbox first
Sandbox workspaces have the API, feeds, and webhooks switched on. Spin one up, create a key, add an endpoint, and send a test event.
The live demo asks only for an email. No strings attached.