コード例 #1
0
        public VentataOrder Update(VentataOrder order)
        {
            VentataOrder orderWithId = RestHelper.CallResource(
                "PUT", String.Format("{0}?ApiKey={1}",
                                     "order",
                                     storeApiKey), order.ToJSON() //we are going to PUT to Orders with the new order information
                ).FromJSON <VentataOrder>();                      //then we convert it the JSON to a Ventata Order

            return(orderWithId);
        }