Skip to content

product.restored

A product was restored: 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.restored 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

An archived product was made active again.

Data

data holds a product, with the fields of Products.

Example

Body of product.restoredJSON
{
  "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-000000000103",
  "occurred_at": "2026-09-28T14:05:12.417Z",
  "type": "product.restored"
}
  • webhook-events
  • products
  • verify-webhook-signatures