Developer forum

Forum » Ecommerce - Standard features » Set order status

Set order status

Martin Grønbekk Moen
Martin Grønbekk Moen
Reply

How can I set a custom order status from razor code?

2017-11-20_0809.png

Replies

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply
This post has been marked as an answer

Hi Martin,

Your goal is to set or create a new order status?

If you want to set the order status, you need to get the order object, update the StateId and save the object.
https://doc.dynamicweb.com/api/html/257fae0f-7d06-3d0f-5c84-c31685247f2c.htm

BR, Mário

Votes for this answer: 1

 

You must be logged in to post in the forum