Kibo Commerce Product Rule API

The ProductRule API from Kibo Commerce — 1 operation(s) for productrule.

GitHub OpenAPI

Operations 1

POST /commerce/rules/product/evaluate/preview Preview Product Rule #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kibo-commerce:kibo-commerce-productrule-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kibo-commerce-productrule-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kibo Commerce Product Rule API
  version: '1.0'
  description: 'Operations tagged ProductRule across 2 of this provider''s published API definitions: openapi_openapi_catalog_storefront.json, kibo-commerce-catalog-storefront-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- description: Kibo Base URL
  url: '{baseUrl}/api'
  variables:
    baseUrl:
      default: https://t1000000.sb.usc1.gcp.kibocommerce.com
      description: Base URL
security:
- bearerAuth: []
tags:
- name: ProductRule
paths:
  /commerce/rules/product/evaluate/preview:
    post:
      description: Previews a new product rule by searching for products in the admin index that meet the rule criteria
      parameters:
      - in: query
        name: sortBy
        schema:
          type: string
      - in: query
        name: pageSize
        schema:
          format: int32
          type: integer
      - in: query
        name: startIndex
        schema:
          default: 0
          format: int32
          type: integer
      - in: query
        name: fieldList
        schema:
          type: string
      - description: limits which fields are returned in the response body
        in: query
        name: responseFields
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CatalogRuntimesProductRule'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductSearchSimplifiedResult'
            text/json:
              schema:
                $ref: '#/components/schemas/ProductSearchSimplifiedResult'
            text/plain:
              schema:
                $ref: '#/components/schemas/ProductSearchSimplifiedResult'
          description: OK
      summary: Preview Product Rule
      tags:
      - ProductRule
      operationId: postCommerceRulesProductEvaluatePreview
      x-operation-id-source: derived
    servers:
    - description: Kibo Base URL
      url: '{baseUrl}/api'
      variables:
        baseUrl:
          default: https://t1000000.sb.usc1.gcp.kibocommerce.com
          description: Base URL
components:
  schemas:
    CatalogRuntimesProductRule:
      properties:
        code:
          description: Unique identifier of the ProductRule. System-supplied and read-only.
          type:
          - string
          - 'null'
        description:
          description: ProductRule description
          type:
          - string
          - 'null'
        expression:
          $ref: '#/components/schemas/CatalogRuntimesDynamicExpression'
        name:
          description: ProductRule name
          type:
          - string
          - 'null'
        scope:
          type:
          - string
          - 'null'
      type: object
    CatalogRuntimesDynamicExpression:
      description: Category
      properties:
        text:
          type:
          - string
          - 'null'
      type: object
    ProductSearchSimplifiedResult:
      properties:
        facets:
          items:
            $ref: '#/components/schemas/CatalogRuntimesFacet'
          type:
          - array
          - 'null'
        items:
          items:
            additionalProperties: {}
            type: object
          type:
          - array
          - 'null'
        nextCursorMark:
          type:
          - string
          - 'null'
        pageCount:
          format: int32
          type: integer
        pageSize:
          format: int32
          type: integer
        searchRedirect:
          type:
          - string
          - 'null'
        startIndex:
          format: int32
          type: integer
        totalCount:
          format: int32
          type: integer
      type: object
    FacetValue:
      description: ''
      properties:
        childrenFacetValues:
          description: When hierarchical Facet
          items:
            type: object
          type:
          - array
          - 'null'
        count:
          description: Number of occurrences of FacetValue in result set.
          format: int32
          type: integer
        filterValue:
          description: Submit this as a facet value filter
          type:
          - string
          - 'null'
        isApplied:
          description: True if this FacetValue was supplied as a facet value filter in the current search
          type:
          - boolean
          - 'null'
        isDisplayed:
          description: Indicates whether the FacetValue should be displayed
          type: boolean
        label:
          type:
          - string
          - 'null'
        parentFacetValue:
          description: When hierarchical Facet
          type:
          - string
          - 'null'
        rangeQueryValueEnd:
          description: When range query Facet
          type:
          - string
          - 'null'
        rangeQueryValueStart:
          description: When range query Facet
          type:
          - string
          - 'null'
        value:
          description: String representation of Facet Value
          type:
          - string
          - 'null'
      type: object
    CatalogRuntimesFacet:
      description: For faceted searches, name of the facet and list of facet values. For example, a facet called "Brands" may have the facet values "Apple," "Motorola," and "Samsung."
      properties:
        facetType:
          description: Value, RangeQuery, Hierarchy
          type:
          - string
          - 'null'
        field:
          type:
          - string
          - 'null'
        label:
          type:
          - string
          - 'null'
        values:
          items:
            $ref: '#/components/schemas/FacetValue'
          type:
          - array
          - 'null'
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: JWT Authorization header using the Bearer scheme.
      scheme: bearer
      type: http
x-refined-from:
- openapi_openapi_catalog_storefront.json
- kibo-commerce-catalog-storefront-openapi.yml
x-provenance:
  method: harvested
  publisher: Kibo Commerce
  source: https://docs.kibocommerce.com/openapi/openapi_catalog_storefront.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)