Update a Driver's Custom Fields
PUT/drivers/:driver_id/custom-fields
Upserts typed custom field values for this driver, by definition id. The value is validated against the field's configured type and required setting. See the type-format table on value below for the accepted input shape per type, and the driver custom-field schema in the response for the shape returned. The id must reference a custom field already configured for your account. See GET/POST /settings/drivers/custom-fields to check or create one first. Writing a value for an id that doesn't exist returns a 422.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- 503
Successful operation
The request body is declared as JSON but cannot be parsed, or is not a JSON object or array. Nothing was processed.
Unauthorized access. Authentication is required.
Access is forbidden. The user does not have permission to access this resource, or the account is not currently active.
The requested resource was not found.
Validation failed for the input parameters.
Internal server error.
Service temporarily unavailable. The request did not complete and can be retried after the number of seconds in the Retry-After header, when one is sent.
Response Headers
Seconds to wait before retrying. Sent with db_busy and db_pool_timeout.