v1

latestOpenAPI 3.0.12026-07-247756110.6 KB
Included items

Update included item

Update Included

patch/draft_trips/{trip_uuid}/included_items/{id}

Path parameters

trip_uuidstring required
idstring required

ID of the included item

Request body

Example request

{
  "data": {
    "title": "Private yoga lesson",
    "description": "Private yoga lessons are not included"
  }
}

Response

Successfully updated

idinteger

ID of the included item

trip_uuidstring required

Unique ID of the trip

titlestring required

Title of the included item

descriptionstring

Description of the included item

created_atinteger

Time at which the object was created. Measured in seconds since the Unix epoch.

Example response

{
  "id": 79,
  "trip_uuid": "105544110",
  "title": "Private yoga lesson",
  "description": "Private yoga lessons are not included",
  "created_at": 144434
}