# Update Order State

> Perform Update Order State through NikoHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/nikohealth/nikohealth_update_order_state](https://genhealth.ai/docs/workflows/integrations/nikohealth/nikohealth_update_order_state)

Integration: [NikoHealth](https://genhealth.ai/docs/workflows/integrations/nikohealth.md)

- Handler: `nikohealth_update_order_state`

- Connection type: `nikohealth`

## Inputs

- `order_id` — Order Id (text, required)
  Required text value.
- `status` — Status (text)
  Optional text value.
- `tags` — Tags (text)
  Optional text value.

## Outputs

- `success` — Success
- `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"
  ],
  "properties": {
    "tags": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "status": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "order_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {}
  },
  "additionalProperties": true
}
```
