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 email
POST /clientsAdd a client
GET · PATCH /clients/{id}Read or update one client
GET /itemsList items; filter by client, SKU, or status
POST /itemsAdd an item
GET · PATCH /items/{id}Read, edit, move, or adjust stock
GET /requestsList requests; filter by client, status, or type
POST /requestsBook an inbound, a pull request, or a delivery
GET · 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 sent
invoice.past_dueInvoice past due
invoice.paidInvoice paid
request.createdService request created
request.status_changedService request status changed
request.completedService request completed
items.receivedItems received into inventory
item.createdItem added
item.updatedItem changed
item.checked_outItem checked out
item.deletedItem deleted
item.low_stockItem fell to its low stock level
client.createdClient added
shipment.updatedTracked shipment changed status

Every 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?
Clients, inventory items, and service requests: list them, read one, create one, and update one. Requests cover inbound shipments, pull requests, and deliveries, and can be rescheduled, approved, started, cancelled, or reopened. Completing a request stays in Stowley, because that is the step that moves stock. Invoices are read through the feeds. Everything is versioned by shape: fields are only ever added, never renamed or removed.
How are webhooks retried?
A delivery counts as successful on any 2xx response within 10 seconds. Anything else is retried with backoff at 1 minute, 5 minutes, 30 minutes, and 2 hours, five attempts in total. Each endpoint's last result shows in Settings, and you can replay a test event at any time.
Can I use this with Zapier or Make?
Yes, in both directions. To react to Stowley, point a Zapier 'Webhooks by Zapier' or Make 'Custom webhook' trigger at the URL they give you and subscribe it in Stowley. To change Stowley, add a Zapier 'Webhooks by Zapier' or Make 'HTTP' action that calls the API with your key. That's the fastest route to QuickBooks, Slack, Google Sheets, and the rest.
Is a retried request safe?
Send an Idempotency-Key header with any POST that creates an item or a request. If the same key arrives again, you get back the record the first call made, not a second one. Updates are safe to repeat as they are, apart from quantity_delta, which adds each time it lands.
Who can see a feed?
Anyone with the URL, which is why the token is long and random. A client feed is scoped to that one client and never includes anyone else's items or invoices. An organization-wide feed, which you create for your own CRM or reporting, covers every client. Revoking a feed in Settings stops it immediately.
Which plan includes this?
The API, feeds, and webhooks are part of the Enterprise plan. Sandbox workspaces have them switched on so you can try the whole flow before talking to us.

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.

Request a Tour

The live demo asks only for an email. No strings attached.