Created
March 7, 2020 06:27
-
-
Save a-eid/07d45e21f43837acbc166da4ffcedc60 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// follow the update min nights format. | |
method: 'PUT', | |
uri: `https://api.airbnb.com/v2/calendars/${id}/${date}`, | |
format: 'host_calendar', | |
body: { | |
daily_price: price, | |
demand_based_pricing_overridden: true, | |
availability: 'available' | |
}, | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment