---
updatedAt: 2026-09-15T15:20:20.000Z
agentTools:
  projectIndex: https://docs.bookboost.io/llms.txt
---

# Index loyalty programs

Index loyalty programs.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Bookboost AB",
    "description": "",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://cdp.bookboost.io"
    }
  ],
  "tags": [
    {
      "name": "Loyalty Programs",
      "description": ""
    }
  ],
  "components": {
    "securitySchemes": {
      "default": {
        "type": "http",
        "scheme": "bearer",
        "description": "You can retrieve your token by visiting your dashboard and clicking <b>Generate API token</b>."
      }
    }
  },
  "security": [
    {
      "default": []
    }
  ],
  "paths": {
    "/api/v1/loyalty-program": {
      "get": {
        "summary": "Index loyalty programs",
        "operationId": "indexLoyaltyPrograms",
        "description": "Index loyalty programs.",
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "description": "",
            "example": 15,
            "required": false,
            "schema": {
              "type": "integer",
              "description": "",
              "example": 15,
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "example": {
                    "data": [
                      {
                        "id": "213af2f2-6716-4faf-8430-84e7453779d9",
                        "name": "MARRIOTT",
                        "info": {
                          "foo": "false",
                          "bar": "12345"
                        },
                        "created_at": "2023-10-05T15:45:53.000000Z",
                        "updated_at": "2023-10-06T14:52:25.000000Z",
                        "levels": [
                          {
                            "name": "Platinum",
                            "code": "P1",
                            "info": {
                              "foo": "true",
                              "bar": "12345"
                            }
                          },
                          {
                            "name": "Silver",
                            "code": "S1",
                            "info": {}
                          }
                        ]
                      }
                    ],
                    "links": {
                      "first": "http://bookapi.test/api/v2/loyalty-programs?page=1",
                      "last": "http://bookapi.test/api/v2/loyalty-programs?page=1",
                      "prev": null,
                      "next": null
                    },
                    "meta": {
                      "current_page": 1,
                      "from": 1,
                      "last_page": 1,
                      "links": [
                        {
                          "url": null,
                          "label": "&laquo; Previous",
                          "active": false
                        },
                        {
                          "url": "http://bookapi.test/api/v2/loyalty-programs?page=1",
                          "label": "1",
                          "active": true
                        },
                        {
                          "url": null,
                          "label": "Next &raquo;",
                          "active": false
                        }
                      ],
                      "path": "http://bookapi.test/api/v2/loyalty-programs",
                      "per_page": 15,
                      "to": 1,
                      "total": 1
                    }
                  },
                  "properties": {
                    "data": {
                      "type": "array",
                      "example": [
                        {
                          "id": "213af2f2-6716-4faf-8430-84e7453779d9",
                          "name": "MARRIOTT",
                          "info": {
                            "foo": "false",
                            "bar": "12345"
                          },
                          "created_at": "2023-10-05T15:45:53.000000Z",
                          "updated_at": "2023-10-06T14:52:25.000000Z",
                          "levels": [
                            {
                              "name": "Platinum",
                              "code": "P1",
                              "info": {
                                "foo": "true",
                                "bar": "12345"
                              }
                            },
                            {
                              "name": "Silver",
                              "code": "S1",
                              "info": []
                            }
                          ]
                        }
                      ],
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "213af2f2-6716-4faf-8430-84e7453779d9"
                          },
                          "name": {
                            "type": "string",
                            "example": "MARRIOTT"
                          },
                          "info": {
                            "type": "object",
                            "properties": {
                              "foo": {
                                "type": "string",
                                "example": "false"
                              },
                              "bar": {
                                "type": "string",
                                "example": "12345"
                              }
                            }
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2023-10-05T15:45:53.000000Z"
                          },
                          "updated_at": {
                            "type": "string",
                            "example": "2023-10-06T14:52:25.000000Z"
                          },
                          "levels": {
                            "type": "array",
                            "example": [
                              {
                                "name": "Platinum",
                                "code": "P1",
                                "info": {
                                  "foo": "true",
                                  "bar": "12345"
                                }
                              },
                              {
                                "name": "Silver",
                                "code": "S1",
                                "info": []
                              }
                            ],
                            "items": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string",
                                  "example": "Platinum"
                                },
                                "code": {
                                  "type": "string",
                                  "example": "P1"
                                },
                                "info": {
                                  "type": "object",
                                  "properties": {
                                    "foo": {
                                      "type": "string",
                                      "example": "true"
                                    },
                                    "bar": {
                                      "type": "string",
                                      "example": "12345"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "links": {
                      "type": "object",
                      "properties": {
                        "first": {
                          "type": "string",
                          "example": "http://bookapi.test/api/v2/loyalty-programs?page=1"
                        },
                        "last": {
                          "type": "string",
                          "example": "http://bookapi.test/api/v2/loyalty-programs?page=1"
                        },
                        "prev": {
                          "type": "string",
                          "example": null,
                          "nullable": true
                        },
                        "next": {
                          "type": "string",
                          "example": null,
                          "nullable": true
                        }
                      }
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "current_page": {
                          "type": "integer",
                          "example": 1
                        },
                        "from": {
                          "type": "integer",
                          "example": 1
                        },
                        "last_page": {
                          "type": "integer",
                          "example": 1
                        },
                        "links": {
                          "type": "array",
                          "example": [
                            {
                              "url": null,
                              "label": "&laquo; Previous",
                              "active": false
                            },
                            {
                              "url": "http://bookapi.test/api/v2/loyalty-programs?page=1",
                              "label": "1",
                              "active": true
                            },
                            {
                              "url": null,
                              "label": "Next &raquo;",
                              "active": false
                            }
                          ],
                          "items": {
                            "type": "object",
                            "properties": {
                              "url": {
                                "type": "string",
                                "example": null,
                                "nullable": true
                              },
                              "label": {
                                "type": "string",
                                "example": "&laquo; Previous"
                              },
                              "active": {
                                "type": "boolean",
                                "example": false
                              }
                            }
                          }
                        },
                        "path": {
                          "type": "string",
                          "example": "http://bookapi.test/api/v2/loyalty-programs"
                        },
                        "per_page": {
                          "type": "integer",
                          "example": 15
                        },
                        "to": {
                          "type": "integer",
                          "example": 1
                        },
                        "total": {
                          "type": "integer",
                          "example": 1
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Loyalty Programs"
        ]
      }
    }
  }
}
```