Agentic draft
Creates a draft order from an ad-hoc core or saved template. 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) -> (OrderBuilderRes)
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
summary
notes
order_id
order_short_id
validation_issues
validation_passed
Errors
422
Drafts Build V1request Unprocessable Entity Error

