Update Sales Order Aftercare
Perform Update Sales Order Aftercare through Brightree.
brightree_update_sales_order_aftercarewritebrightree
Inputs
- Sales Order Key
sales_order_keyexpressionrequiredRequired literal value or workflow expression.
- Wip State
wip_stateselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Assigned To Key
assigned_to_keyexpressionOptional literal value or workflow expression.
- Assigned To Name
assigned_to_nameexpressionOptional literal value or workflow expression.
- Date Needed
date_neededexpressionOptional literal value or workflow expression.
- Expected Current Wip State
expected_current_wip_stateexpressionOptional literal value or workflow expression.
- Expected Current Classification
expected_current_classificationexpressionOptional literal value or workflow expression.
- Order Note Append
order_note_appendtextareaOptional text value.
- Dry Run
dry_runbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessupdatedUpdatednoopNoopdry_runDry Runsales_order_keySales Order Keyresolved_assigned_to_keyResolved Assigned To Keyresolved_assigned_to_nameResolved Assigned To Namefields_updatedFields UpdatedactualActualmismatchesMismatchesmessageMessageerrorError
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- Yes
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"sales_order_key"
],
"properties": {
"dry_run": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"wip_state": {
"type": "string",
"description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "select"
},
"date_needed": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"assigned_to_key": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"sales_order_key": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"assigned_to_name": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"order_note_append": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
},
"expected_current_wip_state": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"expected_current_classification": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"noop": {},
"error": {},
"actual": {},
"dry_run": {},
"message": {},
"success": {},
"updated": {},
"mismatches": {},
"fields_updated": {},
"sales_order_key": {},
"resolved_assigned_to_key": {},
"resolved_assigned_to_name": {}
},
"additionalProperties": true
}