Saltar al contingut

Catàleg d'Esdeveniments Webhook

Aquesta pàgina llista cada esdeveniment webhook al qual et pots subscriure a Wink. Per a instruccions de configuració, consulta la Guia d’Integració Webhook o la pàgina de gestió de Webhooks.

  1. Navega a Aplicacions > Webhooks al teu portal.
  2. Crea un webhook i selecciona els esdeveniments que vols rebre — o deixa la llista buida per rebre tots els esdeveniments.
  3. Wink envia un HTTP POST signat al teu endpoint cada vegada que l’esdeveniment ocorre. Consulta Integració Webhook per a l’estructura, capçaleres, verificació de signatura i reintents.

Aquesta taula es genera a partir del catàleg d’esdeveniments de la plataforma en temps de compilació, així que sempre coincideix amb l’API. Els tipus d’esdeveniments marcats com a entregats enllacen a la seva pàgina de referència a la API de Webhooks, que documenta el cos JSON exacte (WebhookEnvelope amb un objecte específic de l’esdeveniment), les capçaleres Wink-* i la política de reintents. Els tipus d’esdeveniments que no s’entreguen existeixen internament (pagaments, llibre major, sincronització del gestor de canals, …) però actualment no s’envien als subscriptors webhook.

Destinataris indica qui rep un esdeveniment: SUPPLIER (l’hotel), AFFILIATE (un revenedor amb un canal de vendes actiu amb l’hotel), AGENT (l’agència de viatges que va fer la reserva) o SELF (l’entitat gestora sobre la qual tracta l’esdeveniment). Cada destinatari rep la mateixa forma de càrrega útil; el detall específic per rol està darrere de l’URL links.self de la càrrega útil.

account.*

EsdevenimentDescripcióEntregatDestinataris
account.details.updatedThe account's details changed.no entregat—
account.managers.updateThe account's manager list changed.✓ entregatSELF
account.task.completeAn onboarding task was completed.no entregat—
account.task.createAn onboarding task was created for the account.no entregat—
account.task.removeAn onboarding task was removed.no entregat—
account.task.tax_id.completeThe tax-id onboarding task was completed.no entregat—
account.task.updateAn onboarding task was updated.no entregat—
account.under_reviewThe account was placed under review.no entregat—

activity.*

EsdevenimentDescripcióEntregatDestinataris
activity.createdAn activity was created.✓ entregatAFFILIATE, SUPPLIER
activity.deletedAn activity was deleted.✓ entregatAFFILIATE, SUPPLIER
activity.updatedAn activity was updated.✓ entregatAFFILIATE, SUPPLIER

add_on.*

EsdevenimentDescripcióEntregatDestinataris
add_on.createdAn add-on was created.✓ entregatAFFILIATE, SUPPLIER
add_on.deletedAn add-on was deleted.✓ entregatAFFILIATE, SUPPLIER
add_on.updatedAn add-on was updated.✓ entregatAFFILIATE, SUPPLIER

booking.*

EsdevenimentDescripcióEntregatDestinataris
booking.cancelledA booking was cancelled.✓ entregatAFFILIATE, AGENT, SUPPLIER
booking.createA booking was created (confirmed).✓ entregatAFFILIATE, AGENT, SUPPLIER
booking.failedA booking attempt failed.✓ entregatAFFILIATE, AGENT, SUPPLIER
booking.funds.availableFunds for a booking became available for payout.✓ entregatAFFILIATE, AGENT, SUPPLIER
booking.funds.ledgeredFunds for a booking were added to the ledger.✓ entregatAFFILIATE, AGENT, SUPPLIER
booking.initialize.completeA booking initialisation completed.no entregat—
booking.initialize.requestA booking initialisation (checkout) was requested.no entregat—
booking.payout.completeA payout for a booking completed.no entregat—
booking.payout.createA payout for a booking was created.no entregat—
booking.processingA booking is being processed.no entregat—
booking.refund.errorA booking was refunded because of a processing error.no entregat—
booking.refund.fullA booking was fully refunded.✓ entregatAFFILIATE, AGENT, SUPPLIER
booking.refund.partialA booking was partially refunded.✓ entregatAFFILIATE, AGENT, SUPPLIER
booking.refund.requestA refund was requested for a booking.✓ entregatAFFILIATE, AGENT, SUPPLIER
booking.review.createdA guest submitted a review for a booking.✓ entregatSUPPLIER
booking.review.respondedThe hotel responded to a guest review.✓ entregatAFFILIATE, AGENT, SUPPLIER
booking.sync.failedA booking-to-channel-manager synchronisation failed.no entregat—
booking.sync.runA booking-to-channel-manager synchronisation run started.no entregat—

channel-manager.*

EsdevenimentDescripcióEntregatDestinataris
channel-manager.updateA channel manager pushed an update.no entregat—
channel-manager.update.availabilityA channel manager pushed an availability update.no entregat—
channel-manager.update.rateA channel manager pushed a rate update.no entregat—

email.*

EsdevenimentDescripcióEntregatDestinataris
email.correspondenceAn email correspondence was recorded.no entregat—

internal.*

EsdevenimentDescripcióEntregatDestinataris
internal.payment.failedA payment failed (internal).no entregat—
internal.payment.processingA payment is processing (internal).no entregat—
internal.payment.succeededA payment succeeded (internal).no entregat—

ledger.*

EsdevenimentDescripcióEntregatDestinataris
ledger.entry.createA ledger entry was created.no entregat—

managing_entity.*

EsdevenimentDescripcióEntregatDestinataris
managing_entity.account_representative.updatedThe account representative changed.no entregat—
managing_entity.agent.email.notificationAn email notification was sent to the account's agent.no entregat—
managing_entity.agent.updatedThe account's travel-agent details changed.no entregat—
managing_entity.city.updatedThe account's address or city changed.✓ entregatSELF
managing_entity.createdA managing entity (account) was created.✓ entregatSELF
managing_entity.deletedThe account was deleted.✓ entregatSELF
managing_entity.information.updatedThe account's general information changed.✓ entregatSELF
managing_entity.logo.updatedThe account's logo changed.✓ entregatSELF
managing_entity.managed_by.updatedThe entity managing this account on its behalf changed.✓ entregatSELF
managing_entity.manager.acceptedAn invited manager accepted the invitation.no entregat—
managing_entity.manager.addedA manager was added to the account.✓ entregatSELF
managing_entity.manager.email.notificationAn email notification was sent to an account manager.no entregat—
managing_entity.manager.invitedA manager was invited to the account.✓ entregatSELF
managing_entity.manager.owner.setThe account owner was set.✓ entregatSELF
managing_entity.manager.rejectedAn invited manager rejected the invitation.no entregat—
managing_entity.manager.removedA manager was removed from the account.✓ entregatSELF
managing_entity.name.updatedThe account's display name changed.no entregat—
managing_entity.place_id.updatedThe account's Google Place ID changed.✓ entregatSELF
managing_entity.profile_picture.updatedThe account's profile picture changed.✓ entregatSELF
managing_entity.status.updatedThe account's platform status changed (e.g. approved, suspended).✓ entregatSELF
managing_entity.subscription.changedThe account's platform subscription changed.no entregat—
managing_entity.subscription.invoice.changedThe status of a subscription invoice changed.✓ entregatSELF
managing_entity.subscription.provisionedA platform subscription was provisioned for the account.✓ entregatSELF
managing_entity.unique_id.updatedThe account's short unique id changed.✓ entregatSELF
managing_entity.url_name.updatedThe account's URL name (slug) changed.✓ entregatSELF

master_rate.*

EsdevenimentDescripcióEntregatDestinataris
master_rate.createdA master rate was created.✓ entregatAFFILIATE, SUPPLIER
master_rate.deletedA master rate was deleted.✓ entregatAFFILIATE, SUPPLIER
master_rate.updatedA master rate was updated.✓ entregatAFFILIATE, SUPPLIER

meeting_room.*

EsdevenimentDescripcióEntregatDestinataris
meeting_room.createdA meeting room was created.✓ entregatAFFILIATE, SUPPLIER
meeting_room.deletedA meeting room was deleted.✓ entregatAFFILIATE, SUPPLIER
meeting_room.updatedA meeting room was updated.✓ entregatAFFILIATE, SUPPLIER

payee.*

EsdevenimentDescripcióEntregatDestinataris
payee.createA payee was created.no entregat—
payee.create.failureCreating a payee failed.no entregat—
payee.updateA payee was updated.no entregat—
payee.update.failureUpdating a payee failed.no entregat—

perk.*

EsdevenimentDescripcióEntregatDestinataris
perk.deletedA perk was deleted.no entregat—
perk.updatedA perk was updated.no entregat—

property.*

EsdevenimentDescripcióEntregatDestinataris
property.address.updatedA property's address changed.✓ entregatAFFILIATE, SUPPLIER
property.createdA property (hotel) was created.✓ entregatAFFILIATE, SUPPLIER
property.deletedA property was deleted.✓ entregatAFFILIATE, SUPPLIER
property.geolocation.updatedA property's geolocation changed.✓ entregatAFFILIATE, SUPPLIER
property.name.updatedA property's name changed.✓ entregatAFFILIATE, SUPPLIER
property.policy.createdA property policy was created.✓ entregatAFFILIATE, SUPPLIER
property.policy.updatedA property policy changed.✓ entregatAFFILIATE, SUPPLIER
property.profile.updatedA property's profile changed.✓ entregatAFFILIATE, SUPPLIER
property.registeredA property completed registration.✓ entregatAFFILIATE, SUPPLIER
property.services.updatedA property's services/amenities changed.✓ entregatAFFILIATE, SUPPLIER
property.status.updatedA property's platform status changed.✓ entregatAFFILIATE, SUPPLIER
property.updatedA property was updated.no entregat—
property.welcome_text.updatedA property's welcome text changed.✓ entregatAFFILIATE, SUPPLIER

rate_modifier.*

EsdevenimentDescripcióEntregatDestinataris
rate_modifier.updatedA rate modifier was updated.no entregat—

rate_plan.*

EsdevenimentDescripcióEntregatDestinataris
rate_plan.createdA rate plan was created.✓ entregatAFFILIATE, SUPPLIER
rate_plan.deletedA rate plan was deleted.✓ entregatAFFILIATE, SUPPLIER
rate_plan.updatedA rate plan was updated.✓ entregatAFFILIATE, SUPPLIER

restaurant.*

EsdevenimentDescripcióEntregatDestinataris
restaurant.createdA restaurant was created.✓ entregatAFFILIATE, SUPPLIER
restaurant.deletedA restaurant was deleted.✓ entregatAFFILIATE, SUPPLIER
restaurant.updatedA restaurant was updated.✓ entregatAFFILIATE, SUPPLIER

room_type.*

EsdevenimentDescripcióEntregatDestinataris
room_type.createdA room type was created.✓ entregatAFFILIATE, SUPPLIER
room_type.deletedA room type was deleted.✓ entregatAFFILIATE, SUPPLIER
room_type.updatedA room type was updated.✓ entregatAFFILIATE, SUPPLIER

sales_channel.*

EsdevenimentDescripcióEntregatDestinataris
sales_channel.createdA sales-channel relationship (supplier ↔ reseller) was created.✓ entregatAFFILIATE, SUPPLIER
sales_channel.deletedA sales-channel relationship was deleted.✓ entregatAFFILIATE, SUPPLIER
sales_channel.updatedA sales-channel relationship was updated.✓ entregatAFFILIATE, SUPPLIER

spa.*

EsdevenimentDescripcióEntregatDestinataris
spa.createdA spa was created.✓ entregatAFFILIATE, SUPPLIER
spa.deletedA spa was deleted.✓ entregatAFFILIATE, SUPPLIER
spa.updatedA spa was updated.✓ entregatAFFILIATE, SUPPLIER

special_rate.*

EsdevenimentDescripcióEntregatDestinataris
special_rate.createdA promotion (special rate) was created.✓ entregatAFFILIATE, SUPPLIER
special_rate.deletedA promotion was deleted.✓ entregatAFFILIATE, SUPPLIER
special_rate.updatedA promotion was updated.✓ entregatAFFILIATE, SUPPLIER