> ## Documentation Index
> Fetch the complete documentation index at: https://developer.runa.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Product update

> Product update events are triggered when there is an update to the catalog.

<Card title="How to implement real-time product updates" href="/features/realtime-product-updates" icon="graduation-cap" horizontal arrow>
  Webhooks work differently to the API endpoints. Take a read of our guide to
  implement real-time product updates in your system.
</Card>

An event is triggered when there is an update to a product in the catalog. If multiple products are updated at once, an event is triggered for each product.

Use the `product_code` to identify the product that was updated, then refer to the `old_state` and `new_state` to determine the changes. A `timestamp` is provided to indicate when the update occurred.

<Info>
  Due to the nature of webhooks you should not rely on the order of the events.
  You should store the `timestamp` and discard any events that are older than
  the last event you received.
</Info>


## OpenAPI

````yaml reference/2024-02-05/openapi.json WEBHOOK product.update
openapi: 3.1.1
info:
  title: Runa
  version: '2.0'
  description: The public Runa API
  license:
    name: Ⓒ Runa
    url: https://runa.io/terms-of-use
  contact:
    name: Runa
    url: https://runa.io
    email: info@runa.io
servers:
  - url: https://playground.runa.io/v2
    description: Playground
  - url: https://api.runa.io/v2
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: utility
    description: Utility endpoints.
  - name: balance
    description: Operations related to account balance.
  - name: products
    description: Operations related to products.
  - name: orders
    description: Operations related to ordering and orders.
externalDocs:
  url: https://developer.runa.com/reference
  description: Runa API Reference
paths: {}
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        Your API key. See the [API key](/getting-started/api-key) page on
        details of how to generate and store your keys.

````