Sócio alterado

Enviado quando os dados de um sócio mudam, incluindo o estado (status).

postWebhookmember.updated

Payload

event_idstring required

Identificador único do evento. Usa-o para ignorar entregas repetidas.

event_typestring required

O tipo do evento (o nome indicado no título).

gym_idstring uuid required

Identificador do ginásio.

created_atstring date-time required

Quando o evento aconteceu (UTC).

Example payload

{
  "event_id": "evt_3f1c9a0b2d4e4f6a8b0c1d2e3f4a5b6c",
  "data": {
    "id": "mbr_1000",
    "customer_code": "C-1000",
    "club_id": "clb_1",
    "name": "Carlos Alberto Silva Vilaça",
    "short_name": "Carlos Vilaça",
    "email": "cv@example.com",
    "phone": "253000000",
    "mobile_phone": "961234567",
    "birthday": "2006-01-21",
    "gender": "male",
    "address": {
      "line": "Rua Exemplo 12",
      "city": "Guimarães",
      "postal_code": "4800-001"
    },
    "status": "active",
    "tags": [
      "PT",
      "GUIMARÃES"
    ],
    "consents": {
      "data_processing": true,
      "marketing": false
    },
    "trainer_id": "stf_7",
    "nutritionist_id": null,
    "salesperson_id": "stf_3",
    "discount_id": null,
    "subscribe_reason_id": "rsn_2",
    "cancellation_reason_id": null,
    "lead_id": null,
    "updated_at": "2026-10-08T08:00:00.000Z"
  }
}

Response

Responde com qualquer código 2xx para confirmar a receção.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.