create_order
Create new WooCommerce orders by specifying products, quantities, customer details, and payment information to process purchases.
Instructions
Create an order. line_items: JSON array of {product_id, quantity} objects. Example: '[{"product_id": 42, "quantity": 2}]'
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | No | ||
| status | No | pending | |
| line_items | No | ||
| billing_email | No | ||
| billing_first_name | No | ||
| billing_last_name | No | ||
| payment_method | No | ||
| note | No |