# Add Order Items

> Perform Add Order Items through ClaimSoft.

Source: [https://genhealth.ai/docs/workflows/integrations/claim-soft/claimsoft_add_order_items](https://genhealth.ai/docs/workflows/integrations/claim-soft/claimsoft_add_order_items)

Integration: [ClaimSoft](https://genhealth.ai/docs/workflows/integrations/claim-soft.md)

- Handler: `claimsoft_add_order_items`

- Connection type: `claimsoft`

## Inputs

- `order_id` — Order Id (expression, required)
  Required literal value or workflow expression.
- `items` — Items (json, required)
  Required JSON value.
- `expected_item_count` — Expected Item Count (number)
  Optional numeric value.
- `split_coding` — Split Coding (json)
  Optional JSON value.

## Outputs

- `success` — Success
- `order_id` — Order Id
- `items_created` — Items Created
- `outcome` — Outcome
- `items_skipped` — Items Skipped
- `split_coding_swapped_lines` — Split Coding Swapped Lines
- `complete` — Complete
- `message` — Message
- `error_kind` — Error Kind
- `error` — Error

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": [
    "order_id",
    "items"
  ],
  "properties": {
    "items": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "order_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "split_coding": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "expected_item_count": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "message": {},
    "outcome": {},
    "success": {},
    "complete": {},
    "order_id": {},
    "error_kind": {},
    "items_created": {},
    "items_skipped": {},
    "split_coding_swapped_lines": {}
  },
  "additionalProperties": true
}
```
