This endpoint is used to create new webhook subscriptions using the information provided within the request body. Subscriptions will not be active unless the active
field is set to true
.
X-Flyt-API-Key
: the API key you received from JETConnect. This API key is the same API key used in menus. You should not share this API key with anyone outside your organization.
Content-Type
: application/json
scope
(string)
"order"
"restaurant"
"brand"
orderId
(string) - required if scope
is set to order
"3f4e0b3e-853d-4788-964a-2a31a169a9ad"
storeId
(string) - required if scope
is set to restaurant
"103539"
callbackURL
(string)