Actions13
Order → Create Sales Order
AI-generatedSummary
Creates a sales order in D&H Business Community for the specified tenant and account number.
Inputs
- main (required) — The workflow data that flows into the node.
Output shape
array of objects
Returns the API response (typically the created sales order) as n8n items; if the response is empty, returns a single item { success: true }. If the request fails and continueOnFail is false, the workflow errors.
Examples
Example 1: Provide the order body as raw JSON
Set salesOrderBodyMode to JSON and fill salesOrderBody with a valid JSON payload that matches D&H’s sales order schema.
Example 2: Build the order body from individual fields
Set salesOrderBodyMode to Fields and fill the desired properties under salesOrderFields (e.g., customerPurchaseOrder, shippingServiceType, shippingCarrier, branch, lineItemId, lineOrderQuantity, etc.). Omitted fields are simply not sent.