Included items

Update included item

Update Included

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

Request

  • Base URL
    https://api.wetravel.com/v2
  • URL
    https://api.wetravel.com/v2/draft_trips/{trip_uuid}/included_items/{id}
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

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
}

Changes

No recorded changes to this operation across all 1 revision of this API.