Dispatch Sales Order Templates
Perform Dispatch Sales Order Templates through Brightree.
brightree_dispatch_sales_order_templateswritebrightree
Inputs
- Account Key
account_keytextOptional text value.
- Classification
classificationtextOptional text value.
- Confirm Date After
confirm_date_afterdateOptional date in YYYY-MM-DD format.
- Confirm Date Lookback Days
confirm_date_lookback_daysnumberOptional numeric value.
Default:
90 - Report Limit
report_limitnumberOptional numeric value.
Default:
15000 - Runs Per Order
runs_per_ordernumberOptional numeric value.
Default:
1 - Target Queue Depth
target_queue_depthnumberOptional numeric value.
Default:
10 - Max Dispatch Per Run
max_dispatch_per_runnumberOptional numeric value.
- Use Local Agent
use_local_agentbooleanOptional true-or-false value.
Default:
false - Http Only
http_onlybooleanOptional true-or-false value.
Default:
true
Outputs
successSuccessjob_idJob Idorders_dispatchedOrders Dispatchedorder_keysOrder Keysqueue_depth_beforeQueue Depth Beforequeue_headroomQueue Headroomtarget_queue_depthTarget Queue DepthmessageMessageerrorError
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
{
"type": "object",
"properties": {
"http_only": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"account_key": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"report_limit": {
"type": "number",
"default": 15000,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"classification": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"runs_per_order": {
"type": "number",
"default": 1,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"use_local_agent": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"confirm_date_after": {
"type": "string",
"format": "date",
"description": "Optional date in YYYY-MM-DD format.",
"x-workflow-field-type": "date"
},
"target_queue_depth": {
"type": "number",
"default": 10,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"max_dispatch_per_run": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"confirm_date_lookback_days": {
"type": "number",
"default": 90,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"job_id": {},
"message": {},
"success": {},
"order_keys": {},
"queue_headroom": {},
"orders_dispatched": {},
"queue_depth_before": {},
"target_queue_depth": {}
},
"additionalProperties": true
}