Domina REST API
  1. LoyaltyCard
Domina REST API
  • Documentation
  • Auth
    • registration
      POST
    • login
      POST
    • logout
      POST
    • password-reset/initiate
      POST
    • password-reset/verify
      POST
    • password-reset/complete
      POST
  • User
    • Booking
      • index
    • LoyaltyCard
      • show
        GET
    • LoyaltyPoints
      • index
    • Tikets
      • index
      • show
      • create
      • update
    • show
      GET
    • update
      PATCH
  • Venue
    • index
      GET
    • show
      GET
    • facets
      GET
  • Page
    • show
      GET
  • Post
    • index
      GET
    • show
      GET
  • Property
    • index
      GET
    • show
      GET
  • Program
    • index
      GET
  • Location
    • index
  • Navigation
    • index
  • Awards
    • index
  • Request
    • create
  • Spa
    • index
    • show
  • Special
    • index
    • show
  • Schemas
    • Meta
      • MetaPagination
      • MetaFile
      • MetaImage
      • MetaImageData
    • Response
      • ResponseError
    • Page
    • Property
    • Program
    • Venue
    • Special
    • Spa
    • Post
    • Navigation
    • Location
    • Tag
    • Award
    • User
    • Booking
    • LoyaltyCard
    • LoyaltyLevel
    • LoyaltyPoint
    • Ticket
    • TicketComment
  1. LoyaltyCard

show

Developing
GET
/v1/user/loyalty-card
Получение данных карты лояльности авторизированного пользователя

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
or

Responses

🟢200Success
application/json
Body

🟠401Unauthorized
🟠429Too many requests
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/user/loyalty-card' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "number": 0,
    "level": {
        "id": "string",
        "name": "string",
        "order_number": 0,
        "discount": 0,
        "required_money": 0,
        "required_nights": 0,
        "bonus_amount": 0,
        "bonus_percent": 0
    },
    "total_stay": 0,
    "total_amount": 0,
    "bonus_percent": 0,
    "bonus_amount": 0,
    "accumulation_deadline": "string"
}
Modified at 2025-10-22 12:17:56
Previous
index
Next
index
Built with