# inventory.updated

> Stock changed: a variant's stock on hand moved at a location: one event per variant and minute, with its stock as it is then.

- **Topic:** `inventory.updated`, in the `Kaizena-Webhook-Topic` header and the body's `topic`
- **Sent to:** Your own endpoints, and apps
- **About:** the `inventory`, under `data.inventory`
- **Payload version:** 1

## Payload {#payload}

| Field | Type | Description |
|---|---|---|
| `id` | string (uuid) | The delivery's id: the same when a delivery is sent again, so a receiver can do it once. |
| `topic` | `"inventory.updated"` |   |
| `version` | `1` | The payload's version; a change to a shape raises it. |
| `store` | object |   |
| `store.slug` | string |   |
| `store.name` | string |   |
| `created_at` | string (date-time) | When the event happened. |
| `data` | object |   |
| `data.inventory` | object |   |
| `data.inventory.variant_id` | string (uuid) |   |
| `data.inventory.product_id` | string (uuid) |   |
| `data.inventory.sku` | string |   |
| `data.inventory.on_hand` | integer | Units on hand across the store's locations. |
| `data.inventory.available` | number or null | What can be sold now: on hand less what open orders hold; null for a variant whose stock is not counted. |
| `data.inventory.locations` | list of objects | Units on hand at each location that has the variant. |
| `data.inventory.locations[].location_id` | string (uuid) |   |
| `data.inventory.locations[].on_hand` | integer |   |
| `data.inventory.updated_at` | string (date-time) | When its stock last moved. |
| `data.inventory.admin_url` | string | Where it is in the store's admin; empty in a sample. |

## Example {#example}

```json
{
  "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
  "topic": "inventory.updated",
  "version": 1,
  "store": {
    "slug": "your-store",
    "name": "Example"
  },
  "created_at": "2026-11-03T09:30:00Z",
  "data": {
    "inventory": {
      "variant_id": "a9012318-1d02-4424-9f91-3c4f58cc1841",
      "product_id": "26d431de-69c2-434c-9fdf-734d1d66534d",
      "sku": "SHIRT-M",
      "on_hand": 1,
      "available": 1,
      "locations": [
        {
          "location_id": "316a8630-7456-426c-a5fd-70b56f8cd80d",
          "on_hand": 1
        }
      ],
      "updated_at": "2026-11-03T09:30:00Z",
      "admin_url": "https://kaizenaflow.com/admin/your-store"
    }
  }
}
```

Every value is an example of its type, not a real store's.

## Signature and retries {#signature}

Each delivery carries the [headers](https://docs.kaizenaflow.com/reference/webhooks#headers) every topic has and is signed: [check the signature](https://docs.kaizenaflow.com/reference/webhooks#signature) before you trust it. One not answered with a 2xx status is [tried again](https://docs.kaizenaflow.com/reference/webhooks#retries).

---

https://docs.kaizenaflow.com/reference/webhooks/inventory-updated · made from the API contract 1.57
