Documentation

Carte en cours du clonage...

Merci d'attendre la fin du clonage avant de modifier quoi que ce soit.

WEBHOOK SYNC EVENTS

Learn about webhooks and how events are triggered for your account

Webhooks allow you to automate custom backend actions in response to the transitions that happen in a order & payment flows.

Events overview

Events are our way of letting you know when something interesting happens in your account. When an event occurs, we create a new Event object. If you registered a webhook endpoint to receive that event, we send it to your endpoint as part of a POST request.

Example events

The following events that can be sent via webhook.


{
  "object": "opening_hours",
  "created": "2025-03-14T00:13:09+00:00",
  "event": "create", // create, update and delete
  "param": [],
  "data": {
      "id": 363,
      "shop": {
          "id": "21",
          "name": "CHEZ GEGE",
      },
      "startingTime": "1970-01-01T12:00:00+00:00",
      "endingTime": "1970-01-01T13:00:00+00:00",
      "day": 6,
      "enabled": false,
      "startingTimeApi": 12:00:00,
      "endingTimeApi": 15:00:00,
    }
  }


{
  "object": "category",
  "created": "2025-05-12T13:35:40+00:00",
  "event": "update", // create, update and delete
  "param": [],
  "data": {
      "id": 1281,
      "imageFile": null,
      "parentId": null,
      "parent": null,
      "translations": {
          "name": "Boissons",
          "description": "Boissons",
          "locale": {
            "code": "fr_FR",
            "name": "Français",
          },
      },
      "visible": "false",
      "enabled": "false",
      "externalId": 6121212,
      "imageUrl": null,
      "position": 0,
    }
  }

Event object structure

object

The concerned object with this event. we currently managing the following objects:

  • Opening hour

created

The date and time when this event occured.

event

  • New object => create
    • The create status signifies that new object has beed created.
  • Modifying the object => update
    • The update status signifies that the object has beed updated.
  • Removing the object => delete
    • The delete status signifies that the object has beed deleted.

data

The new data for this object.

Loading…
Loading the web debug toolbar…
Attempt #