Skip to content

Katalog Webhook Događaja

Ova stranica prikazuje sve webhook događaje na koje se možete pretplatiti na Wink-u. Za uputstva o podešavanju, pogledajte Vodič za integraciju webhook-a ili stranicu za upravljanje webhook-ovima.

  1. Idite na Applications > Webhooks u vašem portalu.
  2. Kreirajte webhook i izaberite događaje koje želite da primate — ili ostavite listu praznom da biste primali sve događaje.
  3. Wink šalje potpisani HTTP POST na vaš endpoint svaki put kada se dogodi događaj. Pogledajte Webhook integraciju za informacije o omotu, zaglavljima, verifikaciji potpisa i ponovnim pokušajima.

Ova tabela je generisana iz kataloga događaja platforme u vreme izgradnje, tako da uvek odgovara API-ju. Vrste događaja označene kao isporučene povezuju se sa njihovom referentnom stranicom u Webhooks API, koja dokumentuje tačan JSON sadržaj (WebhookEnvelope sa događajem-specifičnim object), Wink-* zaglavlja i politiku ponovnih pokušaja. Vrste događaja koje nisu isporučene postoje interno (uplata, knjigovodstvo, sinhronizacija sa channel-manager-om, …) ali trenutno se ne šalju pretplatnicima webhook-a.

Primaoci označavaju ko prima događaj: SUPPLIER (hotel), AFFILIATE (preprodavac sa aktivnim prodajnim kanalom ka hotelu), AGENT (putnička agencija koja je napravila rezervaciju) ili SELF (entitet koji upravlja događajem). Svaki primalac prima isti oblik sadržaja; detalji specifični za ulogu nalaze se iza URL-a links.self u sadržaju.

account.*

DogađajOpisIsporučenoPrimaoci
account.details.updatedThe account's details changed.nije isporučeno
account.managers.updateThe account's manager list changed.✓ isporučenoSELF
account.task.completeAn onboarding task was completed.nije isporučeno
account.task.createAn onboarding task was created for the account.nije isporučeno
account.task.removeAn onboarding task was removed.nije isporučeno
account.task.tax_id.completeThe tax-id onboarding task was completed.nije isporučeno
account.task.updateAn onboarding task was updated.nije isporučeno
account.under_reviewThe account was placed under review.nije isporučeno

activity.*

DogađajOpisIsporučenoPrimaoci
activity.createdAn activity was created.✓ isporučenoAFFILIATE, SUPPLIER
activity.deletedAn activity was deleted.✓ isporučenoAFFILIATE, SUPPLIER
activity.updatedAn activity was updated.✓ isporučenoAFFILIATE, SUPPLIER

add_on.*

DogađajOpisIsporučenoPrimaoci
add_on.createdAn add-on was created.✓ isporučenoAFFILIATE, SUPPLIER
add_on.deletedAn add-on was deleted.✓ isporučenoAFFILIATE, SUPPLIER
add_on.updatedAn add-on was updated.✓ isporučenoAFFILIATE, SUPPLIER

booking.*

DogađajOpisIsporučenoPrimaoci
booking.cancelledA booking was cancelled.✓ isporučenoAFFILIATE, AGENT, SUPPLIER
booking.createA booking was created (confirmed).✓ isporučenoAFFILIATE, AGENT, SUPPLIER
booking.failedA booking attempt failed.✓ isporučenoAFFILIATE, AGENT, SUPPLIER
booking.funds.availableFunds for a booking became available for payout.✓ isporučenoAFFILIATE, AGENT, SUPPLIER
booking.funds.ledgeredFunds for a booking were added to the ledger.✓ isporučenoAFFILIATE, AGENT, SUPPLIER
booking.initialize.completeA booking initialisation completed.nije isporučeno
booking.initialize.requestA booking initialisation (checkout) was requested.nije isporučeno
booking.payout.completeA payout for a booking completed.nije isporučeno
booking.payout.createA payout for a booking was created.nije isporučeno
booking.processingA booking is being processed.nije isporučeno
booking.refund.errorA booking was refunded because of a processing error.nije isporučeno
booking.refund.fullA booking was fully refunded.✓ isporučenoAFFILIATE, AGENT, SUPPLIER
booking.refund.partialA booking was partially refunded.✓ isporučenoAFFILIATE, AGENT, SUPPLIER
booking.refund.requestA refund was requested for a booking.✓ isporučenoAFFILIATE, AGENT, SUPPLIER
booking.review.createdA guest submitted a review for a booking.✓ isporučenoSUPPLIER
booking.review.respondedThe hotel responded to a guest review.✓ isporučenoAFFILIATE, AGENT, SUPPLIER
booking.sync.failedA booking-to-channel-manager synchronisation failed.nije isporučeno
booking.sync.runA booking-to-channel-manager synchronisation run started.nije isporučeno

channel-manager.*

DogađajOpisIsporučenoPrimaoci
channel-manager.updateA channel manager pushed an update.nije isporučeno
channel-manager.update.availabilityA channel manager pushed an availability update.nije isporučeno
channel-manager.update.rateA channel manager pushed a rate update.nije isporučeno

email.*

DogađajOpisIsporučenoPrimaoci
email.correspondenceAn email correspondence was recorded.nije isporučeno

internal.*

DogađajOpisIsporučenoPrimaoci
internal.payment.failedA payment failed (internal).nije isporučeno
internal.payment.processingA payment is processing (internal).nije isporučeno
internal.payment.succeededA payment succeeded (internal).nije isporučeno

ledger.*

DogađajOpisIsporučenoPrimaoci
ledger.entry.createA ledger entry was created.nije isporučeno

managing_entity.*

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

master_rate.*

DogađajOpisIsporučenoPrimaoci
master_rate.createdA master rate was created.✓ isporučenoAFFILIATE, SUPPLIER
master_rate.deletedA master rate was deleted.✓ isporučenoAFFILIATE, SUPPLIER
master_rate.updatedA master rate was updated.✓ isporučenoAFFILIATE, SUPPLIER

meeting_room.*

DogađajOpisIsporučenoPrimaoci
meeting_room.createdA meeting room was created.✓ isporučenoAFFILIATE, SUPPLIER
meeting_room.deletedA meeting room was deleted.✓ isporučenoAFFILIATE, SUPPLIER
meeting_room.updatedA meeting room was updated.✓ isporučenoAFFILIATE, SUPPLIER

payee.*

DogađajOpisIsporučenoPrimaoci
payee.createA payee was created.nije isporučeno
payee.create.failureCreating a payee failed.nije isporučeno
payee.updateA payee was updated.nije isporučeno
payee.update.failureUpdating a payee failed.nije isporučeno

perk.*

DogađajOpisIsporučenoPrimaoci
perk.deletedA perk was deleted.nije isporučeno
perk.updatedA perk was updated.nije isporučeno

property.*

DogađajOpisIsporučenoPrimaoci
property.address.updatedA property's address changed.✓ isporučenoAFFILIATE, SUPPLIER
property.createdA property (hotel) was created.✓ isporučenoAFFILIATE, SUPPLIER
property.deletedA property was deleted.✓ isporučenoAFFILIATE, SUPPLIER
property.geolocation.updatedA property's geolocation changed.✓ isporučenoAFFILIATE, SUPPLIER
property.name.updatedA property's name changed.✓ isporučenoAFFILIATE, SUPPLIER
property.policy.createdA property policy was created.✓ isporučenoAFFILIATE, SUPPLIER
property.policy.updatedA property policy changed.✓ isporučenoAFFILIATE, SUPPLIER
property.profile.updatedA property's profile changed.✓ isporučenoAFFILIATE, SUPPLIER
property.registeredA property completed registration.✓ isporučenoAFFILIATE, SUPPLIER
property.services.updatedA property's services/amenities changed.✓ isporučenoAFFILIATE, SUPPLIER
property.status.updatedA property's platform status changed.✓ isporučenoAFFILIATE, SUPPLIER
property.updatedA property was updated.nije isporučeno
property.welcome_text.updatedA property's welcome text changed.✓ isporučenoAFFILIATE, SUPPLIER

rate_modifier.*

DogađajOpisIsporučenoPrimaoci
rate_modifier.updatedA rate modifier was updated.nije isporučeno

rate_plan.*

DogađajOpisIsporučenoPrimaoci
rate_plan.createdA rate plan was created.✓ isporučenoAFFILIATE, SUPPLIER
rate_plan.deletedA rate plan was deleted.✓ isporučenoAFFILIATE, SUPPLIER
rate_plan.updatedA rate plan was updated.✓ isporučenoAFFILIATE, SUPPLIER

restaurant.*

DogađajOpisIsporučenoPrimaoci
restaurant.createdA restaurant was created.✓ isporučenoAFFILIATE, SUPPLIER
restaurant.deletedA restaurant was deleted.✓ isporučenoAFFILIATE, SUPPLIER
restaurant.updatedA restaurant was updated.✓ isporučenoAFFILIATE, SUPPLIER

room_type.*

DogađajOpisIsporučenoPrimaoci
room_type.createdA room type was created.✓ isporučenoAFFILIATE, SUPPLIER
room_type.deletedA room type was deleted.✓ isporučenoAFFILIATE, SUPPLIER
room_type.updatedA room type was updated.✓ isporučenoAFFILIATE, SUPPLIER

sales_channel.*

DogađajOpisIsporučenoPrimaoci
sales_channel.createdA sales-channel relationship (supplier ↔ reseller) was created.✓ isporučenoAFFILIATE, SUPPLIER
sales_channel.deletedA sales-channel relationship was deleted.✓ isporučenoAFFILIATE, SUPPLIER
sales_channel.updatedA sales-channel relationship was updated.✓ isporučenoAFFILIATE, SUPPLIER

spa.*

DogađajOpisIsporučenoPrimaoci
spa.createdA spa was created.✓ isporučenoAFFILIATE, SUPPLIER
spa.deletedA spa was deleted.✓ isporučenoAFFILIATE, SUPPLIER
spa.updatedA spa was updated.✓ isporučenoAFFILIATE, SUPPLIER

special_rate.*

DogađajOpisIsporučenoPrimaoci
special_rate.createdA promotion (special rate) was created.✓ isporučenoAFFILIATE, SUPPLIER
special_rate.deletedA promotion was deleted.✓ isporučenoAFFILIATE, SUPPLIER
special_rate.updatedA promotion was updated.✓ isporučenoAFFILIATE, SUPPLIER