# Prepare Consignment Status Write

> Perform Prepare Consignment Status Write through Consignment Intake.

Source: [https://genhealth.ai/docs/workflows/integrations/consignment-intake/prepare_consignment_status_write](https://genhealth.ai/docs/workflows/integrations/consignment-intake/prepare_consignment_status_write)

Integration: [Consignment Intake](https://genhealth.ai/docs/workflows/integrations/consignment-intake.md)

- Handler: `prepare_consignment_status_write`

## Inputs

- `order_create_preparation` — Order Create Preparation (json, required)
  Required JSON value.
- `order_create_result` — Order Create Result (json, required)
  Required JSON value.
- `status_bucket` — Status Bucket (text, required)
  Required text value.
- `status_routing_config` — Status Routing Config (json, required)
  Required JSON value.

## Outputs

- `success` — Success
- `ready_for_status_write` — Ready For Status Write
- `review_required` — Review Required
- `review_reason` — Review Reason
- `status_bucket` — Status Bucket
- `claimsoft_status_value` — Claimsoft Status Value
- `order_id` — Order 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_create_preparation",
    "order_create_result",
    "status_bucket",
    "status_routing_config"
  ],
  "properties": {
    "status_bucket": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "order_create_result": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "status_routing_config": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "order_create_preparation": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "order_id": {},
    "review_reason": {},
    "status_bucket": {},
    "review_required": {},
    "claimsoft_status_value": {},
    "ready_for_status_write": {}
  },
  "additionalProperties": true
}
```
