Hi guys,
I need to create some orderline programmatically to handle some complicated discount scenarios.
I was wondering if I can use the /dwapi/ecommerce/carts/{secret}/items endpoint to do so. I have managed to create an orderline (using an existing productID) but I could not manage to provide price information.
Is this even possible? And one more thing. Can I also set the OrderLineType from the API? I see that OrderLineViewModel does not have a property for it.
Thank you,
Adrian