# product.created

A product was created, from the merchant dashboard or by an app.

Scope: `products:read`

## Payload `data`

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | integer | no | Product ID. |
| `name` | string | no | Name. |
| `product_kind` | digital \| service \| physical | no | Product kind. |
| `status` | active \| inactive | no | Visible in the store or hidden. |
| `price` | string | no | Price in SAR with two decimal places. |
| `old_price` | string \| null | no | Price before discount. |
| `price_state` | required \| ready | no | required until a price is set. |
| `category` | string \| null | no | Category name. |
| `image` | string \| null | no | Main image. |
| `slug` | string \| null | no | URL slug. |
| `resource_version` | integer | no | Product version; higher is newer. |


## Example delivery

```http
POST /larm/webhooks HTTP/1.1
Host: app.example.com
Content-Type: application/json
x-larm-event: product.created
x-larm-event-id: 0b7c2f8e-1d3a-4c5b-9e6f-7a8b9c0d1e2f
x-larm-delivery: 2b9f6c1e-8d4a-4f30-a7e5-c1d9b8a7f604
x-larm-timestamp: 1792060982
x-larm-secret-generation: 1
x-larm-payload-version: 1
x-larm-signature: v1=5d41402abc4b2a76b9719d911017c592e1c7b0d3f6a8e2b4c9d0f1a2b3c4d5e6
```

```json
{
  "app_id": "1f2e3d4c-5b6a-4978-8695-a4b3c2d1e0f9",
  "data": {
    "id": 311,
    "name": "Top-up card 100 SAR",
    "description": "…",
    "short_desc": "Delivered instantly after payment",
    "image": "https://cdn.example/p/311.webp",
    "images": [],
    "image_alt": "Top-up card",
    "category": "Top-up cards",
    "slug": "charge-100",
    "keywords": [],
    "supported_devices": null,
    "seo_title": null,
    "seo_description": null,
    "og_image": null,
    "product_kind": "digital",
    "status": "active",
    "price": "90.00",
    "old_price": null,
    "price_state": "ready",
    "resource_version": 0
  },
  "id": "0b7c2f8e-1d3a-4c5b-9e6f-7a8b9c0d1e2f",
  "installation_generation": 1,
  "installation_id": "c7e4a1f2-6b3d-4e8a-9c05-1d2f3a4b5c6d",
  "occurred_at": "2026-10-15T09:13:02Z",
  "payload_version": 1,
  "resource": {
    "type": "product",
    "id": "311",
    "version": 1
  },
  "store_id": "5b1d7a62-0c4e-4f38-9a51-2e7b3c9d8f10",
  "test": false,
  "type": "product.created"
}
```
