# Accept Order

> Perform Accept Order through Tomorrow Health.

Source: [https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_accept_order](https://genhealth.ai/docs/workflows/integrations/tomorrow-health/tomorrow_health_accept_order)

Integration: [Tomorrow Health](https://genhealth.ai/docs/workflows/integrations/tomorrow-health.md)

- Handler: `tomorrow_health_accept_order`

- Connection type: `tomorrow_health`

## Inputs

- `order_id` — Order Id (expression, required)
  Required literal value or workflow expression.
- `estimated_delivery_at` — Estimated Delivery At (text)
  Optional text value.
- `line_item_estimated_delivery_at` — Line Item Estimated Delivery At (json)
  Optional JSON value.
- `additional_documentation_required` — Additional Documentation Required (boolean, required)
  Required true-or-false value.

## Outputs

- `success` — Success
- `accepted` — Accepted
- `skipped` — Skipped
- `documentation_survey_submitted` — Documentation Survey Submitted
- `additional_documentation_required` — Additional Documentation Required
- `order_id` — Order Id
- `estimated_delivery_at` — Estimated Delivery At
- `line_item_count` — Line Item Count
- `tomorrow_health_org_id` — Tomorrow Health Org Id
- `tomorrow_health_org_name` — Tomorrow Health Org Name
- `tomorrow_health_supplier_id` — Tomorrow Health Supplier Id
- `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",
    "additional_documentation_required"
  ],
  "properties": {
    "order_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "estimated_delivery_at": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "line_item_estimated_delivery_at": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "additional_documentation_required": {
      "type": "boolean",
      "description": "Required true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "skipped": {},
    "success": {},
    "accepted": {},
    "order_id": {},
    "line_item_count": {},
    "estimated_delivery_at": {},
    "tomorrow_health_org_id": {},
    "tomorrow_health_org_name": {},
    "tomorrow_health_supplier_id": {},
    "documentation_survey_submitted": {},
    "additional_documentation_required": {}
  },
  "additionalProperties": true
}
```
