Waivers

2 operations. Every schema and example on this page is generated from the platform contract.

List a store's member liability waivers.

Merchant browses every liability waiver the store has authored, active or not, ordered newest first. Gated by the can_use_gym_management entitlement (fail-closed). Each waiver carries its title, content, current version, active flag, annual-renewal flag, and timestamps.

Parameters

store_idstring · uuidqueryrequired

Store whose waivers to list (also authorises the merchant).

Response, 200

waiversarray of objectrequired
9 child fields
idstringrequired
store_idstringrequired
titlestringrequired
contentstringrequired
versionnumberrequired
is_activeboolean, nullablerequired
requires_annual_renewalboolean, nullablerequired
created_atstringrequired
updated_atstringrequired
curl -G "https://www.membber.com/api/v1/waivers" \
  -H "Authorization: Bearer $MEMBBER_TOKEN" \
  --data-urlencode "store_id=6659c139-0000-4000-8000-d0c500000066"
Response, 200
{
  "waivers": [
    {
      "id": "00000d1b-0000-4000-8000-d0c500000000",
      "store_id": "6659c139-0000-4000-8000-d0c500000066",
      "title": "Morning class",
      "content": "<content>",
      "version": 1,
      "is_active": true,
      "requires_annual_renewal": true,
      "created_at": "<created_at>",
      "updated_at": "<updated_at>"
    }
  ]
}

Create a new member liability waiver.

Merchant authors a new liability waiver for the store. Requires a non-empty title and content; requires_annual_renewal is optional and defaults to true. Gated by the can_use_gym_management entitlement (fail-closed 403). Returns the persisted waiver row (version 1, active by default).

Request body

store_idstring · uuidrequired

Store the waiver belongs to (also authorises the merchant).

titlestringrequired

Waiver title shown to members before they sign.

contentstringrequired

Full waiver body text the member agrees to.

requires_annual_renewalbooleanoptional

Whether signers must re-sign annually. Defaults to true when omitted.

Response, 200

waiverobjectrequired
9 child fields
idstringrequired
store_idstringrequired
titlestringrequired
contentstringrequired
versionnumberrequired
is_activeboolean, nullablerequired
requires_annual_renewalboolean, nullablerequired
created_atstringrequired
updated_atstringrequired
curl -X POST "https://www.membber.com/api/v1/waivers" \
  -H "Authorization: Bearer $MEMBBER_TOKEN" \
  -H "Idempotency-Key: 1f0e2d3c-4b5a-4678-9abc-def012345678" \
  -H "Content-Type: application/json" \
  -d '{
    "store_id": "6659c139-0000-4000-8000-d0c500000066",
    "title": "Morning class",
    "content": "<content>"
  }'
Response, 200
{
  "waiver": {
    "id": "00000d1b-0000-4000-8000-d0c500000000",
    "store_id": "6659c139-0000-4000-8000-d0c500000066",
    "title": "Morning class",
    "content": "<content>",
    "version": 1,
    "is_active": true,
    "requires_annual_renewal": true,
    "created_at": "<created_at>",
    "updated_at": "<updated_at>"
  }
}
WhatsApp
Book a Call
Start Free