Skip to content

Booking type detail


id: fluent-booking-bookings-types-detail owner: fluent-booking method: GET path: /wp-json/headlesswp/v1/bookings/types/{typeId} title: Booking type detail usedBySite: false

GET /wp-json/headlesswp/v1/bookings/types/{typeId}

Returns a single booking type by typeId.

Auth + CSRF

  • Auth: public (permission_callback is __return_true).
  • Proxy nonce required: no.
  • CSRF: exempt (not WP nonce-based).

Request schema

  • Path param: typeId (positive integer).

Response schema

{
  "data": {
    "type": {}
  }
}

Error codes

  • VALIDATION_FAILED (422)
  • BOOKING_TYPE_NOT_FOUND (404)
  • FEATURE_DISABLED (404)
  • DEPENDENCY_UNAVAILABLE (503)