> For the complete documentation index, see [llms.txt](https://developers.retailys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.retailys.com/rest-api/events.md). Agents can also search and read this documentation through its [MCP server](https://developers.retailys.com/~gitbook/mcp).

# Events

### Creating a callback based on an event

{% hint style="info" %}
Endpoint \[POST] [/System/Events](#nacteni-vsech-udalosti) on the API you can easily try.
{% endhint %}

{% hint style="success" %}
You can find more information about the endpoint and its parameters in our API documentation
{% endhint %}

### Load all events according to parameters

{% hint style="info" %}
Endpoint \[GET] [/System/Events](https://api.retailys.com/v1#/System.Events/getEvents) on the API you can easily try.
{% endhint %}

{% hint style="success" %}
You can find more information about the endpoint and its parameters in our API documentation
{% endhint %}

### Event-based callback adjustment

{% hint style="info" %}
Endpoint \[PUT] [/System/Events](https://api.retailys.com/v1#/System.Events/putEvents) on the API you can easily try.
{% endhint %}

{% hint style="success" %}
You can find more information about the endpoint and its parameters in our API documentation
{% endhint %}

### Load a specific event

{% hint style="info" %}
Endpoint \[GET] [/System/Events/{id}](https://api.retailys.com/v1#/System.Events/getEvent) on the API you can easily try.
{% endhint %}

{% hint style="success" %}
You can find more information about the endpoint and its parameters in our API documentation
{% endhint %}

### Delete a specific event

{% hint style="info" %}
Endpoint \[DELETE] [/System/Events/{id}](https://api.retailys.com/v1#/System.Events/deleteEvent) on the API you can easily try.
{% endhint %}

{% hint style="success" %}
You can find more information about the endpoint and its parameters in our API documentation
{% endhint %}

## Acceptable events

<table><thead><tr><th>Event</th><th>Variables for parameters</th><th data-hidden></th></tr></thead><tbody><tr><td><strong>article-change-availability</strong></td><td><ul><li><strong>%articleId%</strong> - article ID</li><li><strong>%channelId%</strong> - channel ID</li></ul></td><td></td></tr><tr><td><strong>order-new</strong></td><td><ul><li><strong>%orderId%</strong> - order ID</li><li><strong>%channelId%</strong> - channel ID</li></ul></td><td></td></tr><tr><td><strong>order-change-status</strong></td><td><ul><li><strong>%orderId%</strong> - order ID</li><li><strong>%statusId%</strong> - order status ID</li><li><strong>%channelId%</strong> - channel ID</li></ul></td><td></td></tr><tr><td><strong>user-registred</strong></td><td><ul><li><strong>%userId%</strong> - user ID</li><li><strong>%login%</strong> - user login</li><li><strong>%link%</strong> - activation link</li><li><strong>%channelId%</strong> - channel ID</li></ul></td><td></td></tr><tr><td><strong>user-registration-confirmed</strong></td><td><ul><li><strong>%userId%</strong> - user ID</li><li><strong>%login%</strong> - user login</li><li><strong>%channelId%</strong> - channel ID</li></ul></td><td></td></tr><tr><td><strong>user-reset-password</strong></td><td><ul><li><strong>%userId%</strong> - user ID</li><li><strong>%login%</strong> - user login</li><li><strong>%link%</strong> - reset password link</li><li><strong>%channelId%</strong> - channel ID</li></ul></td><td></td></tr></tbody></table>
