Currently the webhook system for Catalogs handles two types of events:
sync-catalogs
pos-catalog
Sent to know that a Catalog has been modified.
Channel | Pos | Riders | Loyalty |
---|
✔️ | ✖️ | ✖️ | ✖️ |
{
"eventType": "sync-catalogs",
"storeId": "string",
"data": {}
}
Field | Description |
---|
eventType | The type of event |
storeId | The storeId where the event occurred |
data | Empty object |
Sent to know that the "Pos Catalog" associated with the indicated storeId is needed to update the products.
Channel | Pos | Rider | Loyalty |
---|
✖️ | ✔️ | ✖️ | ✖️ |
{
"eventType": "pos-catalog",
"storeId": "string",
"data": {
"posConfig": {
"prop1": "value1",
"prop2": "value2",
...
}
}
}
Field | Description |
---|
eventType | The type of event |
storeId | The storeId where the event occurred |
data.posConfig | Store configuration parameters for connection to pos |