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 membership was set to pending cancellation 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 Gravityforms Logo for our integration Gravity Forms, 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 product 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 donation was revoked 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 was created 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 plugin was deactivated 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 form was submitted via The Divi Logo for our WP Webhooks integration Divi, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a new referral 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 course access was granted 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 product was restored 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 n8n HTTP request was received via The n8n Logo for our WP Webhooks integration n8n, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user was registered 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 user completed a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a contact status was updated 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 customer was deleted 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 profile 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 an order was created via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a subscription status was updated via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, create a license via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a note was added to a ticket 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 an import was processed via The WP All Import Logo for our WP Webhooks integration WP All Import, 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.