- Yes, you'd need to use the lead id, which is the unique identifier of person records in Marketo. This is the Id value of a lead, and it be pulled into the lead view (see snapshot below). You can very well just include this field in the view, and do a list export, you'd get it in the downloaded CSV file. Additionally, when you export leads using Query Lead/Bulk export, lead id is also included in the response.

- When you open up a lead, its id is also part of the URL (see snapshot 2 below)

- When you call this endpoint, the lead id in the path is the winning record (the one that'll persist post the merge action), and the id mentioned in the query parameter is the losing record (this will get merged, in case of conflicting values in field(s), the value in the winning record will take precedence, and will persist in the winning record post merge). You can specifiy more than one losing records' id values in the "leadids" query paramter in CSV format.
- You can't specify multiple field names, you're only able to reference people for merging via their lead id. That's what you use for referencing the person records.
- You can only specify the attributes listed in the API call definition - i.e., Winning record's id in the path, one or more losing lead Ids, mergeInCRM parameters as query string parameters. mergeInCRM is an optional paramter, and if set, it will attempt to merge the designated records in a natively-syced CRM.
- I think using the URL bar will always result in a GET. To send POST requests from a browser, set up an HTML <form> with method="POST", use the action attribute for the REST-URL and input tags for other parameters. Though I never had to try this, as I usually use Postman/CLI for making requests. Do you really want to go via that route though? You might wanna get permissions before trying this via browser too.
- Also, if both leads are in SFDC and one is a CRM lead and the other is a CRM contact, then the winner is the CRM contact (regardless which lead is specified as winner). If one of the leads is in SFDC and the other is Marketo only, then the winner is the SFDC lead (regardless of which lead is specified as winner).
Also, I'd recommend you to play around a bit using test records first, before trying this API call on your prod leads, you might not want to select wring lead as winning record in Marketo, as in case of conflicting values, the ones in the winning record always take precendence and is persisted. Hope this is helpful. Let us know if you have any questions.