Pagination
The API uses two pagination styles. The endpoint decides which one applies.- Page-based
- Cursor-based
Most list endpoints take
page and perPage query parameters. They return a meta
block with the current page and the total, plus a links block with first, last,
prev, and next URLs. perPage defaults to 100, and 100 is also the maximum.Page-based endpoints: /academies, /memberships,
/members/{memberId}/memberships, and /attendance.Amounts and currency
Money appears in two encodings. Read the wrong one and your totals come out wrong by a factor of 100, so check which one applies.
A minor-units value is a signed integer in the currency’s ISO 4217 minor unit. It can go
negative on refunds and chargebacks. A Money object carries a decimal amount in major
units plus a currency code.
Errors
An error returns a JSON body with amessage and a correlationId. Quote the
correlationId to Gymdesk support to trace a request. A validation failure also returns
a field-level errors map.
GD-Correlation-Id response header.
