BigCommerce · Capability

BigCommerce Catalog - Products — Metafields

BigCommerce Catalog - Products — Metafields. 5 operations. Lead operation: BigCommerce Get Product Metafields. Self-contained Naftiko capability covering one Bigcommerce business surface.

Run with Naftiko BigcommerceMetafields

What You Can Do

GET
Getproductmetafields — BigCommerce Get Product Metafields
/v1/catalog/products/{product-id}/metafields
POST
Createproductmetafield — BigCommerce Create a Product Metafield
/v1/catalog/products/{product-id}/metafields
GET
Getproductmetafield — BigCommerce Get a Product Metafield
/v1/catalog/products/{product-id}/metafields/{metafield-id}
PUT
Updateproductmetafield — BigCommerce Update a Product Metafield
/v1/catalog/products/{product-id}/metafields/{metafield-id}
DELETE
Deleteproductmetafield — BigCommerce Delete a Product Metafield
/v1/catalog/products/{product-id}/metafields/{metafield-id}

MCP Tools

bigcommerce-get-product-metafields

BigCommerce Get Product Metafields

read-only idempotent
bigcommerce-create-product-metafield

BigCommerce Create a Product Metafield

bigcommerce-get-product-metafield

BigCommerce Get a Product Metafield

read-only idempotent
bigcommerce-update-product-metafield

BigCommerce Update a Product Metafield

idempotent
bigcommerce-delete-product-metafield

BigCommerce Delete a Product Metafield

idempotent

Capability Spec

catalog-products-metafields.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: BigCommerce Catalog - Products — Metafields
  description: 'BigCommerce Catalog - Products — Metafields. 5 operations. Lead operation: BigCommerce Get Product Metafields.
    Self-contained Naftiko capability covering one Bigcommerce business surface.'
  tags:
  - Bigcommerce
  - Metafields
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BIGCOMMERCE_API_KEY: BIGCOMMERCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: catalog-products-metafields
    baseUri: https://api.bigcommerce.com/stores/{store_hash}/v3
    description: BigCommerce Catalog - Products — Metafields business capability. Self-contained, no shared references.
    resources:
    - name: catalog-products-product_id-metafields
      path: /catalog/products/{product_id}/metafields
      operations:
      - name: getproductmetafields
        method: GET
        description: BigCommerce Get Product Metafields
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: integer
          description: Specifies the page number in a limited (paginated) list of products.
        - name: limit
          in: query
          type: integer
          description: Controls the number of items per page in a limited (paginated) list of products.
        - name: key
          in: query
          type: string
          description: Filter based on a metafieldʼs key.
        - name: namespace
          in: query
          type: string
          description: Filter based on a metafieldʼs namespace.
        - name: include_fields
          in: query
          type: string
          description: Fields to include, in a comma-separated list. The ID and the specified fields will be returned.
        - name: exclude_fields
          in: query
          type: string
          description: Fields to exclude, in a comma-separated list. The specified fields will be excluded from a response.
            The ID cannot be excluded.
      - name: createproductmetafield
        method: POST
        description: BigCommerce Create a Product Metafield
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: catalog-products-product_id-metafields-metafield_id
      path: /catalog/products/{product_id}/metafields/{metafield_id}
      operations:
      - name: getproductmetafield
        method: GET
        description: BigCommerce Get a Product Metafield
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: include_fields
          in: query
          type: string
          description: Fields to include, in a comma-separated list. The ID and the specified fields will be returned.
        - name: exclude_fields
          in: query
          type: string
          description: Fields to exclude, in a comma-separated list. The specified fields will be excluded from a response.
            The ID cannot be excluded.
      - name: updateproductmetafield
        method: PUT
        description: BigCommerce Update a Product Metafield
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteproductmetafield
        method: DELETE
        description: BigCommerce Delete a Product Metafield
        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: catalog-products-metafields-rest
    port: 8080
    description: REST adapter for BigCommerce Catalog - Products — Metafields. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/catalog/products/{product-id}/metafields
      name: catalog-products-product-id-metafields
      description: REST surface for catalog-products-product_id-metafields.
      operations:
      - method: GET
        name: getproductmetafields
        description: BigCommerce Get Product Metafields
        call: catalog-products-metafields.getproductmetafields
        with:
          page: rest.page
          limit: rest.limit
          key: rest.key
          namespace: rest.namespace
          include_fields: rest.include_fields
          exclude_fields: rest.exclude_fields
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproductmetafield
        description: BigCommerce Create a Product Metafield
        call: catalog-products-metafields.createproductmetafield
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/catalog/products/{product-id}/metafields/{metafield-id}
      name: catalog-products-product-id-metafields-metafield-id
      description: REST surface for catalog-products-product_id-metafields-metafield_id.
      operations:
      - method: GET
        name: getproductmetafield
        description: BigCommerce Get a Product Metafield
        call: catalog-products-metafields.getproductmetafield
        with:
          include_fields: rest.include_fields
          exclude_fields: rest.exclude_fields
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateproductmetafield
        description: BigCommerce Update a Product Metafield
        call: catalog-products-metafields.updateproductmetafield
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproductmetafield
        description: BigCommerce Delete a Product Metafield
        call: catalog-products-metafields.deleteproductmetafield
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: catalog-products-metafields-mcp
    port: 9090
    transport: http
    description: MCP adapter for BigCommerce Catalog - Products — Metafields. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: bigcommerce-get-product-metafields
      description: BigCommerce Get Product Metafields
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: catalog-products-metafields.getproductmetafields
      with:
        page: tools.page
        limit: tools.limit
        key: tools.key
        namespace: tools.namespace
        include_fields: tools.include_fields
        exclude_fields: tools.exclude_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-create-product-metafield
      description: BigCommerce Create a Product Metafield
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: catalog-products-metafields.createproductmetafield
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-get-product-metafield
      description: BigCommerce Get a Product Metafield
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: catalog-products-metafields.getproductmetafield
      with:
        include_fields: tools.include_fields
        exclude_fields: tools.exclude_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-update-product-metafield
      description: BigCommerce Update a Product Metafield
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: catalog-products-metafields.updateproductmetafield
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-delete-product-metafield
      description: BigCommerce Delete a Product Metafield
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: catalog-products-metafields.deleteproductmetafield
      outputParameters:
      - type: object
        mapping: $.