Documentation

crm.invoice.getexternallink

crm.invoice.getexternallink(id)

This method returns a public link for online chat.

Parameters

Parameter Description
id Invoice ID.

Examples

var id = prompt("Enter ID");
BX24.callMethod(
    "crm.invoice.getexternallink",
    { "id": id },
    function(result)
    {
        if(result.error())
            console.error(result.error());
        else
            console.dir(result.data());
    }
);

Request

https://******.bitrix24.com/rest/crm.invoice.getexternallink.json?auth=******&ID=2

Response

https://******.bitrix24.com/pub/pay/Mg==/00724392abf8a2da3bc85d7382f5753c/

© «Bitrix24», 2001-2022
Up