POST /api/v1/gyms/{gym-id}/subscriptions/checkin/{subscription-id}
Creates a check-in record for a gym subscription.
Permissions
| Permission | Description |
|---|
gym_subscriptions.checkin | Gym admin can check in a user |
URL Parameters
| Name | Type | Required | Description | Example |
|---|
| gym-id | int | Yes | ID of the gym | 123 |
| subscription-id | int | Yes | ID of the subscription | 456 |
Request Body Parameters
| Name | Type | Required | Description | Example |
|---|
| notes | string | No | Optional note for check-in | "Arrived late" |
Request Example
{
"notes": "Arrived late"
}
Response
201 Created
Returns the created check-in resource.
Example
{ /* gym subscription check-in resource */ }
For a full schema, see Gym Subscription Check-in Resource.
Error Responses