OPC Suite Sales API

Quotations and sales orders.

GitHub OpenAPI

Operations 10

GET /api/quotations List quotations #
POST /api/quotations Create a quotation #
GET /api/quotations/{id} Get a quotation #
PATCH /api/quotations/{id} Update a quotation #
DELETE /api/quotations/{id} Delete a quotation #
GET /api/sales-orders List sales-orders #
POST /api/sales-orders Create a sales order #
GET /api/sales-orders/{id} Get a sales order #
PATCH /api/sales-orders/{id} Update a sales order #
DELETE /api/sales-orders/{id} Delete a sales order #

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/myopc-io:myopc-io-sales-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

myopc-io-sales-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Myopc Io Sales API
  version: 1.0.0
  contact:
    name: OPC Suite Support
    email: support@tsa-ai.com
    url: https://www.myopc.io/developers
  termsOfService: https://www.myopc.io/terms
  description: 'Operations tagged Sales across 2 of this provider''s published API definitions: openapi.json, myopc-io-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.myopc.io
  description: OPC Suite
security:
- bearerAuth: []
- oauth2: []
tags:
- name: Sales
  description: Quotations and sales orders.
paths:
  /api/quotations:
    get:
      tags:
      - Sales
      summary: List quotations
      operationId: list_quotations
      security:
      - bearerAuth:
        - quotations.read
      - oauth2:
        - quotations.read
      parameters: []
      responses:
        '200':
          description: A list of quotations.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      tags:
      - Sales
      summary: Create a quotation
      operationId: create_quotations
      security:
      - bearerAuth:
        - quotations.write
      - oauth2:
        - quotations.write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: The created quotation.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
    servers:
    - url: https://www.myopc.io
      description: OPC Suite
  /api/quotations/{id}:
    get:
      tags:
      - Sales
      summary: Get a quotation
      operationId: get_quotations
      security:
      - bearerAuth:
        - quotations.read
      - oauth2:
        - quotations.read
      parameters:
      - name: id
        in: path
        required: true
        description: The quotation ID.
        schema:
          type: string
      responses:
        '200':
          description: The requested quotation.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found.
    patch:
      tags:
      - Sales
      summary: Update a quotation
      operationId: update_quotations
      security:
      - bearerAuth:
        - quotations.write
      - oauth2:
        - quotations.write
      parameters:
      - name: id
        in: path
        required: true
        description: The quotation ID.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: The updated quotation.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found.
    delete:
      tags:
      - Sales
      summary: Delete a quotation
      operationId: delete_quotations
      security:
      - bearerAuth:
        - quotations.write
      - oauth2:
        - quotations.write
      parameters:
      - name: id
        in: path
        required: true
        description: The quotation ID.
        schema:
          type: string
      responses:
        '200':
          description: The quotation was deleted.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found.
    servers:
    - url: https://www.myopc.io
      description: OPC Suite
  /api/sales-orders:
    get:
      tags:
      - Sales
      summary: List sales-orders
      operationId: list_sales
      security:
      - bearerAuth:
        - sales.read
      - oauth2:
        - sales.read
      parameters: []
      responses:
        '200':
          description: A list of sales-orders.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      tags:
      - Sales
      summary: Create a sales order
      operationId: create_sales
      security:
      - bearerAuth:
        - sales.write
      - oauth2:
        - sales.write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: The created sales order.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
    servers:
    - url: https://www.myopc.io
      description: OPC Suite
  /api/sales-orders/{id}:
    get:
      tags:
      - Sales
      summary: Get a sales order
      operationId: get_sales
      security:
      - bearerAuth:
        - sales.read
      - oauth2:
        - sales.read
      parameters:
      - name: id
        in: path
        required: true
        description: The sales order ID.
        schema:
          type: string
      responses:
        '200':
          description: The requested sales order.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found.
    patch:
      tags:
      - Sales
      summary: Update a sales order
      operationId: update_sales
      security:
      - bearerAuth:
        - sales.write
      - oauth2:
        - sales.write
      parameters:
      - name: id
        in: path
        required: true
        description: The sales order ID.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: The updated sales order.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found.
    delete:
      tags:
      - Sales
      summary: Delete a sales order
      operationId: delete_sales
      security:
      - bearerAuth:
        - sales.write
      - oauth2:
        - sales.write
      parameters:
      - name: id
        in: path
        required: true
        description: The sales order ID.
        schema:
          type: string
      responses:
        '200':
          description: The sales order was deleted.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Not found.
    servers:
    - url: https://www.myopc.io
      description: OPC Suite
components:
  responses:
    Forbidden:
      description: The token lacks the required scope.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
    Unauthorized:
      description: Missing or invalid credentials.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
    SubscriptionRequired:
      description: The account's subscription is not active.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
              message:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Personal access token (opc_pat_…) from /dashboard/settings/developer.
    oauth2:
      type: oauth2
      description: OAuth 2.1 authorization code + PKCE.
      flows:
        authorizationCode:
          authorizationUrl: https://www.myopc.io/oauth/authorize
          tokenUrl: https://www.myopc.io/oauth/token
          scopes: {}
x-refined-from:
- openapi.json
- myopc-io-openapi.json
x-provenance:
  method: harvested
  publisher: OPC Suite
  source: https://myopc.io/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)