Skip to content

Command: order.createComputedOrderDiscountBySource

Back to Index

Adds a new computed Order Discount to an Order using an embedded source code for the logic

Body
discountIduuid (optional)

Optional Id. Must be unique.

sourcestring

The source code for the discount logic

parametersmap of string to string (optional)

Additional parameters to pass to the discount logic, values must be in filtrera format

dynamicmap of string to any value (optional)

Dynamic fields for metadata

Back to Index