API command for Entity update

How can I update entity custom data in sambapos 5.1.62?
We have entity “Customers” where are all registred people with addresses. But sometimes we need update/modify customer address via API.
I must delete entity and create new or is possible modify?

Why do you need to use the API? Is it some automation you built? Explain to us when you plan to update and why.

1 Like

We have online orders which communicate directly with sambapos and sometimes customer want delivery to different address.
Then we print custom data on ticket include address for our delivery man. Or if you know other way how to put customer data to ticket, let me know.

api.Entity(name).Data(name).Update(value)

3 Likes