... information that may help
******************************************************************************* */
//
// initialize
m_UpdateQuote = Map();
//
// get quote details
v_Endpoint = "https://www.zohoapis.com/crm/v7/Quotes/" ...
... that header has to be added otherwise you get a blank response:
m_Header = Map();
m_Header.put("Accept","application/vnd.api+json");
v_Endpoint = "https://www.zohoapis.com/workdrive/api/v1/teamfolders//folders";
r_TeamFolderInfo ...
... */
//
// set your own REST API endpoints for the webhooks here (we are only checking order update or inventory level update)
v_CrmOrderUpdateWebhook = "https://www.zohoapis.com/crm/v2/functions/fn_shopify_webhook_orderupdate/actions/execute?auth_type=apikey&zapikey=1003.aaaabbbbccccddddeeeeffff00001111.22223333444455556666777788889999";
v_CrmInventoryLevelWebhook ...
... I've called it "zcrm".
Standard Call for Module Record Count:
v_PerPage = 200;
v_Endpoint = "https://www.zohoapis.com/crm/v5/Quotes/actions/count";
r_MaximumCount = invokeurl
[
url :v_Endpoint
type ...
... that for the below, I recently updated this article (2024-05-21) due to the API domain name change from https://books.zoho.com to https://www.zohoapis.com/books and changed the Top Level Domain (or Zoho ...
... within ZohoBooks, we know this is just 1 bill record, still...
for each r_Bill in bills
{
v_BillID = r_Bill.get("bill_id");
}
//
// send attachment request
r_Attachment = invokeurl
[
url: "https://www.zohoapis.com/books/v3/bills/" ...
... ---------------------- QUOTE LINE ITEMS ----------------------
// line items get via api v2.1 or greater
l_BooksLineItems = List();
r_CrmProductLineItems = invokeurl
[
url :"https://www.zohoapis.eu/crm/v2.1/Quotes/ ...
What?
This is a not-so-quick article that queries an eBay order and creates the relevant ZohoInventory item, contact, sales order, package slip, shipment order, invoice, payment records...
Why? ...
... invokeurl (note the Zoho endpoint here will depend on your datacenter; .com / .eu)
r_Coql = invokeurl
[
url :"https://www.zohoapis.eu/crm/v2/coql"
type :POST
parameters:m_Params.toString()
...
... Another REST API CRM function which generates an eBay Access Token for me
r_Response = getUrl("https://www.zohoapis.eu/crm/v2/functions/fn_ebay_getaccesstoken/actions/execute?auth_type=apikey&zapikey=1003.");
if(!isnull(r_Response.toMap().get("details")))
{
if(!isnull(r_Response.toMap().get("details").get("output")))
{
v_AccessToke ...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.