Command: order.createComputedOrderDiscount
Back to IndexAdds a new computed Order Discount to an Order based on a component
Body
discountId | uuid (optional) Optional Id. Must be unique. |
componentId | string The component to use 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 |