createPartner
Description
This action will create new partner under the partner you logged in to
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
Parameters
Parameter | Type | Description | Possible values | Example |
---|---|---|---|---|
output |
String | The requested returned output type, The default is json |
|
xml |
partner_name |
String | Required
The partner name |
|
JetApps |
firstname |
String | Required
The partner first name |
|
John |
lastname |
String | Required
The partner last name |
|
Doe |
email |
String | Required
The partner email address to login to the JetLicense panel |
|
john@mydomain.com |
password |
String | Required
The partner password to login to the JetLicense panel |
|
V4@B*5Us17sK |
products |
Array | The product IDs you want to add to the partner. |
|
[5887980319a464498902b0cd, 5887980319a46449891730cd] |
Returns
Return | Type | Description | Possible values | Example |
---|---|---|---|---|
partner_id |
String | The Partner ID |
|
5888bf6319a464498902b0ce |