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

# Get all available offer types



## OpenAPI

````yaml openapi/promotion-v3.json GET /v3/offers/types
openapi: 3.0.4
info:
  title: Offer Api
  version: v3
servers:
  - url: https://{host}/promotion
    description: Your Lobyco environment
    variables:
      host:
        default: your-environment.lobyco.net
        description: >-
          The API host for your Lobyco environment. Replace it with the host you
          were given — this placeholder does not resolve.
security:
  - Bearer: []
paths:
  /v3/offers/types:
    get:
      tags:
        - Offers
      summary: Get all available offer types
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OfferTypesResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebServiceError'
components:
  schemas:
    OfferTypesResponse:
      type: object
      properties:
        offerTypes:
          type: array
          items:
            $ref: '#/components/schemas/OfferTypeDetails'
          description: List of all supported types
          nullable: true
      additionalProperties: false
    WebServiceError:
      required:
        - message
        - name
      type: object
      properties:
        name:
          minLength: 1
          type: string
        message:
          minLength: 1
          type: string
        details:
          nullable: true
      additionalProperties: false
    OfferTypeDetails:
      type: object
      properties:
        name:
          type: string
          description: Name for the type
          nullable: true
        description:
          type: string
          description: User-readable description
          nullable: true
        isDeprecated:
          type: boolean
          description: >-
            Deprecated types cannot be selected when creating offers and should
            be avoided
        supportsPreactivation:
          type: boolean
          description: >-
            Deprecated. Use SegmentationType instead. All  non-Personal types
            support preactivation
        supportedBenefitTypes:
          type: array
          items:
            $ref: '#/components/schemas/BenefitType'
          description: >-
            List of benefit types supported by this offer type. When not
            specified, the default benefit type is `Discount`.
          nullable: true
        alwaysPreactivated:
          type: boolean
          description: Deprecated. Always false.
        isSegmentable:
          type: boolean
          description: Deprecated. Use SegmentationType instead. True for Segmented types
        segmentationType:
          $ref: '#/components/schemas/SegmentationType'
      additionalProperties: false
    BenefitType:
      enum:
        - Discount
        - Bonus
      type: string
    SegmentationType:
      enum:
        - Segmented
        - Triggered
        - Personal
      type: string
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        Opaque Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````