Updating Standard resources

Last updated last month

Update multiple objects by unique keys

Returns an updated list

Only UUID is currently supported as a key

Supported resources: accounts, transactions, activities, transactionLines, transactionScopeItems

Example:

pepperi.api.activities.update(
{objects: [
{UUID: "tgfb523e-74ac-4041-8bb1-a76a3b5e78f5" , TSAMyComment: "ABC" },
{UUID: "aefb523e-74ac-4041-8bb1-a76a3b5e78h6" , TSAMyComment: "DEF"}
]})

Returns a response object with the list of updated objects as following:

{
result:
[
{id:"tgfb523e-74ac-4041-8bb1-a76a3b5e78f5",messsage:"",status:"updated"},
{id:"aefb523e-74ac-4041-8bb1-a76a3b5e78h6",messsage:"",status:"updated"}
]
}