Skip to content
Free

WP-CLI commands

Manage bookings, inventory and the database from the command line.

1 min read Updated

CommandDoes
wp tourivo booking list [--status=] [--limit=] [--format=]List bookings (table, json, csv, yaml, ids, count).
wp tourivo booking get <id>Show one booking.
wp tourivo booking set-status <id> <status>pending, confirmed, completed, cancelled or on_hold — with inventory rollback.
wp tourivo inventory <item_id>Seats or units left.
wp tourivo db migrateRun database migrations.
wp tourivo statsBookings, revenue and listings at a glance.
$ wp tourivo booking list --status=pending --limit=5
$ wp tourivo booking set-status 45 confirmed
Success: Booking 45 is now confirmed.