BigCommerce · Capability

BigCommerce Catalog - Products — Complex Rules

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

Run with Naftiko BigcommerceComplex Rules

What You Can Do

GET
Getproductcomplexrules — BigCommerce Get Complex Rules
/v1/catalog/products/{product-id}/complex-rules
POST
Createproductcomplexrule — BigCommerce Create a Complex Rule
/v1/catalog/products/{product-id}/complex-rules
GET
Getproductcomplexrule — BigCommerce Get a Product Complex Rule
/v1/catalog/products/{product-id}/complex-rules/{complex-rule-id}
PUT
Updateproductcomplexrule — BigCommerce Update a Product Complex Rule
/v1/catalog/products/{product-id}/complex-rules/{complex-rule-id}
DELETE
Deleteproductcomplexrule — BigCommerce Delete a Product Complex Rule
/v1/catalog/products/{product-id}/complex-rules/{complex-rule-id}

MCP Tools

bigcommerce-get-complex-rules

BigCommerce Get Complex Rules

read-only idempotent
bigcommerce-create-complex-rule

BigCommerce Create a Complex Rule

bigcommerce-get-product-complex-rule

BigCommerce Get a Product Complex Rule

read-only idempotent
bigcommerce-update-product-complex-rule

BigCommerce Update a Product Complex Rule

idempotent
bigcommerce-delete-product-complex-rule

BigCommerce Delete a Product Complex Rule

idempotent

Capability Spec

catalog-products-complex-rules.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: BigCommerce Catalog - Products — Complex Rules
  description: 'BigCommerce Catalog - Products — Complex Rules. 5 operations. Lead operation: BigCommerce Get Complex Rules.
    Self-contained Naftiko capability covering one Bigcommerce business surface.'
  tags:
  - Bigcommerce
  - Complex Rules
  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-complex-rules
    baseUri: https://api.bigcommerce.com/stores/{store_hash}/v3
    description: BigCommerce Catalog - Products — Complex Rules business capability. Self-contained, no shared references.
    resources:
    - name: catalog-products-product_id-complex-rules
      path: /catalog/products/{product_id}/complex-rules
      operations:
      - name: getproductcomplexrules
        method: GET
        description: BigCommerce Get Complex Rules
        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: 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: createproductcomplexrule
        method: POST
        description: BigCommerce Create a Complex Rule
        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-complex-rules-complex_rule_id
      path: /catalog/products/{product_id}/complex-rules/{complex_rule_id}
      operations:
      - name: getproductcomplexrule
        method: GET
        description: BigCommerce Get a Product Complex Rule
        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: updateproductcomplexrule
        method: PUT
        description: BigCommerce Update a Product Complex Rule
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteproductcomplexrule
        method: DELETE
        description: BigCommerce Delete a Product Complex Rule
        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-complex-rules-rest
    port: 8080
    description: REST adapter for BigCommerce Catalog - Products — Complex Rules. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/catalog/products/{product-id}/complex-rules
      name: catalog-products-product-id-complex-rules
      description: REST surface for catalog-products-product_id-complex-rules.
      operations:
      - method: GET
        name: getproductcomplexrules
        description: BigCommerce Get Complex Rules
        call: catalog-products-complex-rules.getproductcomplexrules
        with:
          include_fields: rest.include_fields
          exclude_fields: rest.exclude_fields
          page: rest.page
          limit: rest.limit
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createproductcomplexrule
        description: BigCommerce Create a Complex Rule
        call: catalog-products-complex-rules.createproductcomplexrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/catalog/products/{product-id}/complex-rules/{complex-rule-id}
      name: catalog-products-product-id-complex-rules-complex-rule-id
      description: REST surface for catalog-products-product_id-complex-rules-complex_rule_id.
      operations:
      - method: GET
        name: getproductcomplexrule
        description: BigCommerce Get a Product Complex Rule
        call: catalog-products-complex-rules.getproductcomplexrule
        with:
          include_fields: rest.include_fields
          exclude_fields: rest.exclude_fields
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateproductcomplexrule
        description: BigCommerce Update a Product Complex Rule
        call: catalog-products-complex-rules.updateproductcomplexrule
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteproductcomplexrule
        description: BigCommerce Delete a Product Complex Rule
        call: catalog-products-complex-rules.deleteproductcomplexrule
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: catalog-products-complex-rules-mcp
    port: 9090
    transport: http
    description: MCP adapter for BigCommerce Catalog - Products — Complex Rules. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: bigcommerce-get-complex-rules
      description: BigCommerce Get Complex Rules
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: catalog-products-complex-rules.getproductcomplexrules
      with:
        include_fields: tools.include_fields
        exclude_fields: tools.exclude_fields
        page: tools.page
        limit: tools.limit
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-create-complex-rule
      description: BigCommerce Create a Complex Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: catalog-products-complex-rules.createproductcomplexrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-get-product-complex-rule
      description: BigCommerce Get a Product Complex Rule
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: catalog-products-complex-rules.getproductcomplexrule
      with:
        include_fields: tools.include_fields
        exclude_fields: tools.exclude_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-update-product-complex-rule
      description: BigCommerce Update a Product Complex Rule
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: catalog-products-complex-rules.updateproductcomplexrule
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: bigcommerce-delete-product-complex-rule
      description: BigCommerce Delete a Product Complex Rule
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: catalog-products-complex-rules.deleteproductcomplexrule
      outputParameters:
      - type: object
        mapping: $.