Opportunity Leads REST Endpoints

Opportunities/Opportunity Leads
The opportunity leads resource is used to view, create, update, and delete the leads that resulted in an opportunity.
Create an opportunity lead
Method: post
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunityLead
Delete an opportunity lead
Method: delete
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunityLead/{OptyLeadId}
Get all opportunity leads
Method: get
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunityLead
Get an opportunity lead
Method: get
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunityLead/{OptyLeadId}
Update an opportunity lead
Method: patch
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunityLead/{OptyLeadId}