ClassesBigCommerceContainerWebhooks

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

ConstantVisibilityTypeValue
WEBHOOKSpublicstring’webhooks.webhooks’
WEBHOOKS_STATUSpublicstring’webhooks.webhooks_status’
WEBHOOKS_LISTENERpublicstring’webhooks.listener_webhook’
CHANNELS_HANDLE_WEBHOOKpublicstring’webhooks.channels_handle_webhook’
PRODUCT_UPDATE_WEBHOOKpublicstring’webhooks.product_update_webhook’
PRODUCT_DELETE_WEBHOOKpublicstring’webhooks.product_delete_webhook’
PRODUCT_CREATE_WEBHOOKpublicstring’webhooks.product_create_webhook’
PRODUCT_INVENTORY_UPDATE_WEBHOOKpublicstring’webhooks.inventory_update_webhook’
CUSTOMER_CREATE_WEBHOOKpublicstring’webhooks.customer_create_webhook’
CUSTOMER_UPDATE_WEBHOOKpublicstring’webhooks.customer_update_webhook’
CUSTOMER_DELETE_WEBHOOKpublicstring’webhooks.customer_delete_webhook’
PRODUCT_UPDATERpublicstring’webhooks.cron.product_updater’
PRODUCT_CREATORpublicstring’webhooks.cron.product_creator’
CHANNEL_PRODUCT_ASSIGNEDpublicstring’webhooks.product.channels_assign’
CHANNEL_PRODUCT_UNASSIGNEDpublicstring’webhooks.product.channels_unassign’
CHANNEL_UPDATERpublicstring’webhooks.product.channels_updater’
CHANNEL_CURRENCY_UPDATEDpublicstring’webhooks.channels.currency_updated’
CUSTOMER_CREATORpublicstring’webhooks.cron.customer_creator’
CUSTOMER_UPDATERpublicstring’webhooks.cron.customer_updater’
CUSTOMER_DELETERpublicstring’webhooks.cron.customer_deleter’
CUSTOMER_CHANNEL_ACCESS_UPDATERpublicstring’webhooks.cron.customer_channel_access_updater’
CUSTOMER_CHANNEL_ACCESSpublicstring’webhooks.cron.customer_channel_access’
CHECKOUT_COMPLETE_WEBHOOKpublicstring’webhooks.checkout_complete’
WEBHOOKS_VERSIONINGpublicstring’webhooks.version’
WEBHOOKS_CRON_TASKSpublicstring’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:

ParameterTypeDescription
$container\Pimple\ContainerThe Pimple container instance.


Automatically generated on 2025-01-21