---
title: "Updates the given trip with a trip type (category) and trip tags"
method: PUT
path: "/v1/resourceowner/trips3/{tripId}"
tags: ["ResourceOwnerTrip3V2"]
---

# Updates the given trip with a trip type (category) and trip tags

`PUT /v1/resourceowner/trips3/{tripId}`

This operation would only update the trip type and trip tags if authorized for this trip.

## Path parameters

- `tripId` integer, required

## Request body

- Trip2EditModel
  - `CustomCategory` string
  - `TripType` 0 | 1 | 2 | 3
  - `TripTags` string[]
  - `LastEditedByContactId` integer
  - `BusinessContact` string
  - `BusinessContactCompany` string
  - `TripReason` string

## Response `200`

The trip was saved

## Other responses

- `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)
