Skip to navigation

Set daily prices

View as Markdown

Scope: pricing:write

Sets the nightly price for specific dates — for dynamic pricing tools. Up to 400 dates per call; a date sent again replaces its price.

  • prices (array, required) — [{"date": "YYYY-MM-DD", "price_in_cents": 14900}]. Dates from yesterday on; prices are whole cents.

applies_at_checkout is false when the listing isn’t priced by the day (fixed, free, tiered or hourly pricing) — the prices are saved but checkout won’t use them until it is. Read prices back with GET /listings/:l_id/daily-pricing.

Authentication

AuthorizationBearer

An API token from Settings → API tokens in Fleetwire, sent as Authorization: Bearer …. Each token carries scopes: read for every GET, plus write scopes such as bookings:write.

Path parameters

l_idstringRequired
Listing ID

Request

This endpoint expects an object.
priceslist of objectsRequired

Response

OK
l_idstringOptional
applies_at_checkoutbooleanOptional
priceslist of objectsOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error