place_order
Place a product order using product ID or slug, quantity, and customer details. Idempotency keys prevent duplicate orders; maximum order value is €50,000.
Instructions
Place a product order. You MUST provide product_id or product_slug (at least one). Enforces EUR 50,000 max limit. Supports idempotency_key to prevent duplicates. Requires "order" scope API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit: bag or pallet (default: bag) | |
| notes | No | ||
| quantity | Yes | Quantity (required, > 0) | |
| product_id | No | Product ID (required if no product_slug) | |
| product_slug | No | Product slug (required if no product_id) | |
| customer_name | Yes | Customer name (required) | |
| customer_email | Yes | Customer email (required) | |
| customer_phone | No | Customer phone | |
| idempotency_key | No | Unique key to prevent duplicate orders | |
| delivery_address | Yes | Delivery address (required) |