# Update Order Tags By Name

> Perform Update Order Tags By Name through NikoHealth.

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

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

- Handler: `nikohealth_update_order_tags_by_name`

- Connection type: `nikohealth`

## Inputs

- `order_id` — Order Id (expression, required)
  Required literal value or workflow expression.
- `remove_tag_names` — Remove Tag Names (expression)
  Optional literal value or workflow expression.
- `add_tag_names` — Add Tag Names (expression)
  Optional literal value or workflow expression.
- `skip_if_empty` — Skip If Empty (boolean)
  Optional true-or-false value.
  Default: `false`
- `best_effort` — Best Effort (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `status` — Status
- `skipped` — Skipped
- `order_id` — Order Id
- `tag_ids` — Tag Ids
- `added_tag_ids` — Added Tag Ids
- `removed_tag_ids` — Removed Tag Ids
- `missing_tag_names` — Missing Tag Names
- `failure_reason` — Failure Reason
- `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": {
    "order_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "best_effort": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "add_tag_names": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "skip_if_empty": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "remove_tag_names": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "status": {},
    "skipped": {},
    "success": {},
    "tag_ids": {},
    "order_id": {},
    "added_tag_ids": {},
    "failure_reason": {},
    "removed_tag_ids": {},
    "missing_tag_names": {}
  },
  "additionalProperties": true
}
```
