Article webhooks
Types of triggers
Webhooks can be triggered on the following events related to articles.
Article is created
This webhook will fire when an article is created.
Article is updated
This webhook will fire when an article is updated (e.g. when the barcode of an article is changed).
Article is deleted
This webhook will fire when an article is deleted.
Payload
Example
When the webhook is triggered, the following payload will be delivered to the webhook endpoint.
{
"webhookArticlesId": 0,
"webhookEventId": 0,
"system": "string",
"timestamp": "2023-01-01T12:00:00.0000000",
"articleSystemId": 0,
"articleNumber": "string",
"goodsOwnerId": 0,
"path": "string",
"webhookTemplate": "string"
}
Specification
WebhookArticlePayload | ||
---|---|---|
webhookArticlesId | int | |
webhookEventId | int | Internal ID for this particular event. |
system | string | The name of the Ongoing WMS instance where the event happened. |
timestamp | string | When the event happened. |
articleSystemId | int | |
articleNumber | string | |
goodsOwnerId | int | The Ongoing WMS system id for the goods owner. |
path | string | REST API path to the resource. |
webhookTemplate | string | The name of the webhook type. |