# Create Order Crea una nueva órden, puedes enviar el número de teléfono o email del cliente si ya esta creado en mercately, si no existe, creará el cliente. Endpoint: POST /api/v1/orders Version: 1.0.0 Security: api-key ## Request fields (application/json): - `order` (object) - `order.sales_channel` (string) - `order.notes` (string) - `order.address` (string) - `order.city` (string) - `order.state` (string) - `order.zip_code` (string) - `order.delivery_method` (string) Enum: "send_order", "store_pickup" - `order.status` (string) Enum: "pending", "canceled", "success" - `order.shipping_value` (number) - `order.customer_attributes` (object) - `order.customer_attributes.first_name` (string) - `order.customer_attributes.last_name` (string) - `order.customer_attributes.email` (string) - `order.customer_attributes.phone` (string) - `order.order_items_attributes` (array) - `order.order_items_attributes.product_id` (string) - `order.order_items_attributes.quantity` (integer) - `order.order_items_attributes.unit_price` (number) ## Response 201 fields (application/json): - `message` (string) - `order` (object) - `order.web_id` (string) - `order.status` (string) - `order.subtotal` (string) - `order.tax_amount` (string) - `order.total` (string) - `order.shipping_value` (string) - `order.sales_channel` (string) - `order.notes` (string) - `order.created_at` (string) - `order.archived` (boolean) - `order.customer` (object) - `order.order_items` (array) ## Response 422 fields (application/json): - `errors` (array) ## Response 400 fields ## Response 401 fields