קטלוג אירועי Webhook
דף זה מציג את כל אירועי ה-webhook שניתן להירשם אליהם ב-Wink. להוראות הגדרה, ראה את מדריך אינטגרציית Webhook או את דף ניהול ה-Webhooks.
איך להירשם
Section titled “איך להירשם”- עבור אל Applications > Webhooks בפורטל שלך.
- צור webhook ובחר את האירועים שברצונך לקבל — או השאר את הרשימה ריקה כדי לקבל את כל האירועים.
- Wink שולחת בקשת HTTP POST חתומה לנקודת הקצה שלך בכל פעם שהאירוע מתרחש. ראה אינטגרציית Webhook עבור המעטפה, הכותרות, אימות החתימה וניסיונות חוזרים.
כל סוגי האירועים
Section titled “כל סוגי האירועים”טבלה זו נוצרת מתוך קטלוג האירועים של הפלטפורמה בזמן הבנייה, ולכן תמיד תואמת את ה-API.
סוגי אירועים המסומנים כ-delivered מקשרים לדף ההתייחסות שלהם ב-Webhooks API, שבו מתועד גוף ה-JSON המדויק (WebhookEnvelope עם object ספציפי לאירוע), כותרות Wink-* ומדיניות הניסיון החוזר. סוגי אירועים שאינם נשלחים קיימים פנימית (תשלומים, ספר חשבונות, סנכרון מנהל ערוצים, …) אך אינם נשלחים כרגע למנויי ה-webhook.
מקבלי האירוע מציין מי מקבל את האירוע: SUPPLIER (המלון), AFFILIATE (משווק עם ערוץ מכירות פעיל למלון), AGENT (סוכנות הנסיעות שביצעה את ההזמנה) או SELF (הישות המנהלתית שהאירוע עוסק בה). כל מקבל מקבל את אותו מבנה תוכן; פרטים ספציפיים לתפקיד נמצאים מאחורי כתובת ה-URL links.self שבתוכן.
account.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
account.details.updated | The account's details changed. | לא נשלח | — |
account.managers.update | The account's manager list changed. | ✓ נשלח | SELF |
account.task.complete | An onboarding task was completed. | לא נשלח | — |
account.task.create | An onboarding task was created for the account. | לא נשלח | — |
account.task.remove | An onboarding task was removed. | לא נשלח | — |
account.task.tax_id.complete | The tax-id onboarding task was completed. | לא נשלח | — |
account.task.update | An onboarding task was updated. | לא נשלח | — |
account.under_review | The account was placed under review. | לא נשלח | — |
activity.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
activity.created | An activity was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
activity.deleted | An activity was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
activity.updated | An activity was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
add_on.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
add_on.created | An add-on was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
add_on.deleted | An add-on was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
add_on.updated | An add-on was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
booking.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
booking.cancelled | A booking was cancelled. | ✓ נשלח | AFFILIATE, AGENT, SUPPLIER |
booking.create | A booking was created (confirmed). | ✓ נשלח | AFFILIATE, AGENT, SUPPLIER |
booking.failed | A booking attempt failed. | ✓ נשלח | AFFILIATE, AGENT, SUPPLIER |
booking.funds.available | Funds for a booking became available for payout. | ✓ נשלח | AFFILIATE, AGENT, SUPPLIER |
booking.funds.ledgered | Funds for a booking were added to the ledger. | ✓ נשלח | AFFILIATE, AGENT, SUPPLIER |
booking.initialize.complete | A booking initialisation completed. | לא נשלח | — |
booking.initialize.request | A booking initialisation (checkout) was requested. | לא נשלח | — |
booking.payout.complete | A payout for a booking completed. | לא נשלח | — |
booking.payout.create | A payout for a booking was created. | לא נשלח | — |
booking.processing | A booking is being processed. | לא נשלח | — |
booking.refund.error | A booking was refunded because of a processing error. | לא נשלח | — |
booking.refund.full | A booking was fully refunded. | ✓ נשלח | AFFILIATE, AGENT, SUPPLIER |
booking.refund.partial | A booking was partially refunded. | ✓ נשלח | AFFILIATE, AGENT, SUPPLIER |
booking.refund.request | A refund was requested for a booking. | ✓ נשלח | AFFILIATE, AGENT, SUPPLIER |
booking.review.created | A guest submitted a review for a booking. | ✓ נשלח | SUPPLIER |
booking.review.responded | The hotel responded to a guest review. | ✓ נשלח | AFFILIATE, AGENT, SUPPLIER |
booking.sync.failed | A booking-to-channel-manager synchronisation failed. | לא נשלח | — |
booking.sync.run | A booking-to-channel-manager synchronisation run started. | לא נשלח | — |
channel-manager.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
channel-manager.update | A channel manager pushed an update. | לא נשלח | — |
channel-manager.update.availability | A channel manager pushed an availability update. | לא נשלח | — |
channel-manager.update.rate | A channel manager pushed a rate update. | לא נשלח | — |
email.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
email.correspondence | An email correspondence was recorded. | לא נשלח | — |
internal.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
internal.payment.failed | A payment failed (internal). | לא נשלח | — |
internal.payment.processing | A payment is processing (internal). | לא נשלח | — |
internal.payment.succeeded | A payment succeeded (internal). | לא נשלח | — |
ledger.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
ledger.entry.create | A ledger entry was created. | לא נשלח | — |
managing_entity.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
managing_entity.account_representative.updated | The account representative changed. | לא נשלח | — |
managing_entity.agent.email.notification | An email notification was sent to the account's agent. | לא נשלח | — |
managing_entity.agent.updated | The account's travel-agent details changed. | לא נשלח | — |
managing_entity.city.updated | The account's address or city changed. | ✓ נשלח | SELF |
managing_entity.created | A managing entity (account) was created. | ✓ נשלח | SELF |
managing_entity.deleted | The account was deleted. | ✓ נשלח | SELF |
managing_entity.information.updated | The account's general information changed. | ✓ נשלח | SELF |
managing_entity.logo.updated | The account's logo changed. | ✓ נשלח | SELF |
managing_entity.managed_by.updated | The entity managing this account on its behalf changed. | ✓ נשלח | SELF |
managing_entity.manager.accepted | An invited manager accepted the invitation. | לא נשלח | — |
managing_entity.manager.added | A manager was added to the account. | ✓ נשלח | SELF |
managing_entity.manager.email.notification | An email notification was sent to an account manager. | לא נשלח | — |
managing_entity.manager.invited | A manager was invited to the account. | ✓ נשלח | SELF |
managing_entity.manager.owner.set | The account owner was set. | ✓ נשלח | SELF |
managing_entity.manager.rejected | An invited manager rejected the invitation. | לא נשלח | — |
managing_entity.manager.removed | A manager was removed from the account. | ✓ נשלח | SELF |
managing_entity.name.updated | The account's display name changed. | לא נשלח | — |
managing_entity.place_id.updated | The account's Google Place ID changed. | ✓ נשלח | SELF |
managing_entity.profile_picture.updated | The account's profile picture changed. | ✓ נשלח | SELF |
managing_entity.status.updated | The account's platform status changed (e.g. approved, suspended). | ✓ נשלח | SELF |
managing_entity.subscription.changed | The account's platform subscription changed. | לא נשלח | — |
managing_entity.subscription.invoice.changed | The status of a subscription invoice changed. | ✓ נשלח | SELF |
managing_entity.subscription.provisioned | A platform subscription was provisioned for the account. | ✓ נשלח | SELF |
managing_entity.unique_id.updated | The account's short unique id changed. | ✓ נשלח | SELF |
managing_entity.url_name.updated | The account's URL name (slug) changed. | ✓ נשלח | SELF |
master_rate.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
master_rate.created | A master rate was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
master_rate.deleted | A master rate was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
master_rate.updated | A master rate was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
meeting_room.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
meeting_room.created | A meeting room was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
meeting_room.deleted | A meeting room was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
meeting_room.updated | A meeting room was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
payee.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
payee.create | A payee was created. | לא נשלח | — |
payee.create.failure | Creating a payee failed. | לא נשלח | — |
payee.update | A payee was updated. | לא נשלח | — |
payee.update.failure | Updating a payee failed. | לא נשלח | — |
perk.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
perk.deleted | A perk was deleted. | לא נשלח | — |
perk.updated | A perk was updated. | לא נשלח | — |
property.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
property.address.updated | A property's address changed. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.created | A property (hotel) was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.deleted | A property was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.geolocation.updated | A property's geolocation changed. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.name.updated | A property's name changed. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.policy.created | A property policy was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.policy.updated | A property policy changed. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.profile.updated | A property's profile changed. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.registered | A property completed registration. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.services.updated | A property's services/amenities changed. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.status.updated | A property's platform status changed. | ✓ נשלח | AFFILIATE, SUPPLIER |
property.updated | A property was updated. | לא נשלח | — |
property.welcome_text.updated | A property's welcome text changed. | ✓ נשלח | AFFILIATE, SUPPLIER |
rate_modifier.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
rate_modifier.updated | A rate modifier was updated. | לא נשלח | — |
rate_plan.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
rate_plan.created | A rate plan was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
rate_plan.deleted | A rate plan was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
rate_plan.updated | A rate plan was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
restaurant.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
restaurant.created | A restaurant was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
restaurant.deleted | A restaurant was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
restaurant.updated | A restaurant was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
room_type.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
room_type.created | A room type was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
room_type.deleted | A room type was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
room_type.updated | A room type was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
sales_channel.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
sales_channel.created | A sales-channel relationship (supplier ↔ reseller) was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
sales_channel.deleted | A sales-channel relationship was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
sales_channel.updated | A sales-channel relationship was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
spa.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
spa.created | A spa was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
spa.deleted | A spa was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
spa.updated | A spa was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
special_rate.*
| אירוע | תיאור | נשלח | מקבלים |
|---|---|---|---|
special_rate.created | A promotion (special rate) was created. | ✓ נשלח | AFFILIATE, SUPPLIER |
special_rate.deleted | A promotion was deleted. | ✓ נשלח | AFFILIATE, SUPPLIER |
special_rate.updated | A promotion was updated. | ✓ נשלח | AFFILIATE, SUPPLIER |
קריאה נוספת
Section titled “קריאה נוספת”- מדריך אינטגרציית Webhook — שלבי הגדרה והמלצות.
- Webhooks — ניהול הרשמות ה-webhook שלך.
- Applications — ניהול אישורי API.
- Build on Wink — סקירת הפלטפורמה למפתחים.
