naftiko: 1.0.0-alpha2 info: label: SAP Sales and Distribution (SD) SAP Customer Master Data (Business Partner) API — Business Partner description: 'SAP Sales and Distribution (SD) SAP Customer Master Data (Business Partner) API — Business Partner. 4 operations. Lead operation: Retrieve a list of business partners. Self-contained Naftiko capability covering one Sap Sales And Distribution Sd business surface.' tags: - Sap Sales And Distribution Sd - Business Partner created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SAP_SALES_AND_DISTRIBUTION_SD_API_KEY: SAP_SALES_AND_DISTRIBUTION_SD_API_KEY capability: consumes: - type: http namespace: sap-sd-customer-master-data-business-partner baseUri: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_BUSINESS_PARTNER description: SAP Sales and Distribution (SD) SAP Customer Master Data (Business Partner) API — Business Partner business capability. Self-contained, no shared references. resources: - name: A_BusinessPartner path: /A_BusinessPartner operations: - name: listbusinesspartners method: GET description: Retrieve a list of business partners outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createbusinesspartner method: POST description: Create a new business partner outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: A_BusinessPartner('{BusinessPartner}') path: /A_BusinessPartner('{BusinessPartner}') operations: - name: getbusinesspartner method: GET description: Retrieve a single business partner outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: BusinessPartner in: path type: string description: Business partner number (10 characters) required: true - name: updatebusinesspartner method: PATCH description: Update a business partner outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: BusinessPartner in: path type: string description: Business partner number required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SAP_SALES_AND_DISTRIBUTION_SD_API_KEY}}' exposes: - type: rest namespace: sap-sd-customer-master-data-business-partner-rest port: 8080 description: REST adapter for SAP Sales and Distribution (SD) SAP Customer Master Data (Business Partner) API — Business Partner. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/a-businesspartner name: a-businesspartner description: REST surface for A_BusinessPartner. operations: - method: GET name: listbusinesspartners description: Retrieve a list of business partners call: sap-sd-customer-master-data-business-partner.listbusinesspartners outputParameters: - type: object mapping: $. - method: POST name: createbusinesspartner description: Create a new business partner call: sap-sd-customer-master-data-business-partner.createbusinesspartner with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/a-businesspartner-businesspartner name: a-businesspartner-businesspartner description: REST surface for A_BusinessPartner('{BusinessPartner}'). operations: - method: GET name: getbusinesspartner description: Retrieve a single business partner call: sap-sd-customer-master-data-business-partner.getbusinesspartner with: BusinessPartner: rest.BusinessPartner outputParameters: - type: object mapping: $. - method: PATCH name: updatebusinesspartner description: Update a business partner call: sap-sd-customer-master-data-business-partner.updatebusinesspartner with: BusinessPartner: rest.BusinessPartner body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: sap-sd-customer-master-data-business-partner-mcp port: 9090 transport: http description: MCP adapter for SAP Sales and Distribution (SD) SAP Customer Master Data (Business Partner) API — Business Partner. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-list-business-partners description: Retrieve a list of business partners hints: readOnly: true destructive: false idempotent: true call: sap-sd-customer-master-data-business-partner.listbusinesspartners outputParameters: - type: object mapping: $. - name: create-new-business-partner description: Create a new business partner hints: readOnly: false destructive: false idempotent: false call: sap-sd-customer-master-data-business-partner.createbusinesspartner with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-single-business-partner description: Retrieve a single business partner hints: readOnly: true destructive: false idempotent: true call: sap-sd-customer-master-data-business-partner.getbusinesspartner with: BusinessPartner: tools.BusinessPartner outputParameters: - type: object mapping: $. - name: update-business-partner description: Update a business partner hints: readOnly: false destructive: false idempotent: true call: sap-sd-customer-master-data-business-partner.updatebusinesspartner with: BusinessPartner: tools.BusinessPartner body: tools.body outputParameters: - type: object mapping: $.