Update a crew

Updates all fields of an existing crew. This is a full update operation that requires all required fields to be provided. The crew must belong to the authenticated user's company. Partial updates are not supported via this endpoint.

Path Params
integer
required

Unique identifier of the crew to update

Body Params

Updated crew details including contact information, payment configuration, and associated trades and regions. All required fields must be provided for a full update.

string
required
length ≤ 50

Name of the crew

string | null

Contact phone number for the crew

string
required
length ≤ 100

Contact email address for the crew (must be valid email format)

trades
array of strings
required

Array of trade IDs this crew specializes in

trades*
regions
array of strings
required

Array of region IDs this crew operates in

regions*
string | null

Hex color code for visual identification

string | null

Additional notes or information about the crew

integer
Defaults to 4

Number of workers in the crew

string
enum
Defaults to 1

Priority level for scheduling and job assignment

Allowed:
string
required
length ≤ 100

Name of the person or entity to whom payments should be made

string | null

Street address for payment delivery

string | null

City for payment delivery

string | null

State or province code for payment delivery

string | null

ZIP or postal code for payment delivery

string
enum
Defaults to mail

Method by which payments will be delivered to the crew

Allowed:
string
enum
Defaults to current_friday

Payment schedule terms for the crew

Allowed:
integer
1 to 31
Defaults to 10

Day of the month when payment is due (1-31)

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json