OfferingAvailability

Mark a day as unavailable for an offering

Creates (or no-ops on, if one already exists) a one-day "unavailable" availability rule on the offering. Equivalent to going into the offering's availability calendar and toggling the targeted day off.

Idempotent: if the same (date, offering) already has an unavailable rule, the existing rule is returned without modification.

Requires the SETTINGS_MANAGE permission on the offering's site.

post/shop/offering-availability/add-day-unavailability

Request body

datestring date required

ISO 8601 calendar date to mark unavailable, in the offering's timezone.

offering_type'appointment' | 'area_booking' | 'package' | 'session' required

The offering type the offering_id belongs to.

offering_idstring required

ID of the offering to update.

Example request

{
  "date": "2026-12-25",
  "offering_id": "5dcb47800000000000000019"
}

Response

The day was successfully marked unavailable.

Changes