# Search Customer Orders

> Perform Search Customer Orders through Bonafide.

Source: [https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_search_orders](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_search_orders)

Integration: [Bonafide](https://genhealth.ai/docs/workflows/integrations/bonafide.md)

- Handler: `bonafide_search_orders`

- Connection type: `bonafide`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "Bonafide",
  "params": {},
  "handler": "bonafide_search_orders"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `customer_id` — Customer Id (expression, required)
  Required literal value or workflow expression.

## Outputs

- `success` — Success
- `rows` — Rows
- `total_count` — Total Count
- `message` — Message
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "customer_id"
  ],
  "properties": {
    "customer_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "rows": {},
    "error": {},
    "message": {},
    "success": {},
    "total_count": {},
    "error_message": {}
  },
  "additionalProperties": true
}
```
