1 Reply Latest reply on Jan 31, 2013 9:26 PM by Nooruddin Shaik

    REST how to set orginOfOrder property on an Order

    boyd4715
      Just started to work with the REST api and in the process of building out some test harniess/poc.

      What I have so far is the following:

                          RestResult result = RestComponentHelper.getPropertyValue("/atg/store/order/purchase/CartFormHandler", "order", null, mSession);
                          String responseData = result.readInputStream();

      This returns back
      {"order":"Order[type:default; id:o54180002; state:INCOMPLETE; transient:false; profileId:24549804; ]"}


      What I want to do is be able to set originOfOrder on the order.