> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.levanta.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List Click Reports

> List click reports at the date/link granularity with a date range [start, end].
                The difference in time between start and end date must be less than 1 year.
                Dates must be specified in ISO format with no offset (UTC), format: "yyyy-MM-ddTHH:mm:ss.SSSZ".



## OpenAPI

````yaml https://app.levanta.io/api/seller/v1/openapi.json get /reports/clicks
openapi: 3.1.0
info:
  version: 1.0.0
  title: Levanta Seller API
  description: >-
    Authorize all requests with an API key in the Authorization header as the
    second token. E.g. Authorization -> "Bearer {api_key}".
servers:
  - url: https://app.levanta.io/api/seller/v1
security: []
externalDocs:
  url: https://app.levanta.io/seller/api-docs
paths:
  /reports/clicks:
    get:
      tags:
        - Reports
      summary: List Click Reports
      description: >-
        List click reports at the date/link granularity with a date range
        [start, end].
                        The difference in time between start and end date must be less than 1 year.
                        Dates must be specified in ISO format with no offset (UTC), format: "yyyy-MM-ddTHH:mm:ss.SSSZ".
      operationId: ListClickReports
      parameters:
        - schema:
            type: string
            format: date-time
            description: 'Date in ISO Format without offset (UTC): YYYY-MM-DDTHH:mm:ss.SSSZ'
          required: true
          description: 'Date in ISO Format without offset (UTC): YYYY-MM-DDTHH:mm:ss.SSSZ'
          name: start
          in: query
        - schema:
            type: string
            format: date-time
            description: 'Date in ISO Format without offset (UTC): YYYY-MM-DDTHH:mm:ss.SSSZ'
          required: true
          description: 'Date in ISO Format without offset (UTC): YYYY-MM-DDTHH:mm:ss.SSSZ'
          name: end
          in: query
        - schema:
            type: string
            description: >-
              Comma-delimited list of strings representing an array. Example:
              1,2,3 equivalent to [1,2,3]
          required: false
          description: >-
            Comma-delimited list of strings representing an array. Example:
            1,2,3 equivalent to [1,2,3]
          name: brand_ids
          in: query
        - schema:
            type: string
            description: >-
              Amazon Standard Identifier (ASIN) for an Amazon product. Example:
              B09G9FPHY6
          required: false
          description: >-
            Amazon Standard Identifier (ASIN) for an Amazon product. Example:
            B09G9FPHY6
          name: asin
          in: query
        - schema:
            type: number
            minimum: 1
            maximum: 100
            default: 25
            description: The maximum number of items to return
          required: false
          description: The maximum number of items to return
          name: limit
          in: query
        - schema:
            type: string
            maxLength: 512
            description: >-
              The cursor returned from the last request, if omitted the first
              page will be returned
          required: false
          description: >-
            The cursor returned from the last request, if omitted the first page
            will be returned
          name: cursor
          in: query
        - schema:
            type: string
            enum:
              - all
              - amazon.com
              - amazon.co.uk
              - amazon.com.mx
              - amazon.ca
              - amazon.de
              - amazon.es
              - amazon.fr
              - amazon.it
              - amazon.nl
            default: amazon.com
            description: >-
              Represents an Amazon marketplace. If "all" is specified then the
              scope is all marketplaces.
          required: false
          description: >-
            Represents an Amazon marketplace. If "all" is specified then the
            scope is all marketplaces.
          name: marketplace
          in: query
        - schema:
            type: string
            enum:
              - standard
              - cpc
              - all
            default: standard
            description: >-
              The type of payout the item is associated with - Standard:
              commissioning based off of a percentage of sales. Cpc: commissions
              awarded per click
          required: false
          description: >-
            The type of payout the item is associated with - Standard:
            commissioning based off of a percentage of sales. Cpc: commissions
            awarded per click
          name: payout_model
          in: query
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  reports:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        date:
                          type: string
                          format: date-time
                          description: >-
                            Date in ISO Format without offset (UTC):
                            YYYY-MM-DDTHH:mm:ss.SSSZ
                        marketplace:
                          type: string
                          enum:
                            - amazon.com
                            - amazon.co.uk
                            - amazon.com.mx
                            - amazon.ca
                            - amazon.de
                            - amazon.es
                            - amazon.fr
                            - amazon.it
                            - amazon.nl
                          description: Represents an Amazon marketplace.
                        asin:
                          type:
                            - string
                            - 'null'
                          description: >-
                            The ASIN of the product, if available. If there is
                            no ASIN available, clicks are not attributed to a
                            product, but instead are contributed to a
                            storefront.
                        linkId:
                          type: string
                        creatorId:
                          type:
                            - string
                            - 'null'
                          format: uuid
                        brandId:
                          type: string
                          format: uuid
                        clicks:
                          type: number
                        final:
                          type: boolean
                          description: When true the numbers in this report will not change
                        linkType:
                          type: string
                          description: The type of link that the clicks are attributed to.
                      required:
                        - id
                        - date
                        - marketplace
                        - asin
                        - linkId
                        - creatorId
                        - brandId
                        - clicks
                        - final
                        - linkType
                  cursor:
                    type:
                      - string
                      - 'null'
                    description: >-
                      The cursor to use for the next request, if empty there are
                      no more items to return
                required:
                  - reports
                  - cursor
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                    enum:
                      - Unauthorized
                required:
                  - status
                  - message
        '422':
          description: Input Validation Failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: number
                    enum:
                      - 422
                  message:
                    type: string
                    enum:
                      - Input Validation Failed
                required:
                  - status
                  - message
      security:
        - Bearer: []
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer

````