Product_Update_Webhook::trigger_action( array $request )

Summary

Fires when a product has been updated in the BigCommerce store.


Parameters

$request

(array) (Required)


Source

File: src/BigCommerce/Webhooks/Product_Update_Webhook.php

	public function trigger_action( $request ){
		/**
		 * Fires when a product has been updated in the BigCommerce store.
		 *
		 * @param int $product_id BigCommerce product ID.
		 */
		do_action( 'bigcommerce/webhooks/product_updated', ['product_id' => intval( $request['data']['id'] )] );
	}


User Contributed Notes

You must log in before being able to contribute a note or feedback.