post https://your_server_endpoint/your_section_webhook_uri
Event Types
Section webhooks can be of any of the following event types:
Event Type | Description |
---|---|
section.create | A new section got created. |
section.update | a critical information related to a section changed which requires a partner data re-fetch |
section.destroy | An old section got destroyed and can no longer be user. |
Changes That Trigger Webhook Updates
T-Gate Webhooks are only meant to be sent in case of critical updates which would affect the creation of orders.
Below is a list of all Critical updates that triggers the section.update
webhook.
Entity Change | Description |
---|---|
is_force_closed | Force closure of a section (ON/OFF) |
force_closed_under_branches | Force closure of a section under a specific branch (ON/OFF) |
Additional AttributesChanges on other attributes such as name, image_url, descriptions...etc do not trigger webhooks and it's the responsibility of a partner to check for updates on them.