Skip to content

Command: order.createComputedOrderDiscount

Back to Index

Adds a new computed Order Discount to an Order based on a component

Body
discountIduuid (optional)

Optional Id. Must be unique.

componentIdstring

The component to use 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