naftiko: 1.0.0-alpha2 info: label: BigCommerce Email Templates — Email Templates description: 'BigCommerce Email Templates — Email Templates. 4 operations. Lead operation: BigCommerce Get Email Templates. Self-contained Naftiko capability covering one Bigcommerce business surface.' tags: - Bigcommerce - Email Templates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BIGCOMMERCE_API_KEY: BIGCOMMERCE_API_KEY capability: consumes: - type: http namespace: email-templates-email-templates baseUri: https://api.bigcommerce.com/stores/{store_hash}/v3 description: BigCommerce Email Templates — Email Templates business capability. Self-contained, no shared references. resources: - name: marketing-email-templates path: /marketing/email-templates operations: - name: getemailtemplates method: GET description: BigCommerce Get Email Templates outputRawFormat: json outputParameters: - name: result type: object value: $. - name: marketing-email-templates-template-name path: /marketing/email-templates/{template-name} operations: - name: getemailtemplate method: GET description: BigCommerce Get an Email Template outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateemailtemplate method: PUT description: BigCommerce Update a Template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deleteemailtemplateoverride method: DELETE description: BigCommerce Delete Email Template Override outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-Auth-Token value: '{{env.BIGCOMMERCE_API_KEY}}' placement: header exposes: - type: rest namespace: email-templates-email-templates-rest port: 8080 description: REST adapter for BigCommerce Email Templates — Email Templates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/marketing/email-templates name: marketing-email-templates description: REST surface for marketing-email-templates. operations: - method: GET name: getemailtemplates description: BigCommerce Get Email Templates call: email-templates-email-templates.getemailtemplates outputParameters: - type: object mapping: $. - path: /v1/marketing/email-templates/{template-name} name: marketing-email-templates-template-name description: REST surface for marketing-email-templates-template-name. operations: - method: GET name: getemailtemplate description: BigCommerce Get an Email Template call: email-templates-email-templates.getemailtemplate outputParameters: - type: object mapping: $. - method: PUT name: updateemailtemplate description: BigCommerce Update a Template call: email-templates-email-templates.updateemailtemplate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteemailtemplateoverride description: BigCommerce Delete Email Template Override call: email-templates-email-templates.deleteemailtemplateoverride outputParameters: - type: object mapping: $. - type: mcp namespace: email-templates-email-templates-mcp port: 9090 transport: http description: MCP adapter for BigCommerce Email Templates — Email Templates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: bigcommerce-get-email-templates description: BigCommerce Get Email Templates hints: readOnly: true destructive: false idempotent: true call: email-templates-email-templates.getemailtemplates outputParameters: - type: object mapping: $. - name: bigcommerce-get-email-template description: BigCommerce Get an Email Template hints: readOnly: true destructive: false idempotent: true call: email-templates-email-templates.getemailtemplate outputParameters: - type: object mapping: $. - name: bigcommerce-update-template description: BigCommerce Update a Template hints: readOnly: false destructive: false idempotent: true call: email-templates-email-templates.updateemailtemplate with: body: tools.body outputParameters: - type: object mapping: $. - name: bigcommerce-delete-email-template-override description: BigCommerce Delete Email Template Override hints: readOnly: false destructive: true idempotent: true call: email-templates-email-templates.deleteemailtemplateoverride outputParameters: - type: object mapping: $.