Product webhooks (beta)
This page lists the webhooks Shoptet sends when a product, a product variant or a variant price changes – for every action in the administration and every API endpoint that changes products. How to register webhooks and handle the notifications is described on the Webhooks page.
Beta
Product webhooks are in beta. If you run into any issues or have questions, contact us at api@shoptet.cz.
Events
The tables below use these abbreviations:
The full list of events with their descriptions is in the API reference.
Identifier in the event instance
- Product events –
eventInstancecontains the productguid. - Variant and variant price events –
eventInstancecontains the productguidand the variantcode, separated by a pipe character (|). - Mass events –
eventInstancecontains a JSON-serialized list of these identifiers.
Single and mass events
- Each individual
PATCHrequest generates exactly one webhook. - A batch operation generates one mass webhook with the data of the whole operation.
- Imports send mass webhooks in batches of approximately 300 changes each, so that a single webhook does not grow too large.
In the tables, a comma separates events that are all sent, and a slash separates alternatives – typically the single event for one item and the mass event for more items.