createPartner

Description

This function lets you create new partner(s) under the partner you logged into

Parameters

Parameter name Type Description Possible values Example
output String The requested returned output type, The default is json
  • json - Default
  • xml
  • text
  • debug
xml
partner_name String
Required
The partner name
  • Regular Expression: \p{L}\d\s-()[]&#_".\/, Length between 3 to 20
JetApps
firstname String
Required
The partner first name
  • Regular Expression: \p{L}\s- Length between 2 to 20
John
lastname String
Required
The partner last name
  • Regular Expression: \p{L}\s- Length between 2 to 20
Doe
email String
Required
The partner email address to login to the JetLicense panel
  • Email Address
john@mydomain.com
password String
Required
The partner password to login to the JetLicense panel
  • Length between 6 to 20
V4@B*5Us17sK
products Array The product IDs you want to add to the partner.
  • Product IDs
[5887980319a464498902b0cd, 5887980319a46449891730cd]

Returns

Return Type Description Possible values Example
partner_id String The Partner ID
  • Partner ID
5888bf6319a464498902b0ce

Example

https://api.jetlicense.com/?action=createPartner&partner_name=JetApps&firstname=John&lastname=Doe&email=john@mydomain.com&password=V4@B*5Us17sK&products[]=5887980319a464498902b0cd&products[]=5887980319a46449891730cd