Webhooks
Provider for handling BigCommerce webhooks.
This class sets up webhook-related constants, services, and handlers to process webhook requests, manage their lifecycle, and integrate with BigCommerce APIs.
- Full name:
\BigCommerce\Container\Webhooks
- Parent class:
Provider
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
WEBHOOKS | public | string | ’webhooks.webhooks’ |
WEBHOOKS_STATUS | public | string | ’webhooks.webhooks_status’ |
WEBHOOKS_LISTENER | public | string | ’webhooks.listener_webhook’ |
CHANNELS_HANDLE_WEBHOOK | public | string | ’webhooks.channels_handle_webhook’ |
PRODUCT_UPDATE_WEBHOOK | public | string | ’webhooks.product_update_webhook’ |
PRODUCT_DELETE_WEBHOOK | public | string | ’webhooks.product_delete_webhook’ |
PRODUCT_CREATE_WEBHOOK | public | string | ’webhooks.product_create_webhook’ |
PRODUCT_INVENTORY_UPDATE_WEBHOOK | public | string | ’webhooks.inventory_update_webhook’ |
CUSTOMER_CREATE_WEBHOOK | public | string | ’webhooks.customer_create_webhook’ |
CUSTOMER_UPDATE_WEBHOOK | public | string | ’webhooks.customer_update_webhook’ |
CUSTOMER_DELETE_WEBHOOK | public | string | ’webhooks.customer_delete_webhook’ |
PRODUCT_UPDATER | public | string | ’webhooks.cron.product_updater’ |
PRODUCT_CREATOR | public | string | ’webhooks.cron.product_creator’ |
CHANNEL_PRODUCT_ASSIGNED | public | string | ’webhooks.product.channels_assign’ |
CHANNEL_PRODUCT_UNASSIGNED | public | string | ’webhooks.product.channels_unassign’ |
CHANNEL_UPDATER | public | string | ’webhooks.product.channels_updater’ |
CHANNEL_CURRENCY_UPDATED | public | string | ’webhooks.channels.currency_updated’ |
CUSTOMER_CREATOR | public | string | ’webhooks.cron.customer_creator’ |
CUSTOMER_UPDATER | public | string | ’webhooks.cron.customer_updater’ |
CUSTOMER_DELETER | public | string | ’webhooks.cron.customer_deleter’ |
CUSTOMER_CHANNEL_ACCESS_UPDATER | public | string | ’webhooks.cron.customer_channel_access_updater’ |
CUSTOMER_CHANNEL_ACCESS | public | string | ’webhooks.cron.customer_channel_access’ |
CHECKOUT_COMPLETE_WEBHOOK | public | string | ’webhooks.checkout_complete’ |
WEBHOOKS_VERSIONING | public | string | ’webhooks.version’ |
WEBHOOKS_CRON_TASKS | public | string | ’webhooks.cron_tasks’ |
Methods
register
Registers services related to webhooks in the container.
public register(\Pimple\Container $container): void
Sets up webhook declarations, their statuses, and actions for processing and managing webhook events.
Parameters:
Parameter | Type | Description |
---|---|---|
$container | \Pimple\Container | The Pimple container instance. |
Automatically generated on 2025-01-21