> ## 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 available banners.

> This endpoint returns banners associated with the provided memberId.  
Filtering options can be applied to control which banners are retrieved.



## OpenAPI

````yaml openapi/banner-v1.json GET /v2/banners
openapi: 3.0.1
info:
  title: Banner.Api
  version: v1
servers:
  - url: https://{host}/banner
    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:
  /v2/banners:
    get:
      tags:
        - S2S
      summary: Get available banners.
      description: "This endpoint returns banners associated with the provided memberId.  \r\nFiltering options can be applied to control which banners are retrieved."
      parameters:
        - name: memberId
          in: query
          description: >-
            The unique identifier of the member for whom banners should be
            retrieved.
          schema:
            type: string
        - name: BannerTypes
          in: query
          description: Optional list of banner types to filter by.
          schema:
            type: array
            items:
              $ref: '#/components/schemas/Banner.Api.DTO.Models.BannerType'
        - name: ChainId
          in: query
          description: Optional chain identifier to filter banners for a specific chain.
          schema:
            type: string
        - name: storeId
          in: query
          description: >-
            Optional list of store identifiers to filter banners for specific
            stores.
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: >-
                  #/components/schemas/Banner.Api.DTO.Responses.GetAvailableBannersResponseV2
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Banner.Api.DTO.Responses.GetAvailableBannersResponseV2
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/Banner.Api.DTO.Responses.GetAvailableBannersResponseV2
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: >-
                  #/components/schemas/LoopFoundation.Commons.Contracts.WebServiceError
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/LoopFoundation.Commons.Contracts.WebServiceError
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/LoopFoundation.Commons.Contracts.WebServiceError
components:
  schemas:
    Banner.Api.DTO.Models.BannerType:
      enum:
        - OfferByChain
        - Partner
        - Hero
        - CoopDk
        - Receipt
      type: string
    Banner.Api.DTO.Responses.GetAvailableBannersResponseV2:
      type: object
      properties:
        banners:
          type: array
          items:
            $ref: >-
              #/components/schemas/Banner.ApplicationService.CQRS.Models.AvailableBannerV2
          description: Collection of available banners returned in the response.
      additionalProperties: false
    LoopFoundation.Commons.Contracts.WebServiceError:
      required:
        - message
        - name
      type: object
      properties:
        name:
          minLength: 1
          type: string
        message:
          minLength: 1
          type: string
        details:
          nullable: true
      additionalProperties: false
    Banner.ApplicationService.CQRS.Models.AvailableBannerV2:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        analyticsId:
          type: string
          nullable: true
        bannerType:
          $ref: >-
            #/components/schemas/Banner.ApplicationService.CQRS.Models.BannerType
        chainIds:
          type: array
          items:
            type: string
        storeIds:
          type: array
          items:
            type: string
        actionUrl:
          type: string
          nullable: true
        useWebWrapper:
          type: boolean
        contentType:
          $ref: >-
            #/components/schemas/Banner.ApplicationService.CQRS.Models.ContentType
        content:
          $ref: >-
            #/components/schemas/Banner.ApplicationService.CQRS.Models.IBannerItemContent
      additionalProperties: false
    Banner.ApplicationService.CQRS.Models.BannerType:
      enum:
        - OfferByChain
        - Partner
        - Hero
        - CoopDk
        - Receipt
      type: string
    Banner.ApplicationService.CQRS.Models.ContentType:
      enum:
        - Image
        - Leaflet
        - Reward
        - Voucher
        - Bonus
        - Partner
      type: string
    Banner.ApplicationService.CQRS.Models.IBannerItemContent:
      type: object
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        Opaque Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````