BigCommerce · Capability

BigCommerce Storefront Checkouts — Checkout Gift Certificates

BigCommerce Storefront Checkouts — Checkout Gift Certificates. 2 operations. Lead operation: BigCommerce Add Gift Certificate to Checkout. Self-contained Naftiko capability covering one Bigcommerce business surface.

Run with Naftiko BigcommerceCheckout Gift Certificates

What You Can Do

POST
Addcheckoutgiftcertificate — BigCommerce Add Gift Certificate to Checkout
/v1/checkouts/{checkoutid}/gift-certificates
DELETE
Deletecheckoutgiftcertificate — BigCommerce Delete Gift Certificate
/v1/checkouts/{checkoutid}/gift-certificates/{giftcertificatecode}

MCP Tools

bigcommerce-add-gift-certificate-checkout

BigCommerce Add Gift Certificate to Checkout

bigcommerce-delete-gift-certificate

BigCommerce Delete Gift Certificate

idempotent

Capability Spec

storefront-checkouts-checkout-gift-certificates.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: BigCommerce Storefront Checkouts — Checkout Gift Certificates
  description: 'BigCommerce Storefront Checkouts — Checkout Gift Certificates. 2 operations. Lead operation: BigCommerce Add
    Gift Certificate to Checkout. Self-contained Naftiko capability covering one Bigcommerce business surface.'
  tags:
  - Bigcommerce
  - Checkout Gift Certificates
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BIGCOMMERCE_API_KEY: BIGCOMMERCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: storefront-checkouts-checkout-gift-certificates
    baseUri: https://{store_domain}/api/storefront
    description: BigCommerce Storefront Checkouts — Checkout Gift Certificates business capability. Self-contained, no shared
      references.
    resources:
    - name: checkouts-checkoutId-gift-certificates
      path: /checkouts/{checkoutId}/gift-certificates
      operations:
      - name: addcheckoutgiftcertificate
        method: POST
        description: BigCommerce Add Gift Certificate to Checkout
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: checkoutId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: checkouts-checkoutId-gift-certificates-giftCertificateCode
      path: /checkouts/{checkoutId}/gift-certificates/{giftCertificateCode}
      operations:
      - name: deletecheckoutgiftcertificate
        method: DELETE
        description: BigCommerce Delete Gift Certificate
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: checkoutId
          in: path
          type: string
          required: true
        - name: giftCertificateCode
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: storefront-checkouts-checkout-gift-certificates-rest
    port: 8080
    description: REST adapter for BigCommerce Storefront Checkouts — Checkout Gift Certificates. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/checkouts/{checkoutid}/gift-certificates
      name: checkouts-checkoutid-gift-certificates
      description: REST surface for checkouts-checkoutId-gift-certificates.
      operations:
      - method: POST
        name: addcheckoutgiftcertificate
        description: BigCommerce Add Gift Certificate to Checkout
        call: storefront-checkouts-checkout-gift-certificates.addcheckoutgiftcertificate
        with:
          checkoutId: rest.checkoutId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/checkouts/{checkoutid}/gift-certificates/{giftcertificatecode}
      name: checkouts-checkoutid-gift-certificates-giftcertificatecode
      description: REST surface for checkouts-checkoutId-gift-certificates-giftCertificateCode.
      operations:
      - method: DELETE
        name: deletecheckoutgiftcertificate
        description: BigCommerce Delete Gift Certificate
        call: storefront-checkouts-checkout-gift-certificates.deletecheckoutgiftcertificate
        with:
          checkoutId: rest.checkoutId
          giftCertificateCode: rest.giftCertificateCode
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: storefront-checkouts-checkout-gift-certificates-mcp
    port: 9090
    transport: http
    description: MCP adapter for BigCommerce Storefront Checkouts — Checkout Gift Certificates. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: bigcommerce-add-gift-certificate-checkout
      description: BigCommerce Add Gift Certificate to Checkout
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: storefront-checkouts-checkout-gift-certificates.addcheckoutgiftcertificate
      with:
        checkoutId: tools.checkoutId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-delete-gift-certificate
      description: BigCommerce Delete Gift Certificate
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: storefront-checkouts-checkout-gift-certificates.deletecheckoutgiftcertificate
      with:
        checkoutId: tools.checkoutId
        giftCertificateCode: tools.giftCertificateCode
      outputParameters:
      - type: object
        mapping: $.