tiendanube_create_order
Create new orders programmatically with complete customer and product information. Supports custom pricing, shipping options, and payment gateway selection for manual entry or external integrations.
Instructions
➕ CREATE NEW ORDER - Create a new order programmatically with complete customer and product information. Use this for manual order creation, bulk imports, external integrations, or processing orders from other channels. Requires customer details (name, email), product variants with quantities, and billing address. Supports custom pricing, shipping options, payment gateway selection, and inventory management.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_name | Yes | Customer full name (required) | |
| customer_email | Yes | Customer email address (required) | |
| customer_phone | No | Customer phone number | |
| customer_document | No | Customer document/ID number | |
| products | Yes | Array of products in the order (required) | |
| billing_address | Yes | Billing address street (required) | |
| billing_city | Yes | Billing address city (required) | |
| billing_province | Yes | Billing address province/state (required) | |
| billing_country | Yes | Billing address country (required) | |
| billing_zipcode | Yes | Billing address ZIP/postal code (required) | |
| billing_number | Yes | Billing address number (required) | |
| billing_floor | No | Billing address floor/apartment | |
| billing_phone | No | Billing address phone number | |
| shipping_address | No | Shipping address street (if different from billing) | |
| shipping_city | No | Shipping address city | |
| shipping_province | No | Shipping address province/state | |
| shipping_country | No | Shipping address country | |
| shipping_zipcode | No | Shipping address ZIP/postal code | |
| shipping_number | No | Shipping address number | |
| shipping_floor | No | Shipping address floor/apartment | |
| shipping_phone | No | Shipping address phone number | |
| currency | No | Order currency (3-letter code) | |
| language | No | Order language (2-letter code) | |
| gateway | No | Payment gateway to use | |
| payment_status | No | Initial payment status | |
| status | No | Initial order status | |
| note | No | Order notes/comments | |
| shipping_pickup_type | No | Shipping method | |
| shipping_cost_customer | No | Shipping cost charged to customer | |
| shipping_cost_owner | No | Actual shipping cost for store owner | |
| send_confirmation_email | No | Whether to send order confirmation email | |
| send_fulfillment_email | No | Whether to send fulfillment notification email | |
| location_id | No | Store location ID for pickup orders |