Details
Feature available starting from v1.7.0 webhook manager.
These events guarantee that the reference id exists in the hook data. In addition to the id the hooks will contain data for the reference object itself for insert and update calls.
Structure
For these types the webhook will also contain data for the object under the data parameter (value of null for others).
{
"id": "6284e24920ab9a8b363344dd",
"hmac": "49bd805ee40c169780f7d0ce68a9d89ac29de9fdfc876d1d2ba3d6802b16asd",
"clientCode": "{Client Code}",
"table": "wm_customer",
"action": "update",
"eventCount": 1,
"items": [
{
"rowId": 18651,
"timestamp": "2022-05-18 15:10:46",
"data": {
"id": 18651,
...
}
}
]
}
Details
Supported actions: insert, update and delete. Delete hooks will not contain the objects data. Data structure in the hook will match that of the record from the corresponding api call.
Resource | Table | Applications handling records | Data structure source |
---|---|---|---|
Campaigns | wm_campaign | Erply API, Classic BO and Berlin BO | |
Inventory registration | wm_inventory_registration | Erply API, Classic BO and Berlin BO | https://learn-api.erply.com/requests/getinventoryregistrations |
Inventory Write-off | wm_inventory_writeoff | Erply API, Classic BO and Berlin BO | |
Inventory Transfer | wm_inventory_transfer | Erply API, Classic BO and Berlin BO | |
Purchase Document | wm_purchase_document | Erply API, Classic BO and Berlin BO | |
Sales Document | wm_sales_document | Erply API, Classic BO and Berlin BO | |
Customers | wm_customer | Erply API, Classic BO and Berlin BO | |
Products | wm_product | Erply API, Classic BO and Berlin BO, PIM API | |
Pricelists | wm_pricelist | Erply API, Classic BO and Berlin BO | |
Payments | wm_payment | Erply API, Classic BO and Berlin BO | https://learn-api.erply.com/requests/getpayments |