By using this website, you agree to our Terms of Use (click here)
Hi All,
I'm trying to delete all sales people from a customer using Postman. I know this could more easily be done with an import scenario, but I would like to better understand the API and this seemed like a good test.
I'm running a PUT to the following address. It deletes a single salesperson from the details (not all of the salespeople). Is there a way to modify this to delete all of the sales people for that customer?
Thanks!
-Matt
https://domain/instanceID/entity/default/17.200.001/Customer?$expand=Salespersons
Body:
{
"CustomerID" : {"value" : "100001" },
"Salespersons" : [{"delete":true}]
}
Hey Matt,
Great to meet you at the recent Summit. Not sure on this one myself, but you might want to try posting API questions like this on StackOverflow:
https://stackoverflow.com/questions/tagged/acumatica
