Lokki Order API

The Order API from Lokki — 48 operation(s) for order.

Operations 48

GET /v2/order/requests-with-messages #
GET /v2/order #
GET /v2/order/optimized #
GET /v2/order/optimized/unpaid #
GET /v2/order/request/{orderRequestId} #
GET /v2/order/ordersInfoByCustomerId/{customerId}/{year} #
GET /v2/order/get-by-subproduct/{subProductId} #
GET /v2/order/admin/listLokkiPaymentOrderTransactions #
GET /v2/order/admin/admin-pre-booking-orders #
GET /v2/order/getOrderDocumentsByDateRange #
GET /v2/order/count/requests-and-messages #
GET /v2/order/buildRequestForUpdate/{orderRequestId} #
GET /v2/order/pendingOrdersByCustomer/{customerId} #
GET /v2/order/{id} #
GET /v2/order/cashbookPdfExport/{lang} #
POST /v2/order/createOrder #
POST /v2/order/admin/create-agency-order #
POST /v2/order/approval-request/{orderRequestId} #
PUT /v2/order/updateOrder/{id} #
POST /v2/order/readyToGo/{orderId} #
POST /v2/order/email #
POST /v2/order/emails/{orderId}/opinionBooster #
POST /v2/order/{orderId}/emails/cancelation #
POST /v2/order/{orderId}/emails/deposit-release-receipt #
POST /v2/order/{orderId}/emails/deposit-receipt #
GET /v2/order/preBookingToOrder/{orderId} #
GET /v2/order/preBookingToOrderCheckAvailability/{orderId} #
PUT /v2/order/updateOrdersG8Status #
PUT /v2/order/updateOrdersShifterStatus #
POST /v2/order/{orderId}/allocateMaterial #
PUT /v2/order/allocateMaterial/returnProducts/{orderId} #
DELETE /v2/order/cancel/{orderId} #
DELETE /v2/order/deletePermanently/{orderId} #
POST /v2/order/generateDocument #
POST /v2/order/retryDocument/{orderId}/{documentId}/{lang} #
PUT /v2/order/messages/clear/{orderId} #
PUT /v2/order/updateNotes/{orderId} #
PUT /v2/order/attachFile/{orderId} #
GET /v2/order/download-attachment/{key} #
PUT /v2/order/deleteAttachment/{orderId}/{key} #
PUT /v2/order/updateExtInvoiceNumber/{orderId} #
POST /v2/order/generateStateDocument #
POST /v2/order/uploadSurveyDocuments/{orderId} #
GET /v2/order/isDocumentStateGenerating/{orderId} #
GET /v2/order/isDocumentGenerating/{orderId} #
POST /v2/order/set-status/{orderId}/{status} #
POST /v2/order/recover-payment-from-stripe/{companyId}/{orderId} #
POST /v2/order/recover-refund-from-stripe/{companyId}/{orderId} #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lokki-order-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lokki-order-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lokki Order API
  description: The main API powering the Lokki Dashboard and Online Store
  version: '2.0'
  contact: {}
servers: []
security:
- x-access-token: []
tags:
- name: Order
paths:
  /v2/order/requests-with-messages:
    get:
      operationId: getOrderRequestsPaginatedWithMessages
      parameters:
      - name: size
        required: true
        in: query
        schema:
          type: number
      - name: page
        required: true
        in: query
        schema:
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListPaginateFilterDto'
      tags:
      - Order
  /v2/order:
    get:
      operationId: getManyOrders
      parameters:
      - name: skip
        required: false
        in: query
        description: Number of documents to skip
        schema:
          minimum: 0
          default: 0
          type: number
      - name: limit
        required: false
        in: query
        description: Maximum number of documents to return
        schema:
          minimum: 1
          type: number
      - name: sort
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: 'Sort order for the results. Use ''__asc'' or ''__desc'' suffix to specify ascending or descending order respectively. Example: ''name__asc'''
      - name: fields
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Fields to include in the response
      - name: id.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: id.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: id.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: id.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: id.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: id.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: id.contains
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that contain the specified substring
      - name: id.regex
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match the specified regular expression
      - name: createdAt.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: createdAt.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: createdAt.equals
        required: false
        in: query
        description: Filter entries that match a specific date
        schema:
          type: string
      - name: createdAt.notEquals
        required: false
        in: query
        description: Filter entries that do not match a specific date
        schema:
          type: string
      - name: createdAt.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified dates
      - name: createdAt.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified dates
      - name: createdAt.gt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than the specified date
      - name: createdAt.lt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than the specified date
      - name: createdAt.gte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than or equal to the specified date
      - name: createdAt.lte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than or equal to the specified date
      - name: startDate.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: startDate.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: startDate.equals
        required: false
        in: query
        description: Filter entries that match a specific date
        schema:
          type: string
      - name: startDate.notEquals
        required: false
        in: query
        description: Filter entries that do not match a specific date
        schema:
          type: string
      - name: startDate.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified dates
      - name: startDate.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified dates
      - name: startDate.gt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than the specified date
      - name: startDate.lt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than the specified date
      - name: startDate.gte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than or equal to the specified date
      - name: startDate.lte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than or equal to the specified date
      - name: endDate.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: endDate.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: endDate.equals
        required: false
        in: query
        description: Filter entries that match a specific date
        schema:
          type: string
      - name: endDate.notEquals
        required: false
        in: query
        description: Filter entries that do not match a specific date
        schema:
          type: string
      - name: endDate.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified dates
      - name: endDate.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified dates
      - name: endDate.gt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than the specified date
      - name: endDate.lt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than the specified date
      - name: endDate.gte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than or equal to the specified date
      - name: endDate.lte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than or equal to the specified date
      - name: customerId.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: customerId.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: customerId.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: customerId.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: customerId.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: customerId.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: customerId.contains
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that contain the specified substring
      - name: customerId.regex
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match the specified regular expression
      - name: status__name.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: status__name.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: status__name.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: status__name.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: status__name.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: status__name.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: status__name.contains
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that contain the specified substring
      - name: status__name.regex
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match the specified regular expression
      - name: createdFrom.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: createdFrom.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: createdFrom.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: createdFrom.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: createdFrom.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: createdFrom.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: type.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: type.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: type.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: type.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: type.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: type.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: inRange.from
        required: false
        in: query
        schema:
          type: date
      - name: inRange.to
        required: false
        in: query
        schema:
          type: date
      - name: isRequest.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: isRequest.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: isRequest.equals
        required: false
        in: query
        description: Filter entries that match a specific value
        schema:
          type: boolean
      - name: isRequest.notEquals
        required: false
        in: query
        description: Filter entries that do not match a specific value
        schema:
          type: boolean
      - name: isRequest.withQuoteRequestPrebooking
        required: false
        in: query
        schema:
          type: boolean
      - name: isEnded.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: isEnded.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: isEnded.equals
        required: false
        in: query
        description: Filter entries that match a specific value
        schema:
          type: boolean
      - name: isEnded.notEquals
        required: false
        in: query
        description: Filter entries that do not match a specific value
        schema:
          type: boolean
      - name: paymentStatus
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
      - name: orderStatus
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
      - name: searchProducts
        required: false
        in: query
        schema:
          type: string
      - name: withPaymentV2
        required: false
        in: query
        schema:
          type: boolean
      - name: productId
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
      - name: subProductId
        required: false
        in: query
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetManyOrdersResponseDto'
      tags:
      - Order
  /v2/order/optimized:
    get:
      operationId: getOrdersOptimized
      parameters:
      - name: inRange.startDate
        required: false
        in: query
        schema:
          format: date-time
          type: string
      - name: inRange.endDate
        required: false
        in: query
        schema:
          format: date-time
          type: string
      - name: typeNotEquals
        required: false
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - ORDER
            - PRE_BOOKING
            - PRE_BOOKING_ADMIN
            - CANCELED
      - name: isRequest
        required: false
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CompleteOrder'
      tags:
      - Order
  /v2/order/optimized/unpaid:
    get:
      operationId: getUnpaidOrders
      parameters:
      - name: inRange.startDate
        required: false
        in: query
        schema:
          format: date-time
          type: string
      - name: inRange.endDate
        required: false
        in: query
        schema:
          format: date-time
          type: string
      - name: typeNotEquals
        required: false
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - ORDER
            - PRE_BOOKING
            - PRE_BOOKING_ADMIN
            - CANCELED
      - name: isRequest
        required: false
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/UnpaidOrderSimplifiedDto'
      tags:
      - Order
  /v2/order/request/{orderRequestId}:
    get:
      operationId: getOrderRequestById
      parameters:
      - name: orderRequestId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompleteOrder'
      tags:
      - Order
  /v2/order/ordersInfoByCustomerId/{customerId}/{year}:
    get:
      operationId: ordersInfoByCustomerId
      parameters:
      - name: customerId
        required: true
        in: path
        description: The ID of the customer
        example: 65b2f3d1b7a4e8f1a2c3d4e5
        schema:
          type: string
      - name: year
        required: true
        in: path
        description: Year to filter on (0 aggregates across all years)
        example: 0
        schema:
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrdersInfoForCustomerDto'
      tags:
      - Order
  /v2/order/get-by-subproduct/{subProductId}:
    get:
      operationId: getOrdersBySubProductId
      parameters:
      - name: subProductId
        required: true
        in: path
        schema:
          type: string
      - name: page
        required: false
        in: query
        schema:
          minimum: 1
          default: 1
          type: number
      - name: limit
        required: false
        in: query
        schema:
          maximum: 15
          default: 15
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetManyOrdersResponseDto'
      tags:
      - Order
  /v2/order/admin/listLokkiPaymentOrderTransactions:
    get:
      operationId: listLokkiPaymentOrderTransactions
      parameters:
      - name: companyIds
        required: true
        in: query
        schema:
          type: array
          items:
            type: string
      - name: startDate
        required: true
        in: query
        schema:
          format: date-time
          type: string
      - name: endDate
        required: true
        in: query
        schema:
          format: date-time
          type: string
      - name: page
        required: true
        in: query
        schema:
          type: number
      - name: limit
        required: true
        in: query
        schema:
          type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedLokkiPaymentOrderTransactionInfos'
      tags:
      - Order
  /v2/order/admin/admin-pre-booking-orders:
    get:
      operationId: getAdminPreBookingOrders
      parameters:
      - name: startDate
        required: true
        in: query
        schema:
          format: date-time
          type: string
      - name: endDate
        required: true
        in: query
        schema:
          format: date-time
          type: string
      - name: page
        required: true
        in: query
        schema:
          minimum: 0
          type: number
      - name: limit
        required: true
        in: query
        schema:
          minimum: 0
          type: number
      - name: searchEmail
        required: false
        in: query
        schema:
          type: string
      - name: searchId
        required: false
        in: query
        schema:
          type: string
      - name: transformed
        required: false
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminPreBookingOrders'
      tags:
      - Order
  /v2/order/getOrderDocumentsByDateRange:
    get:
      operationId: getOrderDocumentsByDateRange
      parameters:
      - name: startDate
        required: true
        in: query
        schema:
          format: date-time
          type: string
      - name: endDate
        required: true
        in: query
        schema:
          format: date-time
          type: string
      - name: page
        required: false
        in: query
        schema:
          minimum: 1
          default: 1
          type: number
      - name: limit
        required: false
        in: query
        schema:
          maximum: 30
          default: 15
          type: number
      - name: searchCustomer
        required: false
        in: query
        schema:
          default: ''
          type: string
      - name: documentName
        required: false
        in: query
        schema:
          default: ''
          type: string
      - name: searchProducts
        required: false
        in: query
        schema:
          default: ''
          type: string
      - name: state
        required: false
        in: query
        schema:
          default: []
          type: array
          items:
            type: string
            enum:
            - TODAY
            - TO_COME
            - IN_PROGRESS
            - LATE
            - ENDED
            - PASS
            - PRE_BOOKING
            - PRE_BOOKING_ADMIN
            - CANCELED
      - name: personalStatus
        required: false
        in: query
        schema:
          default: []
          type: array
          items:
            type: string
      - name: documentStatus
        required: false
        in: query
        schema:
          enum:
          - NOTUPTODATE
          - WAITING
          - SIGNED
          - SENT
          type: string
      - name: createFromStatus
        required: false
        in: query
        schema:
          default: []
          type: array
          items:
            type: string
            enum:
            - DASHBOARD
            - QUICK_ORDER
            - ONLINE_STORE
            - RENTAL_PLACE_B2B
            - RENTAL_PLACE_LOKKI
            - BORNE
            - SKISET
            - SKIMIUM
            - UNKNOWN
            - TEST
            - ADMIN_IMPORT
      - name: withPaymentV2
        required: false
        in: query
        schema:
          default: false
          type: boolean
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentsByOrderPaginationDto'
      tags:
      - Order
  /v2/order/count/requests-and-messages:
    get:
      operationId: countOrderRequestsAndCancelations
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: number
      tags:
      - Order
  /v2/order/buildRequestForUpdate/{orderRequestId}:
    get:
      operationId: getConvertedOrderFromOrderRequestId
      parameters:
      - name: orderRequestId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateUpdateOrderBodyDto'
      tags:
      - Order
  /v2/order/pendingOrdersByCustomer/{customerId}:
    get:
      operationId: getPendingOrdersByCustomer
      parameters:
      - name: customerId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CompleteOrder'
      tags:
      - Order
  /v2/order/{id}:
    get:
      operationId: getOrderById
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompleteOrder'
      tags:
      - Order
  /v2/order/cashbookPdfExport/{lang}:
    get:
      operationId: getCashbookPdfExport
      parameters:
      - name: startDate
        required: true
        in: query
        schema:
          format: date-time
          type: string
      - name: endDate
        required: true
        in: query
        schema:
          format: date-time
          type: string
      - name: page
        required: false
        in: query
        schema:
          minimum: 1
          default: 1
          type: number
      - name: limit
        required: false
        in: query
        schema:
          maximum: 30
          default: 15
          type: number
      - name: searchCustomer
        required: false
        in: query
        schema:
          default: ''
          type: string
      - name: documentName
        required: false
        in: query
        schema:
          default: ''
          type: string
      - name: searchProducts
        required: false
        in: query
        schema:
          default: ''
          type: string
      - name: state
        required: false
        in: query
        schema:
          default: []
          type: array
          items:
            type: string
            enum:
            - TODAY
            - TO_COME
            - IN_PROGRESS
            - LATE
            - ENDED
            - PASS
            - PRE_BOOKING
            - PRE_BOOKING_ADMIN
            - CANCELED
      - name: personalStatus
        required: false
        in: query
        schema:
          default: []
          type: array
          items:
            type: string
      - name: documentStatus
        required: false
        in: query
        schema:
          enum:
          - NOTUPTODATE
          - WAITING
          - SIGNED
          - SENT
          type: string
      - name: createFromStatus
        required: false
        in: query
        schema:
          default: []
          type: array
          items:
            type: string
            enum:
            - DASHBOARD
            - QUICK_ORDER
            - ONLINE_STORE
            - RENTAL_PLACE_B2B
            - RENTAL_PLACE_LOKKI
            - BORNE
            - SKISET
            - SKIMIUM
            - UNKNOWN
            - TEST
            - ADMIN_IMPORT
      - name: withPaymentV2
        required: false
        in: query
        schema:
          default: false
          type: boolean
      - name: lang
        required: true
        in: path
        schema:
          type: string
      responses:
   

# --- truncated at 32 KB (126 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lokki/refs/heads/main/openapi/lokki-order-api-openapi.yml