Gets called when POS is being registered in Deliverect. For instance when a new customer adds a location you will receive the register event. After this event it should be possible to sync products and insert orders into the POS. Webhook payload contains information such as: * Deliverect account id (accountId) * Deliverect location id (locationId) * External location id provided by the POS (externalLocationId) We always expect a JSON result which contains the endpoints to: * Sync products from the POS to Deliverect (syncProductsURL) * Insert order from Deliverect to the POS (ordersWebhookURL) * Sync tables from the POS to Deliverect (syncTablesURL) * Sync floors from the POS to Deliverect (syncFloorsURL) If an endpoint is empty or not included in this response we will not use it.
{
"accountId": "606d8489fcd8eddf51b475a3",
"locationId": "606d8489fcd8eddf13b100a6",
"locationName": "Space Bar",
"externalLocationId": "606b030b8d7beb2aa83e0564"
}
{
"syncFloorsURL": "https://integrator.com/syncFloorsURL",
"syncTablesURL": "https://integrator.com/syncTablesURL",
"syncProductsURL": "https://integrator.com/syncProductsURL",
"ordersWebhookURL": "https://integrator.com/ordersWebhookURL",
"operationsWebhookURL": "https://integrator.com/operationsURL",
"storeStatusWebhookURL": "https://integrator.com/storeStatusURL"
}