API Reference
Log In
API Reference

Use notifications to be warned when a resource is modified.

A notification about any resource alteration need an endpoint that you must provided us.

It will provide you with every piece of information that you need to retrieve the resource in his new state.

Notification format

{
  "resource_id":"1",
  "type":"PRODUCT_CREATED",
  "store_id":1,
  "resource_url":"https://env.tillersystems.com/api/products/1"
}

Notification type

We provide notification for these resources:

ResourceTypeDescription
PRODUCTPRODUCT_CREATEDHappen once a product is created
PRODUCTPRODUCT_UPDATEDHappen once a product is updated
PRODUCTPRODUCT_DELETEDHappen once a product is deleted
PRODUCTOPTION_CREATEDHappen once an option is created
PRODUCTOPTION_UPDATEDHappen once an option is updated
PRODUCTOPTION_DELETEDHappen once an option is deleted
MENUMENU_CREATEDHappen once a menu is created
MENUMENU_UPDATEDHappen once a menu is updated
MENUMENU_DELETEDHappen once a menu is deleted
MENUDELIVERY_MENU_CREATEDHappen once a delivery menu is created
MENUDELIVERY_MENU_UPDATEDHappen once a delivery menu is updated
MENUDELIVERY_MENU_DELETEDHappen once a delivery menu is deleted
MEDIAMEDIA_CREATEDHappen once a media is created
MEDIAMEDIA_UPDATEDHappen once a media is updated
CATEGORYCATEGORY_CREATEDHappen once a category is created
CATEGORYCATEGORY_UPDATEDHappen once a category is updated
CATEGORYCATEGORY_DELETEDHappen once a category is deleted
TAXTAX_CREATEDHappen once a tax is created
TAXTAX_UPDATEDHappen once a tax is updated
TAXTAX_DELETEDHappen once a tax is deleted
PRODUCT_IN_MENUPRODUCT_IN_MENU_CREATEDHappen once a productInMenu is created
PRODUCT_IN_MENUPRODUCT_IN_MENU_UPDATEDHappen once a productInMenu is updated
PRODUCT_IN_MENUPRODUCT_IN_MENU_DELETEDHappen once a productInMenu is deleted
PRODUCT_IN_MENUPRODUCT_IN_DELIVERY_MENU_CREATEDHappen once a productInMenu of a delivery menu is created
PRODUCT_IN_MENUPRODUCT_IN_DELIVERY_MENU_UPDATEDHappen once a productInMenu of a delivery menu is updated
PRODUCT_IN_MENUPRODUCT_IN_DELIVERY_MENU_DELETEDHappen once a productInMenu of a delivery menu is deleted