---
title: "Updates the given contact id"
method: PUT
path: "/v1/resourceowner/contacts2/{contactId}"
tags: ["ResourceOwnerContact2"]
---

# Updates the given contact id

`PUT /v1/resourceowner/contacts2/{contactId}`

This will update the contact with the new model.

## Path parameters

- `contactId` integer, required

## Request body

- Contact2EditModel
  - `FirstName` string
  - `LastName` string
  - `EmailAddress` string
  - `Description` string
  - `CultureName` string
  - `CountryCodeIso1366` string
  - `DefaultVehicleId` integer
  - `UnitType` 0 | 1 | 2
  - `SubscribeToNewsLetter` boolean
  - `MobilePhoneNumber` string
  - `MapType` 0 | 1 | 2
  - `CheckOutDateTimeUtc` string, date-time
  - `CheckedInTripType` 0 | 1 | 2 | 3
  - `CheckedInCustomTripTypeName` string
  - `CurrencyCode` string — ISO 4217 Currency code

## Response `200`

The contact was saved

## Other responses

- `403` — Request is forbidden, this could occur if you are not associated with the contact
- `404` — The contact that you tried to update doesn't exist
- `500` — Internal server error

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
