{
  "opencollection": "1.0.0",
  "info": {
    "name": "Gainsight CS Bulk Accounts Opportunities API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "accessKey",
      "value": "{{accessKey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Opportunities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gainsight Create an opportunity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.gainsightcloud.com/v1/data/objects/Opportunity",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new opportunity record in the Gainsight Opportunity object. Supports renewal, upsell, and downsell booking types."
        },
        {
          "info": {
            "name": "Gainsight Update opportunities",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{domain}.gainsightcloud.com/v1/data/objects/Opportunity",
            "params": [
              {
                "name": "keys",
                "value": "",
                "type": "query",
                "description": "Comma-separated key fields for matching"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update one or more opportunity records."
        },
        {
          "info": {
            "name": "Gainsight Search opportunities",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.gainsightcloud.com/v1/data/objects/Opportunity/search",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Search for opportunity records using filter criteria."
        },
        {
          "info": {
            "name": "Gainsight Get an opportunity",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.gainsightcloud.com/v1/data/objects/Opportunity/:recordId",
            "params": [
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "Opportunity record Gsid"
              }
            ]
          },
          "docs": "Retrieve a specific opportunity by ID."
        }
      ]
    }
  ],
  "bundled": true
}