Salesforce Add API

The Add API from Salesforce — 2 operation(s) for add.

Operations 2

POST /data/v64.0/commerce/webstores//carts/{webCartId}/cart-items Salesforce Add an Item to a Cart #
PATCH /data/v64.0/tooling/sobjects/PlatformEventChannelMember/{PLATFORM_EVENT_CHANNEL_MEMBER_ID} Salesforce Add Enriched Fields to Channel Member #

Documentation

Specifications

Schemas & Data

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/salesforce-add-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

salesforce-add-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salesforce Add API
  description: 'Find the resources you need to start building. '
  contact: {}
  version: '1.0'
servers:
- url: https://login.salesforce.com
  variables: {}
- url: https://id
  variables: {}
- url: https://services
  variables: {}
- url: '{{url}}{{site}}/services/oauth2'
  variables:
    url:
      default: DefaultParameterValue
    site:
      default: DefaultParameterValue
security:
- oauth2:
  - api
tags:
- name: Add
paths:
  /data/v64.0/commerce/webstores//carts/{webCartId}/cart-items:
    parameters: []
    post:
      tags:
      - Add
      summary: Salesforce Add an Item to a Cart
      operationId: Addanitemtoacart
      parameters:
      - name: effectiveAccountId
        in: query
        description: ''
        required: true
        style: form
        explode: true
        schema:
          type: string
          examples:
          - <EFFECTiVE_ACCOUNT_ID>
        example: '500123'
      - name: webCartId
        in: path
        description: ''
        required: true
        schema:
          type: string
          examples:
          - 'null'
        example: '500123'
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AddanitemtoacartRequest'
              - examples:
                - productId: <PRODUCT-ID>
                  quantity: 3
                  type: Product
              contentMediaType: application/json
            example:
              productId: <PRODUCT-ID>
              quantity: 3
              type: Product
        required: true
      responses:
        '200':
          description: ''
          headers: {}
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /data/v64.0/tooling/sobjects/PlatformEventChannelMember/{PLATFORM_EVENT_CHANNEL_MEMBER_ID}:
    parameters: []
    patch:
      tags:
      - Add
      summary: Salesforce Add Enriched Fields to Channel Member
      operationId: Addenrichedfieldstochannelmember
      parameters:
      - name: PLATFORM_EVENT_CHANNEL_MEMBER_ID
        in: path
        description: ''
        required: true
        schema:
          type: string
        example: '500123'
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/AddenrichedfieldstochannelmemberRequest'
              - examples:
                - FullName: Account_Channel_chn_AccountChangeEvent
                  Metadata:
                    enrichedFields:
                    - name: External_Account_ID__c
                    eventChannel: Account_Channel__chn
                    selectedEntity: AccountChangeEvent
              contentMediaType: application/json
            example:
              FullName: Account_Channel_chn_AccountChangeEvent
              Metadata:
                enrichedFields:
                - name: External_Account_ID__c
                eventChannel: Account_Channel__chn
                selectedEntity: AccountChangeEvent
        required: true
      responses:
        '200':
          description: ''
          headers: {}
      deprecated: false
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    AddanitemtoacartRequest:
      title: AddanitemtoacartRequest
      required:
      - productId
      - quantity
      - type
      type: object
      properties:
        productId:
          type: string
          example: '500123'
        quantity:
          type: integer
          contentEncoding: int32
          example: 10
        type:
          type: string
          example: example_value
      examples:
      - productId: <PRODUCT-ID>
        quantity: 3
        type: Product
    Metadata2:
      title: Metadata2
      required:
      - enrichedFields
      - eventChannel
      - selectedEntity
      type: object
      properties:
        enrichedFields:
          type: array
          items:
            $ref: '#/components/schemas/EnrichedField'
          description: ''
          example: []
        eventChannel:
          type: string
          example: example_value
        selectedEntity:
          type: string
          example: example_value
      examples:
      - enrichedFields:
        - name: External_Account_ID__c
        eventChannel: Account_Channel__chn
        selectedEntity: AccountChangeEvent
    EnrichedField:
      title: EnrichedField
      required:
      - name
      type: object
      properties:
        name:
          type: string
          example: Example Title
      examples:
      - name: External_Account_ID__c
    AddenrichedfieldstochannelmemberRequest:
      title: AddenrichedfieldstochannelmemberRequest
      required:
      - FullName
      - Metadata
      type: object
      properties:
        FullName:
          type: string
          example: example_value
        Metadata:
          $ref: '#/components/schemas/Metadata2'
      examples:
      - FullName: Account_Channel_chn_AccountChangeEvent
        Metadata:
          enrichedFields:
          - name: External_Account_ID__c
          eventChannel: Account_Channel__chn
          selectedEntity: AccountChangeEvent
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: '{DefaultParameterValue}{DefaultParameterValue}/services/oauth2/authorize'
          scopes:
            api: ''