POST /api_v2/customers
Create a Customer
Supported Formats
jsonErrors
Code | Description |
---|---|
422 | Could not save the Customer |
Params
Param name | Description |
---|---|
token
required |
Token obtained from /authenticate Validations:
|
customer
required |
Customer Info Validations:
|
customer[name]
required |
Customer Name Validations:
|
customer[account_owner]
optional |
Customer Name Validations:
|
customer[account_manager]
optional |
Account Owner Validations:
|
customer[address]
optional |
Address Validations:
|
customer[city]
optional |
City Validations:
|
customer[state]
optional |
State Validations:
|
customer[zip]
optional |
Zip Validations:
|
customer[phone]
optional |
Phone Validations:
|
customer[contact_first_name]
optional |
Contact Last Name Validations:
|
customer[contact_last_name]
optional |
Contact Last Name Validations:
|
customer[contact_email]
optional |
Contact Email Validations:
|
customer[billing_first_name]
optional |
Billing First Name - must be between 1 and 50 characters in length Validations:
|
customer[billing_last_name]
optional |
Billing Last Name - must be between 1 and 50 characters in length Validations:
|
customer[billing_email]
optional |
Billing Email - must be between 1 and 255 characters in length Validations:
|
customer[billing_phone]
optional |
Billing Phone - must be between 1 and 50 characters in length Validations:
|
customer[fee_percentage]
optional |
Fee Percentage - must be between 0.0 and 1.0 Validations:
|
customer[can_post_w2]
optional |
True if this Customer can post w2 job requests. Default is False when not set Validations:
|
customer[can_post_1099]
optional |
True if this Customer can post 1099 job request. Default is True when not set Validations:
|
customer[use_start_and_complete_pin]
optional |
True if this Customer can use Start and Complete Pin. Default is False when left blank or not set Validations:
|
customer[strategic_pilot]
optional |
True if this Customer is strategic pilot Validations:
|
customer[use_pending_state]
optional |
True if this Customer can use Pending Workflow. Default is False when not set Validations:
|
customer[credit_limit]
optional |
Credit Limit - must be greater than or equal to 20000 for a strategic pilot customer Validations:
|
customer[notification_distance]
optional |
The maximum distance in MILES between Request and Worker to send job push notifications to. Overrides any default setting at Company level. Validations:
|
customer[use_location_validation]
optional |
True if this Customer can use check-in geofencing. Default is True when not set Validations:
|
customer[location_validation_radius]
optional |
The maximum radius in MILES in which the Wonoloer can start/complete a job. Default is 0.2 mile when not set Validations:
|
customer[check_out_geofencing]
optional |
True if this Customer can use check-out geofencing. Default is True when not set Validations:
|