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

# Summarise the partnership's order lines

> The line types the Orders room shows the calling partnership, each with its total (in the company's base currency) and line count, and for a distributor the linked resellers whose lines it can read. Only line types the vendor marked for partners appear, narrowed to the types the Orders room is set to show. Needs the Orders room in the partner portal and the Sales reports module.



## OpenAPI

````yaml /partner-openapi.json get /partner/{partnershipId}/order-lines/summary
openapi: 3.1.0
info:
  title: Journeybee Partner API
  description: Partner-facing REST API for the Journeybee PRM platform.
  version: 1.0.0
servers:
  - url: https://api.journeybee.io/v1
    description: Production
security:
  - apiKey: []
tags:
  - name: Partner
    description: Partner-facing API endpoints — used only by the partner spec
paths:
  /partner/{partnershipId}/order-lines/summary:
    get:
      tags:
        - Partner
      summary: Summarise the partnership's order lines
      description: >-
        The line types the Orders room shows the calling partnership, each with
        its total (in the company's base currency) and line count, and for a
        distributor the linked resellers whose lines it can read. Only line
        types the vendor marked for partners appear, narrowed to the types the
        Orders room is set to show. Needs the Orders room in the partner portal
        and the Sales reports module.
      operationId: getPartnerOrderLinesSummary
      parameters:
        - schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          in: query
          name: reseller_id
          required: false
          description: >-
            A distributor only: the uuid of a reseller linked beneath it.
            Returns that reseller's lines that came from this distributor's own
            importers. Omit for the partnership's own lines.
        - schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
          in: path
          name: partnershipId
          required: true
      responses:
        '200':
          description: >-
            The line types the Orders room shows for the partnership, with
            totals in the company's base currency, and (for a distributor) the
            resellers it can switch to.
          content:
            application/json:
              schema:
                type: object
                properties:
                  currency:
                    anyOf:
                      - type: string
                      - type: 'null'
                  types:
                    type: array
                    items:
                      type: object
                      properties:
                        key:
                          type: string
                        label:
                          type: string
                        value:
                          type: number
                        count:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        unconverted_row_count:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        unconverted_currencies:
                          type: array
                          items:
                            type: string
                        keeps_every_line:
                          type: boolean
                      required:
                        - key
                        - label
                        - value
                        - count
                        - unconverted_row_count
                        - unconverted_currencies
                        - keeps_every_line
                      additionalProperties: false
                  resellers:
                    type: array
                    items:
                      type: object
                      properties:
                        uuid:
                          type: string
                        name:
                          anyOf:
                            - type: string
                            - type: 'null'
                      required:
                        - uuid
                        - name
                      additionalProperties: false
                required:
                  - currency
                  - types
                  - resellers
                additionalProperties: false
                description: >-
                  The line types the Orders room shows for the partnership, with
                  totals in the company's base currency, and (for a distributor)
                  the resellers it can switch to.
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: API key authentication. Use "Bearer <api_key>" or "Api-Key <api_key>".

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.