public static void UpdateLocation(StockLocation location, String ApiToken, String ApiServer) { Factory.GetResponse("Locations/UpdateLocation", "location=" + Newtonsoft.Json.JsonConvert.SerializeObject(location, serializerSettings) + "", ApiToken, ApiServer); }
public static void UpdateLocation(StockLocation location, String ApiToken, String ApiServer) { Factory.GetResponse("Locations/UpdateLocation", "location=" + Newtonsoft.Json.JsonConvert.SerializeObject(location) + "", ApiToken, ApiServer); }
/// <summary> /// Use this call to update a location's name and/or details /// </summary> /// <param name="location">Stock location information to update</param> public void UpdateLocation(StockLocation location) { GetResponse("Locations/UpdateLocation", "location=" + System.Net.WebUtility.UrlEncode(JsonFormatter.ConvertToJson(location)) + "", "POST"); }
/// <summary> /// Use this call to update a location's name and/or details /// </summary> /// <param name="location">Stock location information to update</param> public void UpdateLocation(StockLocation location) { GetResponse("Locations/UpdateLocation", "location=" + JsonFormatter.ConvertToJson(location) + ""); }