---
updatedAt: 2026-08-07T16:25:02.000Z
agentTools:
  projectIndex: https://docs.elationhealth.com/llms.txt
---

# Create Lab Vendor

Create a new lab vendor.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "BiDiLabConnection": {
        "properties": {
          "alias": {
            "description": "Get the alias of the connection.",
            "readOnly": true,
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "description": "Get the enabled status of the connection.",
            "readOnly": true,
            "type": "boolean"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "priority": {
            "maximum": 65535,
            "minimum": 0,
            "type": "integer"
          },
          "protocol": {
            "description": "Get the protocol of the connection.",
            "readOnly": true,
            "type": [
              "string",
              "null"
            ]
          }
        },
        "type": "object"
      },
      "LabOrderTestCompendium": {
        "description": "The serializer for LabOrderTestCompendium",
        "properties": {
          "code": {
            "maxLength": 200,
            "type": [
              "string",
              "null"
            ]
          },
          "created_date": {
            "format": "date-time",
            "readOnly": true,
            "type": [
              "string",
              "null"
            ]
          },
          "deleted_date": {
            "format": "date-time",
            "readOnly": true,
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "lab_vendor": {
            "format": "int64",
            "type": "integer"
          },
          "last_updated": {
            "format": "date-time",
            "readOnly": true,
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "type": "string"
          }
        },
        "required": [
          "lab_vendor",
          "name"
        ],
        "type": "object"
      },
      "LabVendor": {
        "description": "The serializer for LabVendor",
        "properties": {
          "bidi_connections": {
            "items": {
              "$ref": "#/components/schemas/BiDiLabConnection"
            },
            "readOnly": true,
            "type": "array"
          },
          "compendiums": {
            "items": {
              "$ref": "#/components/schemas/LabOrderTestCompendium"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "default_compendium": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/LabOrderTestCompendium"
              },
              {
                "type": "null"
              }
            ]
          },
          "display_name": {
            "maxLength": 100,
            "type": "string"
          },
          "has_order_compendium": {
            "type": "boolean"
          },
          "has_test_compendium": {
            "type": "boolean"
          },
          "id": {
            "readOnly": true,
            "type": "integer"
          },
          "is_bidi": {
            "type": "boolean"
          },
          "is_in_house": {
            "type": "boolean"
          },
          "name": {
            "maxLength": 50,
            "type": "string"
          },
          "orders_integration_available": {
            "type": "boolean"
          },
          "practice_created": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "results_integration_available": {
            "type": "boolean"
          }
        },
        "required": [
          "display_name",
          "name"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "oauth2": {
        "flows": {
          "clientCredentials": {
            "scopes": {
              "act_as_user": "Impersonate a provider via X-On-Behalf-Of (combinable with apiv2 or system scopes)",
              "apiv2": "Full access to the API",
              "system/{resource_name}.read": "Read access to a specific resource",
              "system/{resource_name}.write": "Write access to a specific resource"
            },
            "tokenUrl": "/api/2.0/oauth2/token/"
          }
        },
        "type": "oauth2"
      }
    }
  },
  "info": {
    "contact": {
      "name": "Elation Health",
      "url": "https://www.elationhealth.com/"
    },
    "description": "Elation Health API v2.0",
    "title": "Orders API",
    "version": "2.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/2.0/lab_vendors/": {
      "post": {
        "description": "Create a new lab vendor.",
        "operationId": "lab_vendors_create",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LabVendor"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LabVendor"
                }
              }
            },
            "description": ""
          }
        },
        "security": [
          {
            "oauth2": []
          }
        ],
        "summary": "Create Lab Vendor",
        "tags": [
          "Lab Vendors"
        ],
        "x-el8-docs-category": "Orders API",
        "x-el8-docs-versions": [
          "2.1",
          "2.0"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "Sandbox Server",
      "url": "https://sandbox.elationemr.com"
    },
    {
      "description": "Production Server",
      "url": "https://api.app.elationemr.com"
    }
  ],
  "x-readme": {
    "proxy-enabled": true
  }
}
```