Salesforce Sales Cloud · Example Payload

Salesforce Sales Cloud Create Opportunity Example

Example request and response for creating a Salesforce Opportunity record

CloudCRMCustomer ManagementEnterpriseSales

Salesforce Sales Cloud Create Opportunity Example is an example object payload from Salesforce Sales Cloud, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionoperationmethodpathrequestresponse

Example Payload

Raw ↑
{
  "title": "Create Opportunity Example",
  "description": "Example request and response for creating a Salesforce Opportunity record",
  "operation": "createSobjectRecord",
  "method": "POST",
  "path": "/sobjects/Opportunity",
  "request": {
    "headers": {
      "Authorization": "Bearer {access_token}",
      "Content-Type": "application/json"
    },
    "body": {
      "Name": "Acme Corp - Enterprise License Q4 2024",
      "AccountId": "001xx000003GYkJAAW",
      "Amount": 125000,
      "CloseDate": "2024-12-31",
      "StageName": "Qualification",
      "Type": "New Business",
      "LeadSource": "Web",
      "Description": "Potential enterprise license deal for Q4 2024 close"
    }
  },
  "response": {
    "statusCode": 201,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "id": "006xx000003GYkJAAW",
      "success": true,
      "errors": []
    }
  }
}