Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page2 sections
Is this helpful?
Quick Actions
Download OpenAPI.json
Events

Event: inventory.adjusted

Dispatched when outlet stock levels are updated via manual adjustment (`SET`, `IN`, or `OUT`).

Dispatched when outlet stock levels are updated via manual adjustment (SET, IN, or OUT).

Envelope Schema

PropertyTypeDescription
idUUIDUnique delivery ID matching X-Invoger-Delivery
eventstringAlways "inventory.adjusted"
tenantIdUUIDActive tenant identifier
occurredAtstring (ISO 8601)UTC timestamp when the event occurred
dataobjectEvent-specific payload attributes

Example Payload

json
{ "id": "4a8b2c1d-0000-4000-8000-000000000001", "event": "inventory.adjusted", "tenantId": "t1a2b3c4-0000-4000-8000-000000000001", "occurredAt": "2026-11-26T05:30:00.000Z", "data": { "outletId": "o1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c", "productId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", "operation": "IN", "quantity": 25, "quantityAfter": 70 } }
POST/api
// Signed HTTP POST sent to your webhook URL:
POST /webhooks/invoger HTTP/1.1
Content-Type: application/json
X-Invoger-Event: inventory.adjusted
X-Invoger-Delivery: 4a8b2c1d-0000-4000-8000-000000000001
X-Invoger-Signature: t=1795671000,v1=...

{
  "id": "4a8b2c1d-0000-4000-8000-000000000001",
  "event": "inventory.adjusted",
  "tenantId": "t1a2b3c4-0000-4000-8000-000000000001",
  "occurredAt": "2026-11-26T05:30:00.000Z",
  "data": {
    "outletId": "o1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c",
    "productId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
    "operation": "IN",
    "quantity": 25,
    "quantityAfter": 70
  }
}
Interactive playground

Response

application/json
{
  "id": "4a8b2c1d-0000-4000-8000-000000000001",
  "event": "inventory.adjusted",
  "tenantId": "t1a2b3c4-0000-4000-8000-000000000001",
  "occurredAt": "2026-11-26T05:30:00.000Z",
  "data": {
    "outletId": "o1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c",
    "productId": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
    "operation": "IN",
    "quantity": 25,
    "quantityAfter": 70
  }
}