{
  "opencollection": "1.0.0",
  "info": {
    "name": "Salesforce Experience Cloud Salesforce CMS Connect Actions sObjects API",
    "version": "59.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.salesforce.com/services/oauth2/authorize",
      "accessTokenUrl": "https://login.salesforce.com/services/oauth2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "sObjects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Salesforce Experience Cloud Get sObject Basic Information",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/sobjects/:sObjectName",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              }
            ]
          },
          "docs": "Returns metadata about the specified sObject, including the object describe result and recently accessed records of that type."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Create an sObject Record",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/sobjects/:sObjectName",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new record for the specified sObject type. The request body must contain the field values for the new record."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Get an sObject Record",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/sobjects/:sObjectName/:recordId",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              },
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The 15 or 18 character Salesforce record ID"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of field names to return"
              }
            ]
          },
          "docs": "Returns the field values for the specified record. Use the fields parameter to specify which fields to return. If no fields are specified, all accessible fields are returned."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Update an sObject Record",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/sobjects/:sObjectName/:recordId",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              },
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The 15 or 18 character Salesforce record ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the specified record with the provided field values. Only fields included in the request body are updated."
        },
        {
          "info": {
            "name": "Salesforce Experience Cloud Delete an sObject Record",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{instance}.salesforce.com/services/data/v59.0/connect/cms/sobjects/:sObjectName/:recordId",
            "params": [
              {
                "name": "sObjectName",
                "value": "",
                "type": "path",
                "description": "The API name of the Salesforce object (e.g., Account, Contact)"
              },
              {
                "name": "recordId",
                "value": "",
                "type": "path",
                "description": "The 15 or 18 character Salesforce record ID"
              }
            ]
          },
          "docs": "Deletes the specified record. The record is moved to the Recycle Bin unless permanently deleted."
        }
      ]
    }
  ],
  "bundled": true
}