Developer forum

Forum » Ecommerce - Standard features » Is there a HTTPRequest to delete orderline

Is there a HTTPRequest to delete orderline

Hans Ravnsfjall
Hans Ravnsfjall
Reply

If I want to delete a certain orderline. Is this possible to do with an HTTPRequest doing something like this´ish DeleteOrderLineId=MyOrderlineNumber?

/Hans


Replies

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

Hi Hans,

I assume that you want to delete an order line from the current cart.

You should be able to do that with cartcmd=delorderline&key=<orderlineid>

https://doc.dynamicweb.com/documentation-9/ecommerce/frontend/cart-commands#10182

Best regards,
Morten

 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

Perfect Morten, thank you

will try that 👍🏻

/Hans

 

You must be logged in to post in the forum