curl --request PATCH \
--url https://services.leadconnectorhq.com/invoices/stats/last-visited-at \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"invoiceId": "6578278e879ad2646715ba9c"
}
'{
"statusCode": 400,
"message": "Bad Request"
}API to update invoice last visited at by invoice id
curl --request PATCH \
--url https://services.leadconnectorhq.com/invoices/stats/last-visited-at \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"invoiceId": "6578278e879ad2646715ba9c"
}
'{
"statusCode": 400,
"message": "Bad Request"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 Invoice Id
"6578278e879ad2646715ba9c"
Was this page helpful?