POST api/signup/plugin_create_company.json
Create company from validation ocde.
Request Information
URI Parameters
None.
Body Parameters
SignUpPluginName | Description | Type | Additional information |
---|---|---|---|
code | string |
Required Data type: Text |
|
address | SignUpAddress |
Required |
|
password | string |
Required Data type: Password String length: inclusive between 6 and 100 |
|
confirm_password | string |
Data type: Password |
|
client_id | string |
Required Data type: Text |
|
create_sample_products | boolean |
None. |
|
primary_content_type | CompanyPrimaryShopType |
None. |
|
source_type | string |
None. |
|
source_platform | string |
None. |
|
scope | string |
Required |
|
mautic_id | integer |
None. |
Request Format
{ "code": "sample string 1", "address": { "first_name": "sample string 1", "last_name": "sample string 2", "company_name": "sample string 3", "company_add_name": "sample string 4", "state": "sample string 5", "country": "sample string 6", "zip": "sample string 7", "city": "sample string 8", "address1": "sample string 9", "address2": "sample string 10", "phone": "sample string 11" }, "password": "sample string 2", "confirm_password": "sample string 3", "client_id": "sample string 4", "create_sample_products": true, "primary_content_type": 0, "source_type": "sample string 6", "source_platform": "sample string 7", "scope": "sample string 8", "mautic_id": 1 }
Response Information
Resource Description
SignUpEMail
SignUpTokenName | Description | Type | Additional information |
---|---|---|---|
token | string |
Required Data type: Text |
|
company_id | integer |
None. |
Response Format
{ "token": "sample string 1", "company_id": 2 }