# Update carrier contact Partially update a carrier contact. Only provided fields will be updated. - Omitted fields: Not modified (current value preserved) - Provided fields: Updated to the new value - Null values: Clear the field (set to null) where applicable When updating contactInfo, the underlying Contact record is updated. Endpoint: PATCH /carrier-contacts/{id} Version: 1.0.0 Security: BearerAuth ## Path parameters: - `id` (string, required) Resource ID (UUID) or client key Example: "550e8400-e29b-41d4-a716-446655440000" ## Request fields (application/json): - `name` (string) Contact person's name (should match contactInfo.name if updating both) Example: "Jane Dispatcher" - `contactInfo` (any) Contact information update. Provide partial or full contact data to update the parent Contact record. Cannot be set to null (contact info is required). - `contactTypes` (array,null) Types/roles this contact serves (replaces entire array) Enum: "ACCOUNTING", "AFTER_HOURS", "CENSUS", "CLAIMS", "DISPATCH", "DRIVER", "EMERGENCY", "MANAGER", "OWNER" - `key` (string,null) Client-defined reference identifier Example: "ERP-CARRIER-CONTACT-001" ## Response 200 fields (application/json): - `object` (string) Object type identifier Enum: "CARRIER_CONTACT" - `id` (string, required) Unique contact identifier Example: "550e8400-e29b-41d4-a716-446655440000" - `carrier` (object, required) Carrier this contact belongs to (full carrier details) - `carrier.id` (string, required) Carrier UUID Example: "550e8400-e29b-41d4-a716-446655440000" - `carrier.key` (string,null) Client-defined reference ID if set Example: "ERP-CARRIER-SWIFT" - `carrier.name` (string, required) Carrier company name Example: "Swift Transportation" - `carrier.phoneNumber` (string,null) Primary phone number Example: "+1-555-987-6543" - `carrier.email` (string,null) Primary email address Example: "dispatch@swifttrans.com" - `carrier.createdAt` (string, required) When the carrier was created Example: "2025-01-15T10:00:00Z" - `carrier.updatedAt` (string, required) When the carrier was last updated Example: "2025-01-15T14:30:00Z" - `carrier.deletedAt` (string,null) When the carrier was soft deleted (null if active) - `name` (string, required) Contact person's name (denormalized from ContactInfo for convenience) Example: "Jane Dispatcher" - `contactInfo` (object, required) Contact information details (email, phone, title) - nested from parent Contact record - `contactInfo.name` (string, required) Contact person's full name Example: "John Smith" - `contactInfo.email` (string,null) Email address Example: "john.smith@example.com" - `contactInfo.phoneNumber` (string,null) Phone number Example: "+1-555-0100" - `contactInfo.title` (string,null) Job title or position Example: "Operations Manager" - `contactTypes` (array,null) Types/roles this contact serves Enum: "ACCOUNTING", "AFTER_HOURS", "CENSUS", "CLAIMS", "DISPATCH", "DRIVER", "EMERGENCY", "MANAGER", "OWNER" - `invitedUser` (any) User account invited/created for this contact (full user details) - `deletedBy` (any) User who deleted this contact (full user details) - `key` (string,null) Client-defined reference identifier Example: "ERP-CARRIER-CONTACT-001" - `createdAt` (string, required) When the contact was created Example: "2025-01-15T10:00:00Z" - `deletedAt` (string,null) When the contact was soft deleted (null if active) ## Response 400 fields (application/json): - `error` (string, required) Error code - `message` (string, required) Human-readable error message ## Response 401 fields (application/json): - `error` (string, required) Error code - `message` (string, required) Human-readable error message ## Response 404 fields (application/json): - `error` (string, required) Error code - `message` (string, required) Human-readable error message ## Response 409 fields (application/json): - `error` (string, required) Error code - `message` (string, required) Human-readable error message ## Response 500 fields (application/json): - `error` (string, required) Error code - `message` (string, required) Human-readable error message