Connect Woocommerce to LearnDash
All integration endpoints
Get started
Requirements
To take advantage of these integrations, please make sure the following plugins/services are installed and activated.
Documentation
For your convenience, we prepared you various links that help you getting started with using WP Webhooks.
Scenarios


Learn more
Woocommerce
WooCommerce is an open-source e-commerce plugin for WordPress. It is designed for small to large-sized online merchants using WordPress. While WooCommerce webhooks are, by default, limited, WP Webhooks aims to fill that gap.
LearnDash
LearnDash is a WordPress plugin that enables website owners to create and sell online courses on their WordPress websites. It includes course content dripping, course forums, and support for multiple payment gateways. The plugin is suitable for educators, trainers, and course creators who want to create interactive, engaging learning experiences for their students.
Course completed
This webhook fires as soon as a course was completed within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected courses
Select only the courses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Complete courses
Complete one or multiple course for a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to set the course to completed.
- course_ids
Add the course IDs of the courses you want to set to complete. This argument accepts a comma-separated string of course IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Lesson completed
This webhook fires as soon as a lesson was completed within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected courses
Select only the courses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Add coupon emails
Add one or multiple emails to a coupon within Woocommerce.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- coupon_id
Set this argument to the id of the coupon.
- emails
Add the emails you want to add to the user. This argument accepts a comma-separated string, as well as a JSON construct.
- replace
Set this to yes to replace the existing emails. If set to no, the emails are appended to the existing ones. Default: no
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Order created
This webhook fires as soon as an order was created within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
- Trigger on selected statuses
Select only the statuses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Add coupon user IDs
Add one or multiple emails via user IDs to a coupon within Woocommerce.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- coupon_id
Set this argument to the id of the coupon.
- user_ids
Add the user_ids you want to add to the user. This argument accepts a comma-separated string, as well as a JSON construct.
- replace
Set this to yes to replace the existing user_ids. If set to no, the user_ids are appended to the existing ones. Default: no
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Quiz completed
This webhook fires as soon as a quiz was completed within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on passed quizzes only
Check this if you want to fire the trigger only when the quizz was passed.
- Trigger on selected courses
Select only the courses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
- Trigger on minimum percentage
Set a minimum percentage that should be achieved to trigger this webhook URL. E.g.: 75. This will trigger the webhook if the percentage is equal or higher.
- Trigger on maximum percentage
Set a maximum percentage that should be achieved to trigger this webhook URL. E.g.: 30. This will trigger the webhook if the percentage is equal or lower.
- Trigger on minimum score
Set a minimum score that should be achieved to trigger this webhook URL. E.g.: 75. This will trigger the webhook if the score is equal or higher.
- Trigger on maximum score
Set a maximum score that should be achieved to trigger this webhook URL. E.g.: 30. This will trigger the webhook if the score is equal or lower.
Adjust group leader
Add, replace, or remove a user as a group leader within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to set as a group leader.
- group_ids
Add the groups you want to set the user as a leader. This argument accepts a comma-separated string of group IDs.
- group_action
The action you want to perfrom for adjustment. Possible values: add, replace, remove.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Quiz failed
This webhook fires as soon as a quiz was failed within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected courses
Select only the courses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
- Trigger on minimum percentage
Set a minimum percentage that should be achieved to trigger this webhook URL. E.g.: 75. This will trigger the webhook if the percentage is equal or higher.
- Trigger on maximum percentage
Set a maximum percentage that should be achieved to trigger this webhook URL. E.g.: 30. This will trigger the webhook if the percentage is equal or lower.
- Trigger on minimum score
Set a minimum score that should be achieved to trigger this webhook URL. E.g.: 75. This will trigger the webhook if the score is equal or higher.
- Trigger on maximum score
Set a maximum score that should be achieved to trigger this webhook URL. E.g.: 30. This will trigger the webhook if the score is equal or lower.
Complete lessons
Complete one or multiple lessons of a course for a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to set the lesson to completed.
- course_id
The id of the course you want to set the lesson to completed.
- lesson_ids
Add the lesson IDs of the lessons you want to set to complete. This argument accepts the value "all" to set all lessons as incomplete, a single lesson id, or a comma-separated string of lesson IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Topic completed
This webhook fires as soon as a topic was completed within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected courses
Select only the courses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Complete topics
Complete one or multiple topics of a course for a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to set the topics to complete.
- course_id
The id of the course you want to set the topics to completed.
- lesson_id
The id of a lesson you want to complete the topics for.
- topic_ids
Add the topic IDs of the topics you want to set to complete. This argument accepts the value "all" to set all lessons as complete, a single topic id, or a comma-separated string of topic IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Assignment uploaded
This webhook fires as soon as an assignment was uploaded within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected courses
Select only the courses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
- Trigger on selected lessons
Select only the lessons you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Create Woocommerce order
Create a Woocommerce order on your website using webhooks.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- billing_address
The billing address of the order. Please see the description for more information.
- shipping_address
The shipping address of the order. Please see the description for more information.
- shipping_lines
This argument allows you to add certain shipping lines to your order. Please see the description for further details.
- add_products
The slist with the product ids and the quantity. More information within the description.
- calculate_totals
Set it to "yes" in case you want to calculate the order total. Default "no".
- payment_complete
Set it to "yes" in case you want to set the payment to complete. You can also set a transation id instead of "yes".
- legacy_set_total
Set the legacy total amount and type. More information within the description.
- order_meta
You can also set custom order meta. This meta will be saved as custom values within the post meta table. More information within the description.
- order_status
The order status you want to use for the order. Please check the description for more information.
- customer_id
The id or the email of the customer for the order.
- customer_note
Some text that will be displayed as the customer note.
- order_parent
The id of a parent order.
- created_via
In identifier where the order was created from. E.g. "wp-webhooks".
- cart_hash
A cart hash value.
- order_id
A custom order id (Please note that this value may NOT be the order id of the order you currently create).
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Coupon created
This webhook fires as soon as a coupon was created within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Create coupon
Create a coupon within Woocommerce.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- coupon_code
The code that your customers can use during checkout.
- type
The coupon type.
- amount
The discount amount of the coupon code, based on the selected type.
- individual_use
Set this to yes if the coupon cannot be used in conjunction with other coupons. Default: no
- product_ids
Add IDs of products in case you want to apply the coupon code only to specific products. This argument accepts a comma-separated string, as well as a JSON construct.
- exclude_product_ids
Add IDs of products that you want to exclude from the coupon code. This argument accepts a comma-separated string, as well as a JSON construct.
- usage_limit
Set a number if you want to limit the coupon to be used a limited amount of times only. Default: 0 (unlimited)
- usage_limit_per_user
Set a number to define whether a user can use the coupon code multiple times. Default: 0 (unlimited)
- limit_usage_to_x_items
Define a maximum number of products this coupon can be applied to for each cart. Default: 0 (unlimited)
- usage_count
A number that shows how often the code has been already used.
- expiry_date
A date when the coupon code expires. Leave empty to never expire it.
- enable_free_shipping
Set this to yes to enable free shipping. Default: no
- product_category_ids
Add the category IDs you want to add to the coupon. This argument accepts a comma-separated string, as well as a JSON construct.
- exclude_product_category_ids
Add the category IDs you want to exclude to the coupon. This argument accepts a comma-separated string, as well as a JSON construct.
- exclude_sale_items
Set this to yes to prevent the coupon being applied to items on sale. Default: no
- minimum_amount
Set a minimum amount that need to be reached before the coupon can be applied.
- maximum_amount
Set a maximum amount of which the coupon can be applied to.
- coupon_emails
Add one or multiple emails to the coupon. Only the users with those emails can redeem the code. This argument accepts a comma-separated string, as well as a JSON construct.
- description
Add a coupon author. This field accepts a user id.
- replace
Set this to yes to replace the existing user_ids. If set to no, the user_ids are appended to the existing ones. Default: no
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Coupon deleted
This webhook fires as soon as a coupon was deleted within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Create group
Create a group within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to create the group with and set as group leader.
- group_name
The name of the group.
- course_ids
Add the course IDs of the courses you want to connect to the group. This argument accepts a comma-separated string of course IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Coupon restored
This webhook fires as soon as a coupon was restored within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Delete course progress
Delete course progress from a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to remove the course progress for.
- course_ids
Add the course IDs of the courses you want to remove the progress for. This argument accepts the value "all" to remove the progress of all courses of the user, a single course id, or a comma-separated string of course IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Coupon updated
This webhook fires as soon as a coupon was updated within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Delete quiz progress
Delete quiz progress from a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to remove the quiz progress for.
- quiz_ids
Add the quiz IDs of the quizzes you want to remove the progress for. This argument accepts a single quiz id, or a comma-separated string of quiz IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Course access expired
This webhook fires as soon as a course access expired for a user within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected courses
Select only the courses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Get group leaders
Get all group leaders for one or multiple groups within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- group_ids
Add the group IDs of the groups you want to fetch the group leaders for. This argument accepts a comma-separated string of group IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Course access granted
This webhook fires as soon as a course access was granted for a user within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected courses
Select only the courses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Grant course access
Grant one or multiple course access for a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to grant course access.
- course_ids
Add the courses you want to grant access to the user. This argument accepts a comma-separated string.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Course access removed
This webhook fires as soon as a course access was removed for a user within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected courses
Select only the courses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Grant group access
Grant group access for a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to grant the group access.
- group_id
Add the group ID of the group you want to grant access to.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Customer created
This webhook fires as soon as a customer was created within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Mark lesson incomplete
Mark one or multiple lessons of a course as incomplete for a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to mark the lesson as incomplete.
- course_id
The id of the course you want to set the lesson to incomplete.
- lesson_ids
Add the lesson IDs of the lessons you want to mark as incomplete. This argument accepts the value "all", a single lesson id, or a comma-separated string of course IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Customer deleted
This webhook fires as soon as a customer was deleted within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Mark topics incomplete
Mark one or multiple topics of a course as incomplete for a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to set the topics to incomplete.
- course_id
The id of the course you want to set the topics to incompleted.
- lesson_id
The id of a lesson you want mark the topics as incomplete.
- topic_ids
Add the topic IDs of the topics you want to set to incomplete. This argument accepts the value "all" to set all lessons as incomplete, a single topic id, or a comma-separated string of topic IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Customer updated
This webhook fires as soon as a customer was updated within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Remove course access
Remove one or multiple course access for a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to remove the course access from.
- course_ids
Add the course IDs of the courses you want to remove the access for. This argument accepts the value "all" to remove access to all courses of the user, a single course id, or a comma-separated string of course IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Group access granted
This webhook fires as soon as a group access was granted for a user within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected groups
Select only the groups you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Remove group access
Remove group access for a user within Learndash.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- user_id
The user id (or user email) of the user you want to remove the group access from.
- group_ids
Add the group IDs of the groups you want to remove the access for. This argument accepts the value "all" to remove access to all groups of the user, a single group id, or a comma-separated string of group IDs.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Group access removed
This webhook fires as soon as a group access was removed for a user within LearnDash.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected groups
Select only the groups you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Woocommerce API call
The full power of the woocommerce API, packed within a webhook.
Arguments
Down below you will find a list of all available arguments you can use for this specific endpoint. Each of those arguments can be set within the webhook request.
- consumer_key
Your API consumer key. Please see the description for more information.
- consumer_secret
Your API consumer secret. Please see the description for more information.
- api_base
The action you want to use. E.g. products/1234 - Please see the description for more information.
- api_method
The method of the api call. E.g. get - Please see the description for more information.
- api_data
Additional data you want to send to the api call. Please see the description for more information.
- api_options
Extra arguments. Please see the description for more information.
- do_action
Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in the description.
- wpwh_call_action
(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )
Order deleted
This webhook fires as soon as an order was deleted within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Order restored
This webhook fires as soon as an order was restored within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
- Trigger on selected statuses
Select only the statuses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Order updated
This webhook fires as soon as an order was updated within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
- Trigger on selected statuses
Select only the statuses you want to fire the trigger on. You can also choose multiple ones. If none is selected, all are triggered.
Product added to cart
This webhook fires as soon as a product was added to the cart within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected products
Select only the products you want to fire the trigger on. If none is selected, all are triggered.
Product created
This webhook fires as soon as a product was created within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Product deleted
This webhook fires as soon as a product was deleted within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Product restored
This webhook fires as soon as a product was restored within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Product review approved
This webhook fires as soon as a product has been approved within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected products
Select only the products you want to fire the trigger on. If none is selected, all are triggered.
Product updated
This webhook fires as soon as a product was updated within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Set user id
Set the numeric ID of a user that has permission to view the Woocommerce REST API. By default we try to locate the ID of the first admin user.
- Set API version
Select the Woocommerce API version you want to use for this request. By default, we use wp_api_v2
- Set secret
Set a custom secret that gets validated by Woocommerce, just as you know it from the default Woocommerce webhooks.
Product viewed
This webhook fires as soon as a product was viewed within Woocommerce.
Customizations
Down below you will find a list of possible customizations you have available within our plugin. You can use them to fire the trigger only on certain criterias.
- Trigger on selected products
Select only the products you want to fire the trigger on. If none is selected, all are triggered.
User password updated
This webhook fires after a user password is updated within a WooCommerce account page.