701x Company Purchase API

The CompanyPurchase API from 701x — 8 operation(s) for companypurchase.

Operations 8

GET /CompanyPurchase/Get/{id} Get company purchase get by id #
GET /CompanyPurchase/Get Get company purchase get #
POST /CompanyPurchase/Post Create company purchase post #
PUT /CompanyPurchase/Put/{id} Replace company purchase put by id #
DELETE /CompanyPurchase/Delete/{id} Delete company purchase delete by id #
POST /CompanyPurchase/MassInsert Create company purchase mass insert #
POST /CompanyPurchase/MassUpdate Create company purchase mass update #
POST /CompanyPurchase/MassDelete Create company purchase mass delete #

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/701x-companypurchase-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

701x-companypurchase-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 701x API V1 Company Purchase API
  description: 701x API
  version: v1
tags:
- name: CompanyPurchase
paths:
  /CompanyPurchase/Get/{id}:
    get:
      tags:
      - CompanyPurchase
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
            application/json:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
            text/json:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - API701x
      summary: Get company purchase get by id
      x-summary-source: derived
      operationId: getCompanyPurchaseGetById
      x-operation-id-source: derived
  /CompanyPurchase/Get:
    get:
      tags:
      - CompanyPurchase
      parameters:
      - name: top
        in: query
        schema:
          type:
          - integer
          - 'null'
          format: int32
      - name: orderBy
        in: query
        schema:
          type:
          - string
          - 'null'
      - name: offset
        in: query
        schema:
          type:
          - integer
          - 'null'
          format: int32
      - name: fetch
        in: query
        schema:
          type:
          - integer
          - 'null'
          format: int32
      - name: CompanyId
        in: query
        schema:
          type:
          - string
          - 'null'
          format: uuid
      - name: FromCompanyId
        in: query
        schema:
          type:
          - string
          - 'null'
          format: uuid
      - name: FromFarmId
        in: query
        schema:
          type:
          - string
          - 'null'
          format: uuid
      - name: ToCompanyId
        in: query
        schema:
          type:
          - string
          - 'null'
          format: uuid
      - name: ToFarmId
        in: query
        schema:
          type:
          - string
          - 'null'
          format: uuid
      - name: CartId
        in: query
        schema:
          type:
          - string
          - 'null'
          format: uuid
      - name: LessThenCreatedByDate
        in: query
        schema:
          type:
          - string
          - 'null'
          format: date-time
      - name: GreaterThenCreatedByDate
        in: query
        schema:
          type:
          - string
          - 'null'
          format: date-time
      - name: LessThenUpdatedByDate
        in: query
        schema:
          type:
          - string
          - 'null'
          format: date-time
      - name: GreaterThenUpdatedByDate
        in: query
        schema:
          type:
          - string
          - 'null'
          format: date-time
      - name: LessThenDeletedByDate
        in: query
        schema:
          type:
          - string
          - 'null'
          format: date-time
      - name: GreaterThenDeletedByDate
        in: query
        schema:
          type:
          - string
          - 'null'
          format: date-time
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - API701x
      summary: Get company purchase get
      x-summary-source: derived
      operationId: getCompanyPurchaseGet
      x-operation-id-source: derived
  /CompanyPurchase/Post:
    post:
      tags:
      - CompanyPurchase
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Company_Purchase'
          application/json:
            schema:
              $ref: '#/components/schemas/Company_Purchase'
          text/json:
            schema:
              $ref: '#/components/schemas/Company_Purchase'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Company_Purchase'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
            application/json:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
            text/json:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - API701x
      summary: Create company purchase post
      x-summary-source: derived
      operationId: postCompanyPurchasePost
      x-operation-id-source: derived
  /CompanyPurchase/Put/{id}:
    put:
      tags:
      - CompanyPurchase
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Company_Purchase'
          application/json:
            schema:
              $ref: '#/components/schemas/Company_Purchase'
          text/json:
            schema:
              $ref: '#/components/schemas/Company_Purchase'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Company_Purchase'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
            application/json:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
            text/json:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - API701x
      summary: Replace company purchase put by id
      x-summary-source: derived
      operationId: putCompanyPurchasePutById
      x-operation-id-source: derived
  /CompanyPurchase/Delete/{id}:
    delete:
      tags:
      - CompanyPurchase
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
            application/json:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
            text/json:
              schema:
                $ref: '#/components/schemas/Company_Purchase'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - API701x
      summary: Delete company purchase delete by id
      x-summary-source: derived
      operationId: deleteCompanyPurchaseDeleteById
      x-operation-id-source: derived
  /CompanyPurchase/MassInsert:
    post:
      tags:
      - CompanyPurchase
      requestBody:
        content:
          application/json-patch+json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
          application/json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
          text/json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
          application/*+json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - API701x
      summary: Create company purchase mass insert
      x-summary-source: derived
      operationId: postCompanyPurchaseMassInsert
      x-operation-id-source: derived
  /CompanyPurchase/MassUpdate:
    post:
      tags:
      - CompanyPurchase
      requestBody:
        content:
          application/json-patch+json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
          application/json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
          text/json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
          application/*+json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - API701x
      summary: Create company purchase mass update
      x-summary-source: derived
      operationId: postCompanyPurchaseMassUpdate
      x-operation-id-source: derived
  /CompanyPurchase/MassDelete:
    post:
      tags:
      - CompanyPurchase
      requestBody:
        content:
          application/json-patch+json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
          application/json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
          text/json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
          application/*+json:
            schema:
              type:
              - array
              - 'null'
              items:
                $ref: '#/components/schemas/Company_Purchase'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Company_Purchase'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
      - oauth2:
        - API701x
      summary: Create company purchase mass delete
      x-summary-source: derived
      operationId: postCompanyPurchaseMassDelete
      x-operation-id-source: derived
components:
  schemas:
    Company_Purchase:
      type: object
      properties:
        id:
          type: string
          format: uuid
        companySaleId:
          type:
          - string
          - 'null'
          format: uuid
        companyTransferId:
          type:
          - string
          - 'null'
          format: uuid
        cartId:
          type:
          - string
          - 'null'
          format: uuid
        fromCompanyId:
          type:
          - string
          - 'null'
          format: uuid
        fromFarmId:
          type:
          - string
          - 'null'
          format: uuid
        fromEmail:
          type:
          - string
          - 'null'
        toCompanyId:
          type:
          - string
          - 'null'
          format: uuid
        toFarmId:
          type:
          - string
          - 'null'
          format: uuid
        toEmail:
          type:
          - string
          - 'null'
        organization:
          type:
          - string
          - 'null'
        displayName:
          type:
          - string
          - 'null'
        contactId:
          type:
          - string
          - 'null'
          format: uuid
        referenceNumber:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
        marketingMethod:
          type:
          - string
          - 'null'
        isTicket:
          type:
          - boolean
          - 'null'
        checkNumber:
          type:
          - string
          - 'null'
        paymentMethod:
          type:
          - string
          - 'null'
        paidDate:
          type:
          - string
          - 'null'
          format: date-time
        soldDate:
          type:
          - string
          - 'null'
          format: date-time
        deliveryDate:
          type:
          - string
          - 'null'
          format: date-time
        deliveryPrice:
          type:
          - number
          - 'null'
          format: double
        laborPrice:
          type:
          - number
          - 'null'
          format: double
        feePrice:
          type:
          - number
          - 'null'
          format: double
        deliveryCost:
          type:
          - number
          - 'null'
          format: double
        laborCost:
          type:
          - number
          - 'null'
          format: double
        feeCost:
          type:
          - number
          - 'null'
          format: double
        cattleCost:
          type:
          - number
          - 'null'
          format: double
        itemCosts:
          type:
          - number
          - 'null'
          format: double
        totalFees:
          type:
          - number
          - 'null'
          format: double
        total:
          type:
          - number
          - 'null'
          format: double
        perHead:
          type:
          - boolean
          - 'null'
        perIndividual:
          type:
          - boolean
          - 'null'
        perWeight:
          type:
          - boolean
          - 'null'
        perGross:
          type:
          - boolean
          - 'null'
        cattleWeight:
          type:
          - number
          - 'null'
          format: double
        perIndividualWeight:
          type:
          - boolean
          - 'null'
        perGrossWeight:
          type:
          - boolean
          - 'null'
        sentByDate:
          type:
          - string
          - 'null'
          format: date-time
        sentByUserId:
          type:
          - string
          - 'null'
          format: uuid
        approvedByDate:
          type:
          - string
          - 'null'
          format: date-time
        approvedByUserId:
          type:
          - string
          - 'null'
          format: uuid
        deniedByDate:
          type:
          - string
          - 'null'
          format: date-time
        deniedByUserId:
          type:
          - string
          - 'null'
          format: uuid
        cancelledByDate:
          type:
          - string
          - 'null'
          format: date-time
        cancelledByUserId:
          type:
          - string
          - 'null'
          format: uuid
        fromCompanyDescription:
          type:
          - string
          - 'null'
        fromFarmDescription:
          type:
          - string
          - 'null'
        toCompanyDescription:
          type:
          - string
          - 'null'
        toFarmDescription:
          type:
          - string
          - 'null'
        animalCount:
          type:
          - integer
          - 'null'
          format: int32
        tagCount:
          type:
          - integer
          - 'null'
          format: int32
        legacyId:
          type:
          - string
          - 'null'
        createdByDate:
          type:
          - string
          - 'null'
          format: date-time
        createdByUserId:
          type:
          - string
          - 'null'
          format: uuid
        createdByName:
          type:
          - string
          - 'null'
        lastUpdatedByDate:
          type:
          - string
          - 'null'
          format: date-time
        lastUpdatedByUserId:
          type:
          - string
          - 'null'
          format: uuid
        lastUpdatedByName:
          type:
          - string
          - 'null'
        inActiveDate:
          type:
          - string
          - 'null'
          format: date-time
        lastSyncEpoch:
          type:
          - integer
          - 'null'
          format: int64
        deleteSyncEpoch:
          type:
          - integer
          - 'null'
          format: int64
        isNew:
          type: boolean
        isUpdate:
          type: boolean
        isDelete:
          type: boolean
        error:
          type:
          - string
          - 'null'
      additionalProperties: false
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://login.701x.com/connect/authorize
          tokenUrl: https://login.701x.com/connect/token
          scopes:
            api1: Demo API - full access