Skip to main content
Inspect the current state of a trip without modifying it. Reach for it when you need to confirm what items are on the trip, verify the travelers attached to a booking, or check whether a checkout has finalized after the user paid. The response covers items, traveler details, quote status, and any booking references that have been issued.

Usage

jinko trip-status [options]

Options

FlagRequiredDescriptionDefault
--trip-id <id>Yestrip ID

Examples

# Full trip state: items, travelers, quote, fulfillment, bookings
jinko trip-status --trip-id 42

# Poll until fulfillment is terminal
while true; do
  status=$(jinko trip-status --trip-id 42 --format json | jq -r '.fulfillment.status')
  echo "Status: $status"
  [[ "$status" == "completed" || "$status" == "failed" ]] && break
  sleep 5
done