Command: order.createComputedOrderDiscountBySource
Back to IndexAdds a new computed Order Discount to an Order using an embedded source code for the logic
Body
discountId | uuid (optional) Optional Id. Must be unique. |
source | string The source code for the discount logic |
parameters | map of string to string (optional) Additional parameters to pass to the discount logic, values must be in filtrera format |
dynamic | map of string to any value (optional) Dynamic fields for metadata |