Skip to content

product.created

A product was created: when BIRP sends this event, what its data holds and an example of its body.

Version v1.2, updated

On this page

BIRP sends product.created to the webhook endpoints that receive it. This page says when it is sent and what data holds, with an example of the body.

When it is sent

A product was created in BIRP or through the API.

Data

data holds a product, with the fields of Products.

Example

Body of product.createdJSON
{
  "api_version": "v1",
  "data": {
    "archived_at": null,
    "barcode": "2000000000015",
    "category_id": "00000000-0000-4000-8000-000000000021",
    "created_at": "2026-09-01T07:30:00.000Z",
    "currency": "MDL",
    "external_ids": [
      {
        "external_id": "1042",
        "source": "woocommerce"
      }
    ],
    "id": "00000000-0000-4000-8000-000000000011",
    "image_url": null,
    "kind": "goods",
    "name": "Wheat flour 25 kg",
    "price": "12.50",
    "sku": "SP-FLOUR-25",
    "status": "active",
    "unit": "kg",
    "updated_at": "2026-09-28T14:05:12.417Z"
  },
  "id": "00000000-0000-4000-8000-000000000100",
  "occurred_at": "2026-09-28T14:05:12.417Z",
  "type": "product.created"
}
  • webhook-events
  • products
  • verify-webhook-signatures