Skip to main content
PUT
Update a trip budget item

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

tripId
integer
required

Trip ID belonging to the authenticated organization.

id
integer
required

Record ID within the organization and any parent resource in this route.

Body

application/json

Request fields accepted by this operation. Omitted optional properties retain the behavior described above.

category
string

Validation: required|string|max:255.

Maximum string length: 255
description
string | null

Validation: nullable|string.

Example:

"Please review the updated trip details."

amount
number

Validation: required|numeric|min:0|max:999999999.99.

Required range: 0 <= x <= 999999999.99
Example:

40

sort_order
integer | null

Validation: nullable|integer|min:0.

Required range: x >= 0
Example:

1

Response

Update a trip budget item response.

id
integer
trip_id
integer
category
string
description
string | null
amount
number
sort_order
integer
created_at
string<date-time>
updated_at
string<date-time>