# Product event

Sent to your registered URL when a subscribed **product** event occurs
(`PRODUCT_CREATE`, `PRODUCT_UPDATE`).
The product identifier is in `data.products_id`.

Endpoint: POST productEvent
Version: 1.6.0
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer opaque

## Request fields (application/json):

  - `timestamp` (string, required)
    When the event occurred (ISO 8601).
    Example: 2026-09-11T14:30:00+02:00

  - `origine` (string, required)
    Event type a webhook can subscribe to. `CALENDAR_*` events are only
available when the `MODULE_IMMO_AGENDA` module is enabled.
    Enum: "CUSTOMER_CREATE", "CUSTOMER_UPDATE", "PRODUCT_CREATE", "PRODUCT_UPDATE", "CALENDAR_CREATE", "CALENDAR_UPDATE", "CALENDAR_DELETE"

  - `client_id` (integer, required)
    Identifier of your API client (the one that registered the webhook).
    Example: 12

  - `site_ids` (array, required)
    Sites the affected resource belongs to.
    Example: [3]

  - `data` (object, required)
    Identifies the affected resource and carries event-specific details.
| Event family | Identifier key |
|  --- | --- |
| Customer | `customers_id` |
| Product | `products_id` |
| Calendar | `event_id` |

Additional fields are described on each event. When the webhook uses
the `zapier` format, `data` also embeds the full customer or product.
    Example: {"customers_id":789}

## Response 200:

  - `200` (unknown)
    Event acknowledged.

## Response 422:

  - `422` (unknown)
    Resource intentionally rejected by the receiver (not retried).

