# Link credit record to freelancer credit line application Links a freelancer credit record to their existing credit line application. You have to add the unique ID of the credit record in the payload of this endpoint. Endpoint: PUT /v1/freelancers/persons/{person_id}/credit_line_applications/{application_id}/credit_record Version: 1.0 ## Path parameters: - `person_id` (string, required) The unique person ID, generated after completing the person onboarding process. - `application_id` (string, required) The unique ID of a freelancer credit line application. ## Request fields (application/json): - `credit_record_id` (string, required) The unique ID of a credit record, generated after creating a freelancer credit record. Example: "fbb7d15fa4c54ba0b077592665ef04a4ccrd" ## Response 400 fields (application/json): - `code` (string) Example: "build_pagination_headers_failure" - `detail` (string) Example: "Cannot connect to database." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "400" - `title` (string) Example: "Failed to build pagination headers." ## Response 403 fields (application/json): - `code` (string) Example: "unauthorized_action" - `detail` (string) Example: "Unauthorized action is not allowed." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "403" - `title` (string) Example: "Unauthorized Action" ## Response 404 fields (application/json): - `code` (string) Example: "model_not_found" - `detail` (string) Example: "Couldn't find 'Account' for id 'DE24112233445566'." - `id` (string) Example: "a95f2aaf-4e0c-4d49-8021-8a16a884ed86" - `status` (string) Example: "404" - `title` (string) Example: "Model Not Found" ## Response 409 fields (application/json): - `errors` (array, required) - `errors.id` (string, required) A UUID, preferably the request ID - `errors.status` (integer, required) The HTTP status - `errors.code` (string, required) some_computer_friendly_string - `errors.title` (string, required) Some short human friendly string - `errors.detail` (string, required) Some human friendly-ish detail: field is required - `errors.backtrace` (array,null) Optional array of backtrace lines - `errors.source` (object,null) Optional computer-friendly error source description Example: {"field":"name","message":"is_required"} - `errors.source.field` (string, required) Example: "name" - `errors.source.message` (string, required) Example: "is_required"