complete_draft_order
Convert a draft order into a real order, optionally marking payment as pending when payment hasn't been collected. Completes the draft and creates the final order.
Instructions
Complete a draft order and convert it into a real order. Side effect: creates an Order from the draft; draft status becomes "completed". Use payment_pending=true if payment not yet collected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_order_id | Yes | Draft order ID to complete. Required. | |
| payment_pending | No | If true, order is created with payment pending. Default false. |