Lokki G8 API

The G8 Api API from Lokki — 2 operation(s) for g8 api.

Operations 2

GET /v2/g8-api/orderToImport #
PUT /v2/g8-api/updateOrderG8Id #

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-g8-api-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-g8-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lokki G8 API
  description: The main API powering the Lokki Dashboard and Online Store
  version: '2.0'
  contact: {}
servers: []
security:
- x-access-token: []
tags:
- name: G8 Api
paths:
  /v2/g8-api/orderToImport:
    get:
      operationId: g8OrderToImport
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PointOfSalesOrdersToImport'
      tags:
      - G8 Api
  /v2/g8-api/updateOrderG8Id:
    put:
      operationId: updateOrderG8Id
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrderG8Id'
      responses:
        '200':
          description: ''
      tags:
      - G8 Api
components:
  schemas:
    G8Ids:
      type: object
      properties:
        lokkiOrderId:
          type: string
        g8OrderId:
          type: string
      required:
      - lokkiOrderId
      - g8OrderId
    PointOfSalesItemDiscount:
      type: object
      properties:
        discountType:
          type: string
          enum:
          - AMOUNT
          - PERCENTAGE
        discountAmount:
          type: number
      required:
      - discountType
      - discountAmount
    PointOfSalesOrderWarrantDto:
      type: object
      properties:
        totalAmountTTC:
          type: number
        vat:
          type: number
        quantity:
          type: number
      required:
      - totalAmountTTC
      - vat
      - quantity
    PointOfSalesOrderPromoCodeDto:
      type: object
      properties:
        discountAmount:
          type: number
        discountType:
          type: string
          enum:
          - PERCENTAGE
          - AMOUNT
        appliesToDelivery:
          type: boolean
      required:
      - discountAmount
      - discountType
      - appliesToDelivery
    PointOfSalesOrdersToImport:
      type: object
      properties:
        orders:
          type: array
          items:
            $ref: '#/components/schemas/PointOfSalesOrderDto'
      required:
      - orders
    PointOfSalesOrderDeliveryDto:
      type: object
      properties:
        amountTTC:
          type: number
        vat:
          type: number
      required:
      - amountTTC
      - vat
    PointOfSalesOrderItemDto:
      type: object
      properties:
        quantity:
          type: number
        totalTTC:
          type: number
        totalHT:
          type: number
        name:
          type: string
        vat:
          type: number
        discount:
          $ref: '#/components/schemas/PointOfSalesItemDiscount'
        discountedTotalHT:
          type: number
        discountedTotalTTC:
          type: number
      required:
      - quantity
      - totalTTC
      - totalHT
      - name
      - vat
    PointOfSalesOrderCustomerDto:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
          - entreprise
          - individual
        email:
          type: string
        phone:
          type: string
        firstName:
          type: string
        companyName:
          type: string
        lastName:
          type: string
        address:
          type: string
        zipCode:
          type: string
        city:
          type: string
        streetNumber:
          type: string
      required:
      - id
      - type
      - email
      - phone
      - firstName
      - companyName
      - lastName
      - address
      - zipCode
      - city
      - streetNumber
    UpdateOrderG8Id:
      type: object
      properties:
        g8Ids:
          type: array
          items:
            $ref: '#/components/schemas/G8Ids'
      required:
      - g8Ids
    PointOfSalesOrderPaymentDto:
      type: object
      properties:
        amount:
          type: number
        paymentMethod:
          type: string
          enum:
          - Carte bleue
          - Espèces
          - Chèques
          - Chèque vacances
          - Virement
          - Autre
          - Boutique en ligne
          - Lien de paiement
        paymentDate:
          format: date-time
          type: string
        id:
          type: string
      required:
      - amount
      - paymentMethod
      - paymentDate
      - id
    PointOfSalesOrderDto:
      type: object
      properties:
        orderId:
          type: string
        startDateUtc:
          format: date-time
          type: string
        endDateUtc:
          format: date-time
          type: string
        percentageOfDiscount:
          type:
          - number
          - 'null'
        promoCode:
          allOf:
          - $ref: '#/components/schemas/PointOfSalesOrderPromoCodeDto'
        deliveryPrice:
          allOf:
          - $ref: '#/components/schemas/PointOfSalesOrderDeliveryDto'
        description:
          type: string
        totalTTC:
          type: number
        totalHT:
          type: number
        items:
          type: array
          items:
            $ref: '#/components/schemas/PointOfSalesOrderItemDto'
        payments:
          type: array
          items:
            $ref: '#/components/schemas/PointOfSalesOrderPaymentDto'
        customer:
          $ref: '#/components/schemas/PointOfSalesOrderCustomerDto'
        warrant:
          allOf:
          - $ref: '#/components/schemas/PointOfSalesOrderWarrantDto'
        currency:
          type: string
        type:
          type: string
          enum:
          - ORDER
          - EVENT
      required:
      - orderId
      - startDateUtc
      - endDateUtc
      - percentageOfDiscount
      - promoCode
      - deliveryPrice
      - description
      - totalTTC
      - totalHT
      - items
      - payments
      - customer
      - warrant
      - currency
      - type
  securitySchemes:
    x-access-token:
      scheme: bearer
      bearerFormat: JWT
      type: apiKey
      in: header
      name: x-access-token