zxol/airbnbapi

Endpoint to Activate and Deactivate Listings

warely opened this issue · 2 comments

Is it possible to get an API endpoint to disable (unlist) and relist listings?

zxol commented

This should be possible. I'll look into it.

I found a way for doing this;

PUT https://api.airbnb.com/v2/listings/LISTING_ID

delisting = {"has_availability":"false"}
relisting = {"has_availability":"true"}