# Update Source of Business

> Perform Update Source of Business through Bonafide.

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

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

- Handler: `bonafide_update_source_of_business`

- Connection type: `bonafide`

## Inputs

- `customer_id` — Customer Id (expression, required)
  Required literal value or workflow expression.
- `source_of_business_id` — Source Of Business Id (select, required, dynamic options)
  Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.

## Outputs

- `success` — Success
- `customer_id` — Customer Id
- `source_of_business_id` — Source Of Business Id
- `source_of_business_label` — Source Of Business Label
- `message` — Message
- `error` — Error
- `error_message` — Error Message

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": [
    "customer_id",
    "source_of_business_id"
  ],
  "properties": {
    "customer_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "source_of_business_id": {
      "type": "string",
      "description": "Required selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "message": {},
    "success": {},
    "customer_id": {},
    "error_message": {},
    "source_of_business_id": {},
    "source_of_business_label": {}
  },
  "additionalProperties": true
}
```
