Agentic draft stream
Creates a draft order from an ad-hoc core or saved template and streams progress events via SSE. When both a core and template ID are supplied, the core drives the build and the template ID is recorded as provenance. | authz: min_org_role=operator | (OrderBuilderReq) -> (OrderBuilderStreamEvent)
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
order_template_core
Build input. Required if order_template_id is omitted. When both are provided, this edited core is used instead of the saved template.
order_template_id
Saved-template provenance. Required if order_template_core is omitted. When provided, it is authorized for the caller and marked used when the draft opens.
stream_order_parsing_progress_updates
Response
Successful Response
event
progress
error
message
notes
order_id
order_short_id
summary
validation_issues
validation_passed
Errors
422
Drafts Build with Streaming V1request Unprocessable Entity Error

