Hellloooo again Zoho guys !!
More help required if you would be so kind, pleeeezz.....
var
options =
{
'method' : 'post',
'contentType' : 'application/json',
'muteHttpExceptions' : true
};
var myPackNo = encodeURIComponent('###################');
+
token +'&organization_id='+
orgID;
var
response = UrlFetchApp.fetch(
tmp,options);
Not working for me - error = "code":1002,"message":"Shipment Order does not exist." (but it does)
This url is from the Zoho Inventory documentation ?
If I try what works for marking the package as shipped - I get an internal error : code 1000 ? ....
var
data =
{
"status" : "delivered"
}
var
options =
{
'method' : 'post',
'contentType' : 'application/json',
'muteHttpExceptions' : true
};
+"&authtoken=" +
token +'&organization_id='+
orgID + '&JSONString=' + encodeURIComponent(JSON.stringify(
data));
var
response = UrlFetchApp.fetch(
tmp,
options);