# Add Sales Order Diagnosis Batches

> Perform Add Sales Order Diagnosis Batches through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_add_sales_order_diagnosis_batches](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_add_sales_order_diagnosis_batches)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_add_sales_order_diagnosis_batches`

- Connection type: `brightree`

## Inputs

- `diagnosis_batches` — Diagnosis Batches (json, required)
  Required JSON value.

## Outputs

- `success` — Success
- `results` — Results
- `updated_count` — Updated Count
- `failed_count` — Failed Count
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "diagnosis_batches"
  ],
  "properties": {
    "diagnosis_batches": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "results": {},
    "success": {},
    "failed_count": {},
    "error_message": {},
    "updated_count": {}
  },
  "additionalProperties": true
}
```
