BigCommerce · Capability

BigCommerce Catalog - Product Variants — Product Variants

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

Run with Naftiko BigcommerceProduct Variants

What You Can Do

GET
Getproductvariants — BigCommerce Get All Product Variants
/v1/catalog/products/{product-id}/variants
POST
Createproductvariant — BigCommerce Create a Product Variant
/v1/catalog/products/{product-id}/variants
GET
Getproductvariant — BigCommerce Get a Product Variant
/v1/catalog/products/{product-id}/variants/{variant-id}
PUT
Updateproductvariant — BigCommerce Update a Product Variant
/v1/catalog/products/{product-id}/variants/{variant-id}
DELETE
Deleteproductvariant — BigCommerce Delete a Product Variant
/v1/catalog/products/{product-id}/variants/{variant-id}

MCP Tools

bigcommerce-get-all-product-variants

BigCommerce Get All Product Variants

read-only idempotent
bigcommerce-create-product-variant

BigCommerce Create a Product Variant

bigcommerce-get-product-variant

BigCommerce Get a Product Variant

read-only idempotent
bigcommerce-update-product-variant

BigCommerce Update a Product Variant

idempotent
bigcommerce-delete-product-variant

BigCommerce Delete a Product Variant

idempotent

Capability Spec

catalog-product-variants-product-variants.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: BigCommerce Catalog - Product Variants — Product Variants
  description: 'BigCommerce Catalog - Product Variants — Product Variants. 5 operations. Lead operation: BigCommerce Get All
    Product Variants. Self-contained Naftiko capability covering one Bigcommerce business surface.'
  tags:
  - Bigcommerce
  - Product Variants
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BIGCOMMERCE_API_KEY: BIGCOMMERCE_API_KEY
capability:
  consumes:
  - type: http
    namespace: catalog-product-variants-product-variants
    baseUri: https://api.bigcommerce.com/stores/{store_hash}/v3
    description: BigCommerce Catalog - Product Variants — Product Variants business capability. Self-contained, no shared
      references.
    resources:
    - name: catalog-products-product_id-variants
      path: /catalog/products/{product_id}/variants
      operations:
      - name: getproductvariants
        method: GET
        description: BigCommerce Get All Product Variants
        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: 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: createproductvariant
        method: POST
        description: BigCommerce Create a Product Variant
        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-variants-variant_id
      path: /catalog/products/{product_id}/variants/{variant_id}
      operations:
      - name: getproductvariant
        method: GET
        description: BigCommerce Get a Product Variant
        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: updateproductvariant
        method: PUT
        description: BigCommerce Update a Product Variant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteproductvariant
        method: DELETE
        description: BigCommerce Delete a Product Variant
        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-product-variants-product-variants-rest
    port: 8080
    description: REST adapter for BigCommerce Catalog - Product Variants — Product Variants. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/catalog/products/{product-id}/variants
      name: catalog-products-product-id-variants
      description: REST surface for catalog-products-product_id-variants.
      operations:
      - method: GET
        name: getproductvariants
        description: BigCommerce Get All Product Variants
        call: catalog-product-variants-product-variants.getproductvariants
        with:
          page: rest.page
          limit: rest.limit
          include_fields: rest.include_fields
          exclude_fields: rest.exclude_fields
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproductvariant
        description: BigCommerce Create a Product Variant
        call: catalog-product-variants-product-variants.createproductvariant
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/catalog/products/{product-id}/variants/{variant-id}
      name: catalog-products-product-id-variants-variant-id
      description: REST surface for catalog-products-product_id-variants-variant_id.
      operations:
      - method: GET
        name: getproductvariant
        description: BigCommerce Get a Product Variant
        call: catalog-product-variants-product-variants.getproductvariant
        with:
          include_fields: rest.include_fields
          exclude_fields: rest.exclude_fields
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateproductvariant
        description: BigCommerce Update a Product Variant
        call: catalog-product-variants-product-variants.updateproductvariant
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproductvariant
        description: BigCommerce Delete a Product Variant
        call: catalog-product-variants-product-variants.deleteproductvariant
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: catalog-product-variants-product-variants-mcp
    port: 9090
    transport: http
    description: MCP adapter for BigCommerce Catalog - Product Variants — Product Variants. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: bigcommerce-get-all-product-variants
      description: BigCommerce Get All Product Variants
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: catalog-product-variants-product-variants.getproductvariants
      with:
        page: tools.page
        limit: tools.limit
        include_fields: tools.include_fields
        exclude_fields: tools.exclude_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-create-product-variant
      description: BigCommerce Create a Product Variant
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: catalog-product-variants-product-variants.createproductvariant
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-get-product-variant
      description: BigCommerce Get a Product Variant
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: catalog-product-variants-product-variants.getproductvariant
      with:
        include_fields: tools.include_fields
        exclude_fields: tools.exclude_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-update-product-variant
      description: BigCommerce Update a Product Variant
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: catalog-product-variants-product-variants.updateproductvariant
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-delete-product-variant
      description: BigCommerce Delete a Product Variant
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: catalog-product-variants-product-variants.deleteproductvariant
      outputParameters:
      - type: object
        mapping: $.