I see there are ways to create, delete, read individual opportunities here: https://developer.salesforce.com/docs/api-explorer/sobject/Opportunity

How to get all opportunities owned by a salesforce account using their rest api?

  • 1
    Welcome to SFSE. Please take a moment to go through How to Ask and then edit your question to provide more details. It seems you want to query all opportunities associated to an account using REST API. If that's the case, please edit your question, in its current form, your question does not specify any issue.
    – Jayant Das
    Oct 30, 2018 at 3:14

1 Answer 1


Assuming you need to fetch all Opportunities associated to an Account, you can just use Query resource for this purpose.

In your case, your API call should look like:

https://yourinstance.salesforce.com/services/data/v43.0/query?q=select+name+from+opportunity+where+accountid='<the account id>'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.