Hello,
its connecting question with this thread
string tokenUrl = String.Format("https://api.clover.com/v3/merchants/<MID>/orders/<OrderId>/line_items?access_token=<accesstoken>"); var client = new RestClient(tokenUrl); var request = new RestRequest(Method.POST); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"printed\":false,\"exchanged\":\"false\",\"refunded\":\"false\",\"refund\":{\"transactionInfo\":{\"isTokenBasedTx\":\"false\",\"emergencyFlag\":\"false\"}},\"isRevenue\":\"false\",\"name\":" + itemproductname + ",\"price\":" + price + ",\"unitQty\":" + qty + "}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
1. the above thread is solved and now line item is creating
2. in the above thread in end point there is field printed=false (this is by default)
3. does it mean when I create new line item and if status is false it will create auto print
Please advice