> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.bitbybit.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Loyalty Integration

> Enable or disable the loyalty program for a company.



## OpenAPI

````yaml POST /bitlogin/api/open/v1/loyalty/integration
openapi: 3.1.0
info:
  title: bitLogin Loyalty API
  description: >-
    Loyalty configuration endpoints for bitLogin (integration toggle, point
    conversion, and reward options).
  version: 1.0.0
servers:
  - url: https://api.bitbybit.studio
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /bitlogin/api/open/v1/loyalty/integration:
    post:
      tags:
        - Loyalty - bitLogin
      summary: Enable or disable loyalty integration
      description: Enable or disable the loyalty program for a company.
      operationId: setLoyaltyIntegration
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - enabled
              properties:
                enabled:
                  type: boolean
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoyaltyIntegration'
components:
  schemas:
    LoyaltyIntegration:
      type: object
      properties:
        companyId:
          type: integer
        enabled:
          type: boolean
  securitySchemes:
    ApiKeyAuth:
      description: API key for authentication. Create one in Settings > Developer.
      name: x-api-key
      in: header
      type: apiKey

````