Skip to content

v0.1.0-alpha.29

Pre-release
Pre-release

Choose a tag to compare

@sandervanhooft sandervanhooft released this 11 Sep 22:17
36a0f33

Added

  • WebhookEndpoint->enabledEvents (string[]) plus optional enabledEvents on webhookEndpoints->create()/update(): omit to subscribe to every event available at registration, [] for a dormant endpoint, or a list to set/replace the subscription. New Vatly\API\Types\WebhookSubscriptionEventName constant class (31 public event names; webhook.setup is never subscribable).

Changed

  • A storefront may now register up to five webhook endpoints per mode (URLs unique within storefront + mode; a duplicate or sixth returns 422), replacing the previous one-per-mode limit.