private CarusoCustomerData GetOrderData() { var parameters = new List <KeyValuePair <string, string> > { new KeyValuePair <string, string>("ajax", "true"), new KeyValuePair <string, string>("method", "updateCarrierAndGetPayments"), new KeyValuePair <string, string>("id_carrier", "241000"), new KeyValuePair <string, string>("recyclable", "0"), new KeyValuePair <string, string>("gift", "0"), new KeyValuePair <string, string>("gift_message", ""), new KeyValuePair <string, string>("token", sessionToken) }; var result = httpClient.PostAndGetString(orderUrl, parameters); var data = JsonConvert.DeserializeObject <CarusoCustomerData>(result); return(data); }