Hi,
We are trying to use the POST /api/v3/estimates endpoint but we always end up with a 400 Bad Request : {"code":2,"message":"The request passed is not valid."}.
Bellow is the curl request used (with credentials masked and customer_id changed):
curl 'https://invoice.zoho.com/api/v3/estimates?authtoken=********************************&organization_id=********' -X POST -d 'JSONString={
"customer_id": 982000000561057,
"date": "2017-08-31",
"line_items": [
{
"name": "Name",
"description": "Description",
"quantity": 1,
"rate": 555.43,
"item_total": 555.43,
"tax_percentage": 20,
"tax_name": "TVA"
}
]
}'
Are we missing some required fields or something ? We couldn't find that information in the docs.
Regards