---
title: "Product Event"
method: POST
path: "GoodEvent"
tags: ["Webhooks"]
---

# Product Event

`POST GoodEvent` (webhook)

Sent when a product is created, updated, or deleted. The `data` field matches the response from `GET /goods/{company_id}/{good_id}`.

## Payload

- object
  - `company_id` integer, required — Location ID where the event occurred.
  - `resource` 'good', required — Resource type.
  - `resource_id` integer, required — ID of the resource that was created, updated, or deleted.
  - `status` 'create' | 'update' | 'delete', required — Type of change that occurred.
  - `data` Good, required — Product data sent in webhook notifications. Matches the output of the product detail API.
    - `good_id` integer — Product ID.
    - `title` string
    - `value` string — Same as title.
    - `label` string — Title with article in parentheses.
    - `article` string
    - `category` string
    - `category_id` integer
    - `salon_id` integer
    - `cost` number
    - `unit_id` integer
    - `unit_short_title` string
    - `service_unit_id` integer
    - `service_unit_short_title` string
    - `actual_cost` number
    - `unit_actual_cost` number
    - `unit_actual_cost_format` string — Formatted price string.
    - `unit_equals` number
    - `barcode` string
    - `is_chain` boolean
    - `comment` string
    - `loyalty_abonement_type_id` integer
    - `loyalty_certificate_type_id` integer
    - `loyalty_certificate_type` object, nullable
    - `loyalty_allow_empty_code` 0 | 1
    - `loyalty_serial_number_limited` 0 | 1
    - `actual_amounts` object[]
    - `critical_amount` number, nullable
    - `desired_amount` number
    - `last_change_date` string, date-time
    - `is_goods_mark_enabled` boolean

## Acknowledgement `200`

Your server should return any 2xx status code to acknowledge receipt.

---

[API](https://skmtc.dev/alteg/apis/developer-tools.md) · [All operations](https://skmtc.dev/alteg/apis/developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alteg/developer-tools/revisions/c89b6494ffd2/schema)
