Kibo Commerce Release Rules API

The ReleaseRules API from Kibo Commerce — 5 operation(s) for releaserules.

Business capability
Order Fulfilment Management BC-520.40

Operations 5

GET /commerce/jobs/release-rules/call-offs/{callOffOrderId}/runs GET /call-offs/{callOffOrderId}/runs — every audit record that touched #
GET /commerce/jobs/release-rules/rules/{ruleId}/recent GET /rules/{ruleId}/recent — records for one rule within an optional #
GET /commerce/jobs/release-rules/runs GET /runs — per-run summaries (aggregated outcome counts) within an #
GET /commerce/jobs/release-rules/runs/{runId} GET /runs/{runId} — every audit record produced by a single run, in #
POST /commerce/jobs/release-rules/run Triggers an on-demand Release Rules Engine run for the caller's #

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-package-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-application-entitlement-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-application-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-headless-app-runtime-log-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-http-response-message-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-application-subscription-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-history-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-history-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-admins-product-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-admins-discount-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-product-v1-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-admins-attribute-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-admins-discount-target-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-product-variation-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-product-for-indexing-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-runtimes-product-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-product-validation-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-configured-product-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-catalog-runtimes-category-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-campaign-result-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-wishlist-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-cart-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-return-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-cart-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-document-list-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-document-list-type-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-document-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-property-type-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-document-type-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-content-http-request-message-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-customer-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-b2-baccount-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-purchase-order-transaction-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-customer-credit-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-customer-attribute2-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-b2-buser-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-transaction-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-transaction-set810-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-translated-shipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-list-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-list-view-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-container-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-container-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-list-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-list-view-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-event-delivery-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-event-event-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-subscription-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-event-delivery-summary-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-event-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-entity-model-of-shipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-fulfillment-apishipment-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-fulfillment-apipackage-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-shipment-rule-field-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-item-audit-detail-dto-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-redaction-report-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-create-report-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-export-job-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-import-job-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-batch-job-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-batch-job-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-batch-job-summary-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-batch-job-item-result-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-m-fetch-file-config-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-inventory-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-item-information-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-job-queue-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-delete-item-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-group-configuration-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-attribute2-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-vendor-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-vendor-document-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-cutoff-time-override-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-admin-attribute-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-collection-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-location-criteria-set-filter-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-scenario-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-custom-data-value-filter-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-custom-data-list-filter-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-upsert-scenario-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-abstract-filter-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-pricing-runtime-discount-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-taxable-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-find-item-discounts-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-tax-context-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-auto-add-discount-target-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-find-discounts-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-reservati-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-reservation-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-reservation-aggregate-summary-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-order-reservati-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-fulfillment-inf-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-reservation-collecti-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-general-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-subscription-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-fulfillment-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-external-payment-workflow-definition-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-checkout-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-site-shipping-settings-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-shipment-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-rate-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-handling-fee-rule-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-shipping-inclusion-rule-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-carrier-credential-set-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-carrier-credential-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-carrier-configuration-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-carrier-definition-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-rates-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-transit-times-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-shipment-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-transit-times-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-subscription-item-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-subscription-runtime-subscription-schema.json
📊
JSONSchema
https://artifacts.apis.io/kibo-commerce/json-schema/kibo-commerce-payment-schema.json

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-releaserules-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

kibo-commerce-releaserules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kibo Commerce Release Rules API
  version: '1.0'
  description: 'Operations tagged ReleaseRules across 2 of this provider''s published API definitions: openapi_openapi_commerce.json, kibo-commerce-commerce-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: ReleaseRules
paths:
  /commerce/jobs/release-rules/call-offs/{callOffOrderId}/runs:
    get:
      description: a given CallOffOrder, most recent first.
      parameters:
      - in: path
        name: callOffOrderId
        required: true
        schema:
          type: string
      - in: query
        name: startIndex
        schema:
          default: 0
          format: int32
          type: integer
      - in: query
        name: pageSize
        schema:
          format: int32
          type: integer
      - in: query
        name: filter
        schema:
          type: string
      - in: query
        name: sortBy
        schema:
          type: string
      - description: limits which fields are returned in the response body
        in: query
        name: responseFields
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReleaseRunHistoryRecordCollection'
            text/json:
              schema:
                $ref: '#/components/schemas/ReleaseRunHistoryRecordCollection'
            text/plain:
              schema:
                $ref: '#/components/schemas/ReleaseRunHistoryRecordCollection'
          description: OK
      summary: GET /call-offs/{callOffOrderId}/runs — every audit record that touched
      tags:
      - ReleaseRules
      operationId: getCommerceJobsReleaseRulesCallOffsByCallOffOrderIdRuns
      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
  /commerce/jobs/release-rules/rules/{ruleId}/recent:
    get:
      description: date range, most recent first.
      parameters:
      - in: path
        name: ruleId
        required: true
        schema:
          type: string
      - in: query
        name: fromUtc
        schema:
          format: date-time
          type: string
      - in: query
        name: toUtc
        schema:
          format: date-time
          type: string
      - in: query
        name: startIndex
        schema:
          default: 0
          format: int32
          type: integer
      - in: query
        name: pageSize
        schema:
          format: int32
          type: integer
      - in: query
        name: filter
        schema:
          type: string
      - in: query
        name: sortBy
        schema:
          type: string
      - description: limits which fields are returned in the response body
        in: query
        name: responseFields
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReleaseRunHistoryRecordCollection'
            text/json:
              schema:
                $ref: '#/components/schemas/ReleaseRunHistoryRecordCollection'
            text/plain:
              schema:
                $ref: '#/components/schemas/ReleaseRunHistoryRecordCollection'
          description: OK
      summary: GET /rules/{ruleId}/recent — records for one rule within an optional
      tags:
      - ReleaseRules
      operationId: getCommerceJobsReleaseRulesRulesByRuleIdRecent
      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
  /commerce/jobs/release-rules/runs:
    get:
      description: optional date range; most-recent run first.
      parameters:
      - in: query
        name: fromUtc
        schema:
          format: date-time
          type: string
      - in: query
        name: toUtc
        schema:
          format: date-time
          type: string
      - in: query
        name: startIndex
        schema:
          default: 0
          format: int32
          type: integer
      - in: query
        name: pageSize
        schema:
          format: int32
          type: integer
      - in: query
        name: filter
        schema:
          type: string
      - in: query
        name: sortBy
        schema:
          type: string
      - description: limits which fields are returned in the response body
        in: query
        name: responseFields
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReleaseRunSummaryCollection'
            text/json:
              schema:
                $ref: '#/components/schemas/ReleaseRunSummaryCollection'
            text/plain:
              schema:
                $ref: '#/components/schemas/ReleaseRunSummaryCollection'
          description: OK
      summary: GET /runs — per-run summaries (aggregated outcome counts) within an
      tags:
      - ReleaseRules
      operationId: getCommerceJobsReleaseRulesRuns
      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
  /commerce/jobs/release-rules/runs/{runId}:
    get:
      description: chronological order. Drill-down from the runs list.
      parameters:
      - in: path
        name: runId
        required: true
        schema:
          type: string
      - in: query
        name: startIndex
        schema:
          default: 0
          format: int32
          type: integer
      - in: query
        name: pageSize
        schema:
          format: int32
          type: integer
      - in: query
        name: filter
        schema:
          type: string
      - in: query
        name: sortBy
        schema:
          type: string
      - description: limits which fields are returned in the response body
        in: query
        name: responseFields
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReleaseRunHistoryRecordCollection'
            text/json:
              schema:
                $ref: '#/components/schemas/ReleaseRunHistoryRecordCollection'
            text/plain:
              schema:
                $ref: '#/components/schemas/ReleaseRunHistoryRecordCollection'
          description: OK
      summary: GET /runs/{runId} — every audit record produced by a single run, in
      tags:
      - ReleaseRules
      operationId: getCommerceJobsReleaseRulesRunsByRunId
      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
  /commerce/jobs/release-rules/run:
    post:
      description: '{tenantId, siteId}.


        Default behavior (`sync=false`): publishes the same

        `ReleaseRuleEngineStart` event the cron scheduler does, returns

        HTTP 202 + JobKey within ~200ms p95.

        Debug bypass (`?sync=true`): SKIPS kibo.jobs + RabbitMQ +

        MassTransit consumer entirely. Executes the orchestrator inline.'
      parameters:
      - in: query
        name: sync
        schema:
          default: false
          type: boolean
      - description: limits which fields are returned in the response body
        in: query
        name: responseFields
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Triggers an on-demand Release Rules Engine run for the caller's
      tags:
      - ReleaseRules
      operationId: postCommerceJobsReleaseRulesRun
      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:
    ReleaseLineOutcome:
      description: Per-line outcome surfaced on Mozu.CommerceRuntime.Contracts.SupplyChain.ReleaseRules.ReleaseRunHistoryRecord.LineOutcomes.
      properties:
        evaluatedFillRate:
          format: double
          type:
          - number
          - 'null'
        evaluatedShipDate:
          format: date-time
          type:
          - string
          - 'null'
        itemId:
          description: "The CallOffOrder line — the auto-generated GUID\n            `CallOffOrderItem.Id`, used as the join key into `order.Items[]`."
          type:
          - string
          - 'null'
        lineId:
          description: "The operator-visible line sequence number (1, 2, ...) from\n            `CallOffOrderItem.LineId`. Null when the line could not be resolved\n            back to the live order."
          format: int32
          type:
          - integer
          - 'null'
        lineOutcome:
          type:
          - string
          - 'null'
        salesOrderId:
          type:
          - string
          - 'null'
        skipReason:
          type:
          - string
          - 'null'
      type: object
    ReleaseRunFailureDetail:
      description: 'Per-destination failure detail surfaced on

        Mozu.CommerceRuntime.Contracts.SupplyChain.ReleaseRules.ReleaseRunHistoryRecord.FailureDetail.'
      properties:
        destinationId:
          type:
          - string
          - 'null'
        errorMessage:
          type:
          - string
          - 'null'
        exceptionType:
          type:
          - string
          - 'null'
        httpStatus:
          format: int32
          type:
          - integer
          - 'null'
        isTimeout:
          type: boolean
        responseBody:
          type:
          - string
          - 'null'
      type: object
    ReleaseRunHistoryRecord:
      description: 'Audit record returned by the 4 history GET endpoints under

        `/commerce/jobs/release-rules/`. Schema mirrors the domain entity in

        `Mozu.CommerceRuntime.Domain.Entities.SupplyChain.ReleaseRules.ReleaseRunHistoryRecord`.'
      properties:
        callOffOrderId:
          type:
          - string
          - 'null'
        callOffOrderNumber:
          format: int32
          type:
          - integer
          - 'null'
        eligibilityReason:
          type:
          - string
          - 'null'
        failureDetail:
          items:
            $ref: '#/components/schemas/ReleaseRunFailureDetail'
          type:
          - array
          - 'null'
        finishedAt:
          format: date-time
          type: string
        holderId:
          type:
          - string
          - 'null'
        id:
          type:
          - string
          - 'null'
        lineOutcomes:
          items:
            $ref: '#/components/schemas/ReleaseLineOutcome'
          type:
          - array
          - 'null'
        newHeaderStatus:
          type:
          - string
          - 'null'
        outcome:
          type:
          - string
          - 'null'
        previousHeaderStatus:
          type:
          - string
          - 'null'
        ruleId:
          type:
          - string
          - 'null'
        ruleRank:
          format: int32
          type: integer
        runId:
          type:
          - string
          - 'null'
        salesOrderIds:
          items:
            type: string
          type:
          - array
          - 'null'
        siteId:
          format: int32
          type: integer
        startedAt:
          format: date-time
          type: string
        tenantId:
          format: int32
          type: integer
      type: object
    ReleaseRunHistoryRecordCollection:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ReleaseRunHistoryRecord'
          type:
          - array
          - 'null'
        nextPageToken:
          type:
          - string
          - 'null'
        startIndex:
          format: int32
          type: integer
        totalCount:
          format: int32
          type: integer
      type: object
    ReleaseRunSummary:
      description: 'Aggregated per-run summary returned by `GET /commerce/jobs/release-rules/runs`.

        Counts mirror the four terminal outcomes on `ReleaseRunOutcome`.'
      properties:
        failedCount:
          format: int32
          type: integer
        finishedAt:
          format: date-time
          type: string
        partialFailedCount:
          format: int32
          type: integer
        releasedCount:
          format: int32
          type: integer
        runId:
          type:
          - string
          - 'null'
        siteId:
          format: int32
          type: integer
        skippedNotEligibleCount:
          format: int32
          type: integer
        startedAt:
          format: date-time
          type: string
        tenantId:
          format: int32
          type: integer
        totalCount:
          format: int32
          type: integer
      type: object
    ReleaseRunSummaryCollection:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ReleaseRunSummary'
          type:
          - array
          - 'null'
        nextPageToken:
          type:
          - string
          - 'null'
        startIndex:
          format: int32
          type: integer
        totalCount:
          format: int32
          type: integer
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      description: JWT Authorization header using the Bearer scheme.
      scheme: bearer
      type: http
x-refined-from:
- openapi_openapi_commerce.json
- kibo-commerce-commerce-openapi.yml
x-provenance:
  method: harvested
  publisher: Kibo Commerce
  source: https://docs.kibocommerce.com/openapi/openapi_commerce.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)