Change lead partition

Manali_Rikame1
Level 1

Change lead partition

Hello All,

I want to create a lead in a specific partition or update the leads partition

The same needs to be done through an API call. I tried the following API in Postman.

It gives the successful message but no update occurs. Request help.

Request:

Post: /rest/v1/leads.json

Body

{
"lookupField":"email",
"input":[
{
"email":"dummy@dummy.com"
}
], "action":"createOrUpdate",
"partitionName":"dummy partition"
}