We are working on a solution (DW 9.13.8) that makes use of Ecommerce Loyalty. We have a table in frontend showing users their latest transactions using the UserTransaction class. In case there is an order associated with the UserTransaction we want to be able to link to the order details.
- To do this we would like to have access (Get/Set) to the ObjectElement (So we can get the order ID). We would also like Set access to ObjectType (Get is already available).
- We have also noticed some odd behaviour when accessing ObjectType through the API. If the ObjectType is 'OrderDiscount' in the database, when we request it through the API it is returned as 'User' instead. Can this behaviour be changed so we get the ObjectType that is actually stored in the db?
Can you help us with the above?