Skip to content

Commands ​

Quick reference for all willhaben-cli commands.

Authentication ​

CommandDescription
loginAuthenticate with willhaben
logoutClear stored credentials
whoamiShow current user info

Listings ​

CommandDescription
listList all your listings
getGet listing details (yours or any public one)
publishCreate a new listing
updateUpdate listing properties
deleteDelete a listing
CommandDescription
searchSearch marketplace listings (no login required)
locationsLook up location ids for a postcode

Listing Actions ​

CommandDescription
activate <id>Put a draft live
republish <id>Republish an expired listing
deactivate <id>Take a listing offline
reserve <id>Mark as reserved
unreserve <id>Remove reservation
sold <id>Mark as sold

Images ​

CommandDescription
imagesManage listing images

Configuration ​

CommandDescription
config getShow current configuration
config setSet a configuration value
config resetReset to defaults
config pathShow config file path

Global Options ​

All commands support:

OptionDescription
--jsonOutput as JSON (for scripting)
--helpShow command help
--versionShow version

Released under the MIT License. Not affiliated with willhaben.