Unable to create shipment order using Zoho Inventory API
Unable to create shipment order using Zoho Inventory API
Hello,
How can I get shipment_number using Zoho Inventory API so I can use it for shipment order creation (
https://www.zoho.com/inventory/api/v1/#Shipment_Orders_Create_a_Shipment_Order
)?
How I tried to create a shipment order:
Send POST using Postman to
https://inventory.zoho.com/api/v1/shipmentorders?package_ids=1606567000000074023&salesorder_id=1606567000000071128&organization_id=XXX&authtoken=Y
YY, where XXX is my organization ID and YYY is my authtoken.
In Body raw I added:
JSONString='{
"shipment_number": "SHP-00010",
"date": "2018-11-02",
"delivery_method": "manual",
"tracking_number": "4815000000044822"
}'
In response I get:
{
"code": 4,
"message": "Invalid value passed for JSONString"
}
I used the same approach for creating a Package and it worked.
Can somebody please tell me what is the right way - how to create a Shipment Order using Zoho Inventory API?