Currently the webhook system for Catalogs handles two types of events:

  • sync-catalogs
  • pos-catalog

Event sync-catalogs


Sent to know that a Catalog has been modified.

APP SCOPE
ChannelPosRidersLoyalty
✔️✖️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "sync-catalogs",
  "storeId": "string",
  "data": {}
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
dataEmpty object

Event pos-catalog


Sent to know that the "Pos Catalog" associated with the indicated storeId is needed to update the products.

APP SCOPE
ChannelPosRiderLoyalty
✖️✔️✖️✖️
WEBHOOK FORMAT
{
  "eventType": "pos-catalog",
  "storeId": "string",
  "data": {
    "posConfig": {
      "prop1": "value1",
      "prop2": "value2",
      ...
    }
  }
}
FIELDS SPECIFICATION
FieldDescription
eventTypeThe type of event
storeIdThe storeId where the event occurred
data.posConfigStore configuration parameters for connection to pos