Create license action

This action lets you create a license via the Easy Digital Downloads integration. Use it to automate you daily work ans save time and resources.

How to create a license

This section aims to help you getting started on how to create a license via Easy Digital Downloads. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Create license" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Create license action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
download_id *

(Integer) The id of the download you want to associate with the license. Please see the description for further details.

payment_id *

(Integer) The id of the payment you want to associate with the license. Please see the description for further details.

price_id

(String) In case you work with multiple pricing options (variations) within the same product, please set the pricing id here. Please see the description for further details.

cart_index

(Integer) The numerical index in the cart items array of the product the license key is associated with. Please see the description for further details.

existing_license_ids

(String) A JSON formatted string of existing license ids. Please see the description for further information.

parent_license_id

(Integer) Set the parent id of this license in case you want to use this license as a child license. Please see the description for further details.

activation_limit

(Integer) A number representing the amount of possible activations at the same time. set it to 0 for unlimited activations. Please see the description for further details.

license_length

(Integer) The length of the license key.

expiration_date

(String) In case you want to customize the expiration date, you can define the date here. Otherwise it will be calculated based on the added product. Please see the description for further details.

is_lifetime

(String) Set this value to "yes" to mark the license as a lifetime license. Default: no

manage_sites

(String) A JSON formatted string containing one or multiple site urls. Please see the description for further details.

logs

(String) A JSON formatted string containing one or multiple logs. Please see the description for further details.

license_meta

(String) A JSON formatted string containing one or multiple meta values. Please see the description for further details.

license_action

(String) Do additional, native actions using the license. Please see the description for further details.

do_action

Advanced: Register a custom action after WP Webhooks fires this webhook. More info is within 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 )

Connection examples

Get inspired on how to use the "Create license" action within our Easy Digital Downloads integrations. Down below you will find various examples with our other integrations.
When a tag was added to a contact via The Groundhogg Logo for our WP Webhooks integration Groundhogg, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a course was completed via The LearnDash Logo for our WP Webhooks integration LearnDash, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a tag was removed from a contact via The Groundhogg Logo for our WP Webhooks integration Groundhogg, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The JetEngine Logo for our WP Webhooks integration JetEngine, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a post was updated via The WordPress Logo for our integration WordPress, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a contact was added to a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Elementor Logo for our WP Webhooks integration Elementor, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a subscription status has changed via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a group access was removed via The LearnDash Logo for our WP Webhooks integration LearnDash, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a membership was created via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Formidable Logo for our WP Webhooks integration Formidable Forms, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a course access expired via The LearnDash Logo for our WP Webhooks integration LearnDash, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a coupon was updated via The Woocommerce Logo for our integration WooCommerce, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a new payout was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a post was deleted via The WordPress Logo for our integration WordPress, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a donation was preapproved via The GiveWP Logo for our WP Webhooks integration GiveWP, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user password was recovered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a ticket was closed via The Fluent Support Logo for our WP Webhooks integration Fluent Support, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a cover photo was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Fluent Forms Logo for our WP Webhooks integration Fluent Forms, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.

More available Easy Digital Downloads endpoints

Discover more of the available endpoints used for the Easy Digital Downloads integration.
To learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.