Skip to content
← Back to Index

Command: order.createComputedOrderDiscount

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
descriptionstring (optional) Description/Name of discount. Should be meaningful to the customer as it's used on invoices and customer communication.

© 2024 Hantera AB. All rights reserved.