Editor - Webhooks
This view manages the webhooks of a business. opens with the function showWebhooks()
in the view theme/editor/business.html
Main Modell
deal.webhooks
curWebhook
curWebhook.hook
: hook used for this webhook must be listed manually:users_register
orders_register
orders_status_updated
orders_update_driver
orders_pending
orders_completed
orders_rejected
orders_rejected_business
orders_rejected_driver
orders_accepted_business
orders_accepted_driver
orders_pickup_completed_driver
orders_pickup_failed_driver
orders_delivery_completed_driver
orders_delivery_failed_driver
curWebhook.url: URL para el el webhook
Utility Functions
add(curWebhook)
: add a new webhookremove(webhook)
: Remove a webhookupdate(webhook)
: Update a webhookhideBusinessWebhooks()
: closes this modal
Example of base theme
hideBusinessWebhooks()
curWebhook.hook
Hook list
curWebhook.url
add(curWebhook)
Updated almost 6 years ago