Skip to content

Product Event
Webhook

Request

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

Bodyapplication/jsonrequired
company_idintegerrequired

Location ID where the event occurred.

resourcestringrequired

Resource type.

Value:"good"
resource_idintegerrequired

ID of the resource that was created, updated, or deleted.

statusstringrequired

Type of change that occurred.

Enum:"create""update""delete"
dataobject(Webhook Good Data)required

Product data sent in webhook notifications. Matches the output of the product detail API.

Payload
{ "company_id": 123456, "resource": "good", "resource_id": 701, "status": "create", "data": { "good_id": 701, "title": "Shampoo Professional", "cost": 25, "article": "SH-001", "barcode": "4607001234567", "actual_cost": 25, "category": "Hair Care" } }

Responses

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