Posted on 30/09/2021 17:57:29
Hi Anders
I have added these:
- Ecom:Order:OrderLine.ProductNumber (Orderlineviewmodel)
- Ecom:Order.Completed (OrderViewmodel - readonly/not updateable directly from webapi - use complete order for that)
- Ecom:Order.Modified (OrderViewmodel - readonly/not updateable from webapi - any patch/update/post will update it)
- Ecom:Order.IntegrationID (OrderViewmodel)
- Ecom:Order.ReorderID (OrderViewmodel - readonly/not updateable from webapi)
Ecom:CustomerCenter.Quotes.AddToCart is a link with a command - and the viewmodels only holds data and not markup. (Same model that is used in webapi)
Also that link is specific for the old customer center module so it would not do anything for you.
So if you list quotes, you will have to use a link to the old customer center module using CC{ParagraphID}=Quote&AddQuoteID={QuoteID(OrderID)} to add the quote back to cart as that is not handled by the new customer center module yet...
Changes with next 9.12 of ecommerce (for the module). Webapi needs no update.
BR Nicolai