Create itinerary items
batch_segment_createCreate multiple segments in a trip in one call. All-or-nothing: if any segment fails validation, none are created. Max 20 segments per call. Use segment_get_schema to learn field names for each type. Segment dates must fall within the parent trip dates; use trip_update first to extend the trip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | Yes | The trip ID to add segments to | |
| segments | Yes | Array of segments to create. Each must have segment_type and fields. |