API: Creating Sales Orders - "Invalid value passed for JSONString"
Hello all,
I am trying to create a sales order from API in ZOHO inventory and I keep obtaining
-
{
"code": 4,
"message": "Invalid value passed for JSONString"
}
I tried many combinations, but the same error appear.
Yes, I can obtain all sales orders and all items.
For creating a sales order I use:
- the url:
- the JSON:
-
{
"customer_id": 235260000000310001,
"salesorder_number": "SO-00009",
"custom_fields": [
{}
],
"reference_number": "0905219",
"line_items": [
{
"item_id": 235260000000476073,
"quantity_invoiced": 2,
"sub_total": 444,
"tax_total": 29,
"total": 550
}
]
}
Does anyone have any idea about what am I doing wrong? Or am I missing something ?
Thank you for your help.
Best Regards,
Mihaela
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
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
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.