Products

Create a product

Changed on

Creates a new product.

post/v3/products

Request

  • Base URL
    https://api.cryptlex.com
  • URL
    https://api.cryptlex.com/v3/products
  • Auth
    HTTP bearer

Request body

namestring required

Name of the product.

Letters (a-z, A-Z), numbers, underscores, hyphens, dots and spaces. Cannot start or end with a space.

displayNamestring required

Display name of the product, shown in the customer portal.

Any printable characters, including letters from any script, punctuation and emoji. Cannot contain line breaks, tabs, other control characters, invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.

descriptionstring required

Description for the product.

Any printable characters and line breaks. Cannot contain control characters other than tab, carriage return and line feed, nor invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.

iconUrlstring uri nullable

URL of the product icon.

licenseTemplateIdstring required

Unique identifier for the license template.

licensePolicyIdstring nullable

Use 'licenseTemplateId' instead.

trialPolicyIdstring nullable

Unique identifier for the trial policy.

Response

Created

idstring required
createdAtstring date-time required
updatedAtstring date-time required
namestring required
displayNamestring required
descriptionstring required
iconUrlstring nullable
publicKeystring required
totalLicensesinteger required
totalTrialActivationsinteger required
totalReleasesinteger required
totalProductVersionsinteger required
totalFeatureFlagsinteger required
automatedEmailsstring[] required
licenseTemplateIdstring required
trialPolicyIdstring required

Changes

    • breaking

      removed the required property from the response with the status

    • warning

      removed the request property

    • info

      the // request property's maxLength was increased from 4096 to 8192