Journey Docs
Members APILoyalty

Get Perk Group

Get details of a specific perk group

GET/members/me/loyalty/perk-groups/{id}

Overview

Returns detailed information about a specific perk group including its configuration and status.

Authentication

Requires a valid Clerk JWT token in the Authorization header.

Path Parameters

idpathnumberrequired

Perk group ID

Request

curl -X GET "http://localhost:3000/v1/members/me/loyalty/perk-groups/1" \
  -H "Authorization: Bearer YOUR_CLERK_JWT"

Response

idnumberrequired

Unique perk group ID

documentIdstringrequired

Document identifier for the perk group

namestringrequired

Display name of the perk group

descriptionstring

Description of the perk group and its benefits

enabledbooleanrequired

Whether this perk group is currently active

stayRequiredbooleanrequired

Whether perks in this group require an active reservation

createdAtstringrequired

ISO 8601 timestamp when perk group was created

updatedAtstringrequired

ISO 8601 timestamp when perk group was last updated

Response

{
  "id": 1,
  "documentId": "pg_suite_benefits",
  "name": "Suite Benefits",
  "description": "Exclusive perks and upgrades for suite accommodations",
  "enabled": true,
  "stayRequired": true,
  "createdAt": "2024-01-15T10:00:00Z",
  "updatedAt": "2024-03-20T14:30:00Z"
}

On this page