naftiko: 1.0.0-alpha2 info: label: Salesforce — Update description: 'Salesforce — Update. 20 operations. Lead operation: Salesforce Create or Update Quote. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Update created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-update baseUri: https://login.salesforce.com description: Salesforce — Update business capability. Self-contained, no shared references. resources: - name: data-v64.0-commerce-quotes-actions-place path: /data/v64.0/commerce/quotes/actions/place operations: - name: createorupdatequote method: POST description: Salesforce Create or Update Quote outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-composite-sobjects path: /data/v64.0/composite/sobjects operations: - name: sobjectcollectionsupdate method: PATCH description: Salesforce Sobject Collections Update outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-connect-business-rules-decision-table-definitions-decisionTableId path: /data/v64.0/connect/business-rules/decision-table/definitions/{decisionTableId} operations: - name: updatetable method: PATCH description: Salesforce Update Table outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: decisionTableId in: path type: string description: Decision Table Id required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-connect-business-rules-expression-set-expressionSetId path: /data/v64.0/connect/business-rules/expression-set/{expressionSetId} operations: - name: expressionsetupdate method: PATCH description: Salesforce Expression Set Update outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: expressionSetId in: path type: string description: 'Expression Set Id: For Example 9QLHo000000LBjEOAW' required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-connect-fundraising-commitments-payment-updates path: /data/v64.0/connect/fundraising/commitments/payment-updates operations: - name: updatecommitmentpayments method: POST description: Salesforce Update Commitment Payments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-connect-fundraising-commitments-commitmentId path: /data/v64.0/connect/fundraising/commitments/{commitmentId} operations: - name: updatecommitments method: PATCH description: Salesforce Update Commitments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: commitmentId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-connect-fundraising-transactions-payment-updates path: /data/v64.0/connect/fundraising/transactions/payment-updates operations: - name: updategifttransactionpayments method: POST description: Salesforce Update Gift Transaction Payments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-named-credentials-credential path: /data/v64.0/named-credentials/credential operations: - name: updatecredential method: PUT description: Salesforce Update Credential outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-named-credentials-external-credentials-DEVELOPER_NAME path: /data/v64.0/named-credentials/external-credentials/{DEVELOPER_NAME} operations: - name: updateexternalcredential method: PUT description: Salesforce Update External Credential outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: DEVELOPER_NAME in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-named-credentials-named-credential-setup-DEVELOPER_NAME path: /data/v64.0/named-credentials/named-credential-setup/{DEVELOPER_NAME} operations: - name: updatenamedcredential method: PUT description: Salesforce Update Named Credential outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: DEVELOPER_NAME in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-sobjects-SOBJECT_API_NAME-RECORD_ID path: /data/v64.0/sobjects/{SOBJECT_API_NAME}/{RECORD_ID} operations: - name: sobjectrowsupdate method: PATCH description: Salesforce Sobject Rows Update outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: SOBJECT_API_NAME in: path type: string required: true - name: RECORD_ID in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-tooling-sobjects-ManagedEventSubscription-managedEventSubscriptionId path: /data/v64.0/tooling/sobjects/ManagedEventSubscription/{managedEventSubscriptionId} operations: - name: updatemanagedeventsubscription method: PATCH description: Salesforce Update Managed Event Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: managedEventSubscriptionId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-tooling-sobjects-NamedCredential-NAMED_CREDENTIAL_ID path: /data/v64.0/tooling/sobjects/NamedCredential/{NAMED_CREDENTIAL_ID} operations: - name: updatenamedcredential method: PATCH description: Salesforce Update Named Credential outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: NAMED_CREDENTIAL_ID in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-tooling-sobjects-PlatformEventChannel-PLATFORM_EVENT_CHANNEL_ID path: /data/v64.0/tooling/sobjects/PlatformEventChannel/{PLATFORM_EVENT_CHANNEL_ID} operations: - name: updatechannel method: PATCH description: Salesforce Update Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: PLATFORM_EVENT_CHANNEL_ID in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-ui-api-apps-APP_ID path: /data/v64.0/ui-api/apps/{APP_ID} operations: - name: updatelastselectedapp method: PATCH description: Salesforce Update Last Selected App outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: formFactor in: query type: string description: The form factor for each app that the user has access to (`Large`, `Medium` or `Small`) required: true - name: APP_ID in: path type: string description: Application ID required: true - name: data-v64.0-ui-api-apps-APP_ID-user-nav-items path: /data/v64.0/ui-api/apps/{APP_ID}/user-nav-items operations: - name: updatepersonalizednavigationitems method: PUT description: Salesforce Update Personalized Navigation Items outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: APP_ID in: path type: string description: Application ID required: true - name: data-v64.0-ui-api-favorites-batch path: /data/v64.0/ui-api/favorites/batch operations: - name: updateabatchoffavorites method: PUT description: Salesforce Update a Batch of Favorites outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-ui-api-favorites-FAVORITE_ID path: /data/v64.0/ui-api/favorites/{FAVORITE_ID} operations: - name: updateafavorite method: PATCH description: Salesforce Update a Favorite outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: FAVORITE_ID in: path type: string description: The ID of a favorite required: true - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-ui-api-favorites-FAVORITE_ID-usage path: /data/v64.0/ui-api/favorites/{FAVORITE_ID}/usage operations: - name: updateusageofafavorite method: PATCH description: Salesforce Update Usage of a Favorite outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: FAVORITE_ID in: path type: string description: The ID of a favorite required: true - name: data-v64.0-ui-api-records-RECORD_ID path: /data/v64.0/ui-api/records/{RECORD_ID} operations: - name: updatearecord method: PATCH description: Salesforce Update a Record outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: RECORD_ID in: path type: string description: Record ID required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-update-rest port: 8080 description: REST adapter for Salesforce — Update. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/commerce/quotes/actions/place name: data-v64-0-commerce-quotes-actions-place description: REST surface for data-v64.0-commerce-quotes-actions-place. operations: - method: POST name: createorupdatequote description: Salesforce Create or Update Quote call: salesforce-update.createorupdatequote with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/composite/sobjects name: data-v64-0-composite-sobjects description: REST surface for data-v64.0-composite-sobjects. operations: - method: PATCH name: sobjectcollectionsupdate description: Salesforce Sobject Collections Update call: salesforce-update.sobjectcollectionsupdate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/connect/business-rules/decision-table/definitions/{decisiontableid} name: data-v64-0-connect-business-rules-decision-table-definitions-decisiontableid description: REST surface for data-v64.0-connect-business-rules-decision-table-definitions-decisionTableId. operations: - method: PATCH name: updatetable description: Salesforce Update Table call: salesforce-update.updatetable with: decisionTableId: rest.decisionTableId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/connect/business-rules/expression-set/{expressionsetid} name: data-v64-0-connect-business-rules-expression-set-expressionsetid description: REST surface for data-v64.0-connect-business-rules-expression-set-expressionSetId. operations: - method: PATCH name: expressionsetupdate description: Salesforce Expression Set Update call: salesforce-update.expressionsetupdate with: expressionSetId: rest.expressionSetId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/connect/fundraising/commitments/payment-updates name: data-v64-0-connect-fundraising-commitments-payment-updates description: REST surface for data-v64.0-connect-fundraising-commitments-payment-updates. operations: - method: POST name: updatecommitmentpayments description: Salesforce Update Commitment Payments call: salesforce-update.updatecommitmentpayments with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/connect/fundraising/commitments/{commitmentid} name: data-v64-0-connect-fundraising-commitments-commitmentid description: REST surface for data-v64.0-connect-fundraising-commitments-commitmentId. operations: - method: PATCH name: updatecommitments description: Salesforce Update Commitments call: salesforce-update.updatecommitments with: commitmentId: rest.commitmentId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/connect/fundraising/transactions/payment-updates name: data-v64-0-connect-fundraising-transactions-payment-updates description: REST surface for data-v64.0-connect-fundraising-transactions-payment-updates. operations: - method: POST name: updategifttransactionpayments description: Salesforce Update Gift Transaction Payments call: salesforce-update.updategifttransactionpayments with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/named-credentials/credential name: data-v64-0-named-credentials-credential description: REST surface for data-v64.0-named-credentials-credential. operations: - method: PUT name: updatecredential description: Salesforce Update Credential call: salesforce-update.updatecredential with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/named-credentials/external-credentials/{developer-name} name: data-v64-0-named-credentials-external-credentials-developer-name description: REST surface for data-v64.0-named-credentials-external-credentials-DEVELOPER_NAME. operations: - method: PUT name: updateexternalcredential description: Salesforce Update External Credential call: salesforce-update.updateexternalcredential with: DEVELOPER_NAME: rest.DEVELOPER_NAME body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/named-credentials/named-credential-setup/{developer-name} name: data-v64-0-named-credentials-named-credential-setup-developer-name description: REST surface for data-v64.0-named-credentials-named-credential-setup-DEVELOPER_NAME. operations: - method: PUT name: updatenamedcredential description: Salesforce Update Named Credential call: salesforce-update.updatenamedcredential with: DEVELOPER_NAME: rest.DEVELOPER_NAME body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/sobjects/{sobject-api-name}/{record-id} name: data-v64-0-sobjects-sobject-api-name-record-id description: REST surface for data-v64.0-sobjects-SOBJECT_API_NAME-RECORD_ID. operations: - method: PATCH name: sobjectrowsupdate description: Salesforce Sobject Rows Update call: salesforce-update.sobjectrowsupdate with: SOBJECT_API_NAME: rest.SOBJECT_API_NAME RECORD_ID: rest.RECORD_ID body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/managedeventsubscription/{managedeventsubscriptionid} name: data-v64-0-tooling-sobjects-managedeventsubscription-managedeventsubscriptionid description: REST surface for data-v64.0-tooling-sobjects-ManagedEventSubscription-managedEventSubscriptionId. operations: - method: PATCH name: updatemanagedeventsubscription description: Salesforce Update Managed Event Subscription call: salesforce-update.updatemanagedeventsubscription with: managedEventSubscriptionId: rest.managedEventSubscriptionId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/namedcredential/{named-credential-id} name: data-v64-0-tooling-sobjects-namedcredential-named-credential-id description: REST surface for data-v64.0-tooling-sobjects-NamedCredential-NAMED_CREDENTIAL_ID. operations: - method: PATCH name: updatenamedcredential description: Salesforce Update Named Credential call: salesforce-update.updatenamedcredential with: NAMED_CREDENTIAL_ID: rest.NAMED_CREDENTIAL_ID body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/platformeventchannel/{platform-event-channel-id} name: data-v64-0-tooling-sobjects-platformeventchannel-platform-event-channel-id description: REST surface for data-v64.0-tooling-sobjects-PlatformEventChannel-PLATFORM_EVENT_CHANNEL_ID. operations: - method: PATCH name: updatechannel description: Salesforce Update Channel call: salesforce-update.updatechannel with: PLATFORM_EVENT_CHANNEL_ID: rest.PLATFORM_EVENT_CHANNEL_ID body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/apps/{app-id} name: data-v64-0-ui-api-apps-app-id description: REST surface for data-v64.0-ui-api-apps-APP_ID. operations: - method: PATCH name: updatelastselectedapp description: Salesforce Update Last Selected App call: salesforce-update.updatelastselectedapp with: formFactor: rest.formFactor APP_ID: rest.APP_ID outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/apps/{app-id}/user-nav-items name: data-v64-0-ui-api-apps-app-id-user-nav-items description: REST surface for data-v64.0-ui-api-apps-APP_ID-user-nav-items. operations: - method: PUT name: updatepersonalizednavigationitems description: Salesforce Update Personalized Navigation Items call: salesforce-update.updatepersonalizednavigationitems with: APP_ID: rest.APP_ID outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/favorites/batch name: data-v64-0-ui-api-favorites-batch description: REST surface for data-v64.0-ui-api-favorites-batch. operations: - method: PUT name: updateabatchoffavorites description: Salesforce Update a Batch of Favorites call: salesforce-update.updateabatchoffavorites with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/favorites/{favorite-id} name: data-v64-0-ui-api-favorites-favorite-id description: REST surface for data-v64.0-ui-api-favorites-FAVORITE_ID. operations: - method: PATCH name: updateafavorite description: Salesforce Update a Favorite call: salesforce-update.updateafavorite with: FAVORITE_ID: rest.FAVORITE_ID body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/favorites/{favorite-id}/usage name: data-v64-0-ui-api-favorites-favorite-id-usage description: REST surface for data-v64.0-ui-api-favorites-FAVORITE_ID-usage. operations: - method: PATCH name: updateusageofafavorite description: Salesforce Update Usage of a Favorite call: salesforce-update.updateusageofafavorite with: FAVORITE_ID: rest.FAVORITE_ID outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/ui-api/records/{record-id} name: data-v64-0-ui-api-records-record-id description: REST surface for data-v64.0-ui-api-records-RECORD_ID. operations: - method: PATCH name: updatearecord description: Salesforce Update a Record call: salesforce-update.updatearecord with: RECORD_ID: rest.RECORD_ID body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-update-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Update. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-create-update-quote description: Salesforce Create or Update Quote hints: readOnly: false destructive: false idempotent: false call: salesforce-update.createorupdatequote with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-sobject-collections-update description: Salesforce Sobject Collections Update hints: readOnly: false destructive: false idempotent: true call: salesforce-update.sobjectcollectionsupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-table description: Salesforce Update Table hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatetable with: decisionTableId: tools.decisionTableId body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-expression-set-update description: Salesforce Expression Set Update hints: readOnly: false destructive: false idempotent: true call: salesforce-update.expressionsetupdate with: expressionSetId: tools.expressionSetId body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-commitment-payments description: Salesforce Update Commitment Payments hints: readOnly: false destructive: false idempotent: false call: salesforce-update.updatecommitmentpayments with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-commitments description: Salesforce Update Commitments hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatecommitments with: commitmentId: tools.commitmentId body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-gift-transaction-payments description: Salesforce Update Gift Transaction Payments hints: readOnly: false destructive: false idempotent: false call: salesforce-update.updategifttransactionpayments with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-credential description: Salesforce Update Credential hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatecredential with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-external-credential description: Salesforce Update External Credential hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updateexternalcredential with: DEVELOPER_NAME: tools.DEVELOPER_NAME body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-named-credential description: Salesforce Update Named Credential hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatenamedcredential with: DEVELOPER_NAME: tools.DEVELOPER_NAME body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-sobject-rows-update description: Salesforce Sobject Rows Update hints: readOnly: false destructive: false idempotent: true call: salesforce-update.sobjectrowsupdate with: SOBJECT_API_NAME: tools.SOBJECT_API_NAME RECORD_ID: tools.RECORD_ID body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-managed-event-subscription description: Salesforce Update Managed Event Subscription hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatemanagedeventsubscription with: managedEventSubscriptionId: tools.managedEventSubscriptionId body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-named-credential-2 description: Salesforce Update Named Credential hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatenamedcredential with: NAMED_CREDENTIAL_ID: tools.NAMED_CREDENTIAL_ID body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-channel description: Salesforce Update Channel hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatechannel with: PLATFORM_EVENT_CHANNEL_ID: tools.PLATFORM_EVENT_CHANNEL_ID body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-last-selected-app description: Salesforce Update Last Selected App hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatelastselectedapp with: formFactor: tools.formFactor APP_ID: tools.APP_ID outputParameters: - type: object mapping: $. - name: salesforce-update-personalized-navigation-items description: Salesforce Update Personalized Navigation Items hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatepersonalizednavigationitems with: APP_ID: tools.APP_ID outputParameters: - type: object mapping: $. - name: salesforce-update-batch-favorites description: Salesforce Update a Batch of Favorites hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updateabatchoffavorites with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-favorite description: Salesforce Update a Favorite hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updateafavorite with: FAVORITE_ID: tools.FAVORITE_ID body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-update-usage-favorite description: Salesforce Update Usage of a Favorite hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updateusageofafavorite with: FAVORITE_ID: tools.FAVORITE_ID outputParameters: - type: object mapping: $. - name: salesforce-update-record description: Salesforce Update a Record hints: readOnly: false destructive: false idempotent: true call: salesforce-update.updatearecord with: RECORD_ID: tools.RECORD_ID body: tools.body outputParameters: - type: object mapping: $.