Opportunity Sources REST Endpoints

Opportunities/Opportunity Sources
The opportunity sources resource is used to view, create, update, and delete the source of an opportunity. The opportunity source is the marketing or sales campaign that resulted in the opportunity.
Create an opportunity source
Method: post
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunitySource1
Delete an opportunity source
Method: delete
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunitySource1/{OptySrcId}
Get all opportunity sources
Method: get
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunitySource1
Get an opportunity source
Method: get
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunitySource1/{OptySrcId}
Update an opportunity source
Method: patch
Path: /crmRestApi/resources/11.13.18.05/opportunities/{OptyNumber}/child/OpportunitySource1/{OptySrcId}