Create draft from template core

Creates a draft Order through one of three paths: (1) provide only order_template_new_id to load the saved template's core and record that template as the Order's provenance; (2) provide only order_template_new_core to materialize an ad hoc submitted core without template provenance; (3) provide both to record and validate the saved template as provenance while materializing the submitted core, without modifying the saved template. | authz: min_org_role=operator | (OrdersCreateDraftFromOrderTemplateNewReq) -> (OrdersOpenDraftRes)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
anchor_timestampdatetimeOptional
creation_idempotency_keystringOptional
order_template_new_coreobjectOptional
order_template_new_idstringOptional

Response

Successful Response
order_idstring
order_short_idstring

Errors

422
Drafts Create from Order Template New V1request Unprocessable Entity Error