Actions15
Order → Create
AI-generatedSummary
Create a new order in Tripletex with specified customer, order date, optional delivery date, currency, and multiple order line items detailing products, quantities, descriptions, and unit prices.
Inputs
- orderDate (required) — Date of the order.
- customerId (required) — ID of the customer placing the order.
- deliveryDate — Expected delivery date.
- currency — Currency code; defaults to 'NOK' if not specified.
- orderLines — Collection of order line items, each with Product ID (required), Description, Quantity (required), and Unit Price (required).
- requestOptions — Advanced request options such as batching, SSL settings, proxy, and timeout to control API call behavior.
Output shape
a single record representing the created order, containing Tripletex API response data
Returned data structure matches the Tripletex API's order creation response; omitted fields depend on API response. No pagination or batch response as this is a single create operation.
Examples
Example 1: Create an order for customer 123 with two product lines
Set 'orderDate' and 'customerId' (required), optionally 'deliveryDate' and 'currency', and add multiple 'orderLines' items each specifying 'productId', 'quantity', 'unitPrice', and optionally 'description'.