naftiko: 1.0.0-alpha2 info: label: BigCommerce Channels — Batch Metafields description: 'BigCommerce Channels — Batch Metafields. 4 operations. Lead operation: BigCommerce Get All Channel Metafields. Self-contained Naftiko capability covering one Bigcommerce business surface.' tags: - Bigcommerce - Batch Metafields created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BIGCOMMERCE_API_KEY: BIGCOMMERCE_API_KEY capability: consumes: - type: http namespace: channels-batch-metafields baseUri: https://api.bigcommerce.com/stores/{store_hash}/v3 description: BigCommerce Channels — Batch Metafields business capability. Self-contained, no shared references. resources: - name: channels-metafields path: /channels/metafields operations: - name: getchannelsmetafields method: GET description: BigCommerce Get All Channel Metafields outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createchannelsmetafields method: POST description: BigCommerce Create multiple Metafields outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: updatechannelsmetafields method: PUT description: BigCommerce Update multiple Metafields outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deletechannelsmetafields method: DELETE description: BigCommerce Delete All Metafields outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: X-Auth-Token value: '{{env.BIGCOMMERCE_API_KEY}}' placement: header exposes: - type: rest namespace: channels-batch-metafields-rest port: 8080 description: REST adapter for BigCommerce Channels — Batch Metafields. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/channels/metafields name: channels-metafields description: REST surface for channels-metafields. operations: - method: GET name: getchannelsmetafields description: BigCommerce Get All Channel Metafields call: channels-batch-metafields.getchannelsmetafields outputParameters: - type: object mapping: $. - method: POST name: createchannelsmetafields description: BigCommerce Create multiple Metafields call: channels-batch-metafields.createchannelsmetafields with: body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updatechannelsmetafields description: BigCommerce Update multiple Metafields call: channels-batch-metafields.updatechannelsmetafields with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletechannelsmetafields description: BigCommerce Delete All Metafields call: channels-batch-metafields.deletechannelsmetafields with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: channels-batch-metafields-mcp port: 9090 transport: http description: MCP adapter for BigCommerce Channels — Batch Metafields. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: bigcommerce-get-all-channel-metafields description: BigCommerce Get All Channel Metafields hints: readOnly: true destructive: false idempotent: true call: channels-batch-metafields.getchannelsmetafields outputParameters: - type: object mapping: $. - name: bigcommerce-create-multiple-metafields description: BigCommerce Create multiple Metafields hints: readOnly: false destructive: false idempotent: false call: channels-batch-metafields.createchannelsmetafields with: body: tools.body outputParameters: - type: object mapping: $. - name: bigcommerce-update-multiple-metafields description: BigCommerce Update multiple Metafields hints: readOnly: false destructive: false idempotent: true call: channels-batch-metafields.updatechannelsmetafields with: body: tools.body outputParameters: - type: object mapping: $. - name: bigcommerce-delete-all-metafields description: BigCommerce Delete All Metafields hints: readOnly: false destructive: true idempotent: true call: channels-batch-metafields.deletechannelsmetafields with: body: tools.body outputParameters: - type: object mapping: $.