Sharetribe icon

Sharetribe

Allows interaction with the Sharetribe Integration API

Availability Exception → Get Many

AI-generated

Summary

Fetch availability exceptions for listings

Inputs

  • listingId (required) — The ID of the listing
  • returnAll — Whether to return all results or only up to a given limit
  • limit — Max number of results to return
  • simplify — Whether to return a simplified version of the response
  • availabilityExceptionFields — Choose from the list, or specify IDs using an expression
  • listingFields — Choose from the list, or specify IDs using an expression
  • start (required) — Start date and time for the query range. 366 days past to 366 days future
  • end (required) — End date and time for the query range. After start, max 366 days future, max 366 days after start

Output shape

a list of availability exception records

May be paginated; fields can be filtered via availabilityExceptionFields and listingFields; optional fields depend on simplify setting

Examples

Example 1: Query upcoming availability exceptions for a specific listing

listingId=550e8400-e29b-41d4-a716-446655440000, start=2025-01-01T00:00:00Z, end=2025-12-31T23:59:59Z, limit=50, simplify=true, availabilityExceptionFields=["start","end","seats"], listingFields=["title","state"]

Links

Discussion