Command: order.createOrderLine
Back to IndexCreates a new Order Row
Body
orderLineId | uuid (optional) The ID of the Order Line to create. If not specified, a new ID will be generated |
deliveryId | uuid The ID of the Delivery to add the Row to |
orderLineNumber | string (optional) A natural key for the row. If not specified, the row will be assigned the next free number. If specified, must be unique within the order |
productNumber | string The product number of the product to add to the row |
description | string (optional) The description of the product to add to the row |
image | string (optional) URL of the image to add to the row |
quantity | number The number of units of the product to add to the row |
unitPrice | number The unit price of the product. Treated as including or excluding Tax depending on Order setting. |
taxFactor | number Tax factor, e.g. 25% = 0.25 |