API call to create create invoice in Zoho Inventory
I am trying to send the following json to create an invoice:
{
"customer_id": 1167451000000062085, // found by calling the get contact request
"invoice_number": "INV-00002",
"date": "2018-02-04",
"due_date": "2018-02-10",
"line_items": [
{
"item_id": 1167451000000062103, // found by calling the get items request
"quantity": 130
}
]
}
but the response is:
{
"code": 4,
"message": "Invalid value passed for JSONString"
}
the post request is being sent to :
https://inventory.zoho.com/api/v1/invoices?authtoken=<token>&organization_id=<org_id>
and content-type: application/json.
Is the request be of type "text" with the "JSONString" appended to the body? Any help will be highly beneficial to me.
Sticky Posts
Zoho Inventory will discontinue support for older browser versions soon
Hello users, Starting from May 15, 2024, Zoho Inventory will no longer support the following browser versions: Browsers Version Restrictions Firefox Browser Versions older than 100 Google Chrome Versions older than 100 Microsoft Edge Versions older than
Zoho Finance Workshop 2023 is coming to the USA. Meet the experts, get exclusive training on Zoho Finance apps and more.
Hello all, We'd like to invite you to our biggest Zoho Finance workshop in the United States. After a brief break, we are excited to be back. This year, we're bringing together our customers and community members for two days of curated hands-on sessions,
Celebrating our Zoho Community SuperBuds
The SuperBud program recognizes the efforts Zoho users put in to help the rest of the community thrive and grow in their individual Zoho journeys. Be it the ZUG meetups or these forums, several Zoho users including our MVPs andZUG leaders, have stepped
Authtoken Deprecation for Zoho Inventory APIs
UPDATE (7 July 2021): We've extended the deadline to 30 August 2021 for converting Authtokens to OAuth. Hello everyone, The usage of Authtokens to authenticate API calls is being deprecated on 30 August 2021 across Zoho's Finance suite of products,
ZOHO Inventory - Early Access
https://twitter.com/zoho/status/646715717849493504