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

# Post v1accountget supplier order

> Read the supplier order for an endpoint.



## OpenAPI

````yaml /openapi-gateway.json post /v1/account/get-supplier-order
openapi: 3.1.0
info:
  title: Qubrics API
  version: 1.0.0
servers:
  - url: https://api.qubrics.com
security:
  - bearerAuth: []
paths:
  /v1/account/get-supplier-order:
    post:
      description: Read the supplier order for an endpoint.
      operationId: getSupplierOrder
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                endpoint_id:
                  maxLength: 128
                  minLength: 1
                  type: string
              required:
                - endpoint_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplierOrderResponse'
          description: Successful response.
          headers:
            Cache-Control:
              required: true
              schema:
                const: no-store
                type: string
            X-Request-Id:
              required: true
              schema:
                type: string
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Invalid request parameters.
          headers:
            Cache-Control:
              required: true
              schema:
                const: no-store
                type: string
            X-Request-Id:
              required: true
              schema:
                type: string
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Missing or invalid API key.
          headers:
            Cache-Control:
              required: true
              schema:
                const: no-store
                type: string
            WWW-Authenticate:
              schema:
                type: string
            X-Request-Id:
              required: true
              schema:
                type: string
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The API key lacks the required permission.
          headers:
            Cache-Control:
              required: true
              schema:
                const: no-store
                type: string
            X-Request-Id:
              required: true
              schema:
                type: string
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: The endpoint is unavailable or does not exist.
          headers:
            Cache-Control:
              required: true
              schema:
                const: no-store
                type: string
            X-Request-Id:
              required: true
              schema:
                type: string
        '413':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Request body is too large.
          headers:
            Cache-Control:
              required: true
              schema:
                const: no-store
                type: string
            X-Request-Id:
              required: true
              schema:
                type: string
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamRateLimited'
          description: >-
            The team reached its request limit. Retry after the current window
            resets.
          headers:
            Cache-Control:
              required: true
              schema:
                const: no-store
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              required: true
              schema:
                minimum: 1
                type: integer
            X-RateLimit-Limit:
              description: The team's allowance for the current one-second window.
              required: true
              schema:
                minimum: 0
                type: integer
            X-RateLimit-Remaining:
              description: Requests remaining in the current window.
              required: true
              schema:
                minimum: 0
                type: integer
            X-RateLimit-Reset:
              description: The start of the next window in Unix seconds.
              required: true
              schema:
                minimum: 0
                type: integer
            X-Request-Id:
              required: true
              schema:
                type: string
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unable to complete the request.
          headers:
            Cache-Control:
              required: true
              schema:
                const: no-store
                type: string
            X-Request-Id:
              required: true
              schema:
                type: string
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Service temporarily unavailable.
          headers:
            Cache-Control:
              required: true
              schema:
                const: no-store
                type: string
            Retry-After:
              schema:
                type: integer
            X-Request-Id:
              required: true
              schema:
                type: string
components:
  schemas:
    SupplierOrderResponse:
      additionalProperties: false
      properties:
        data:
          additionalProperties: false
          properties:
            endpoint_id:
              type: string
            supplier_order:
              items:
                type: string
              type: array
          required:
            - endpoint_id
            - supplier_order
          type: object
        meta:
          $ref: '#/components/schemas/RequestMeta'
        ok:
          const: true
          type: boolean
      required:
        - data
        - meta
        - ok
      type: object
    ErrorResponse:
      additionalProperties: false
      properties:
        error:
          additionalProperties: false
          properties:
            code:
              type: string
            doc_url:
              format: uri
              type: string
            message:
              type: string
            retryable:
              type: boolean
          required:
            - code
            - doc_url
            - message
            - retryable
          type: object
        meta:
          $ref: '#/components/schemas/RequestMeta'
        ok:
          const: false
          type: boolean
      required:
        - error
        - meta
        - ok
      type: object
    TeamRateLimited:
      additionalProperties: false
      properties:
        error:
          additionalProperties: false
          properties:
            code:
              const: rate_limit_exceeded
              type: string
            doc_url:
              format: uri
              type: string
            message:
              type: string
            retryable:
              const: true
              type: boolean
          required:
            - code
            - doc_url
            - message
            - retryable
          type: object
        meta:
          $ref: '#/components/schemas/RequestMeta'
        ok:
          const: false
          type: boolean
      required:
        - error
        - meta
        - ok
      type: object
    RequestMeta:
      additionalProperties: false
      properties:
        request_id:
          type: string
      required:
        - request_id
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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