Create Customer Account
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Creates a Customer Account in Zeal - a Customer Account and its ID can then be passed in a shift object to indicate work completed for a specific customer or company.
Returns
Returns response status and newly created Customer Account object.
| attribute | type | description |
|---|---|---|
| success | boolean | Response status |
| data | array | Newly created Customer Account object |
| errors | array | Contains list of error objects which consists of:message: Error messagecode: Error code as described in Error codes |
| companyID | string | required | ID of the Company. | | code | string | required | Custom code to be associated with the customer code. | | business_name | string | required | Business Name of the customer account. | | ein | string | | EIN of the customer account | | legal_structure | string | enum | Federal tax classification of the customer account entity | | ccorpcorpestateforeign_entityllcllplpnonprofitpartnershipschemescorpsoleproptrust. | | phone | string | | Phone number of the customer account | | email | string | | Business email of the customer account | | business_address | string | | Street address of the customer account | | business_city | string | | City of the customer account | | business_state | string | | State of the customer account | | business_zip | string | | Zip code of the customer account | | business_owner | object | Business owner of the customer account |
``200 200
``400 400
ShellNodeRubyPHPPython
xxxxxxxxxx
curl --request POST \
--url https://api.zeal.com/customer-accounts \
--header 'accept: application/json' \
--header 'content-type: application/json'
application/json
200 - Result400 - Result