public static void SW_CreateOrder(string ShipwireUsername, string ShipwirePassword, string JsonString, out SqlInt64 OrderID) { ShipwireClient sw = new ShipwireClient(ShipwireUsername, ShipwirePassword); OrderID = sw.CreateOrder(JsonString); if (!String.IsNullOrEmpty(sw.ErrMsg)) RaiseErr(sw.ErrMsg); }