Kibo Commerce Future Shipment Rebalancing Rules API

The FutureShipmentRebalancingRules API from Kibo Commerce — 3 operation(s) for futureshipmentrebalancingrules.

Business capability
Order Fulfilment Management BC-520.40

Operations 6

DELETE /commerce/rules/futureshipmentrebalancing/{code} Delete future shipment rebalancing rule #
GET /commerce/rules/futureshipmentrebalancing/{code} Get future shipment rebalancing rule by code #
PUT /commerce/rules/futureshipmentrebalancing/{code} Update future shipment rebalancing rule #
GET /commerce/rules/futureshipmentrebalancing Get future shipment rebalancing rules #
POST /commerce/rules/futureshipmentrebalancing Create future shipment rebalancing rule #
PUT /commerce/rules/futureshipmentrebalancing/{code}/rank Update future shipment rebalancing rule rank #

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-futureshipmentrebalancingrules-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-futureshipmentrebalancingrules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kibo Commerce Future Shipment Rebalancing Rules API
  version: '1.0'
  description: 'Operations tagged FutureShipmentRebalancingRules across 2 of this provider''s published API definitions: openapi_openapi_catalog_admin.json, kibo-commerce-catalog-admin-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: FutureShipmentRebalancingRules
paths:
  /commerce/rules/futureshipmentrebalancing/{code}:
    delete:
      description: Deletes a future shipment rebalancing rule by code.
      parameters:
      - description: The rule code to delete.
        in: path
        name: code
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '204':
          description: Rule deleted successfully.
        '404':
          description: Rule not found.
      summary: Delete future shipment rebalancing rule
      tags:
      - FutureShipmentRebalancingRules
      operationId: deleteCommerceRulesFutureshipmentrebalancingByCode
      x-operation-id-source: derived
    get:
      description: Gets a future shipment rebalancing rule details by code.
      parameters:
      - description: The unique rule code.
        in: path
        name: code
        required: true
        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/FutureShipmentRebalancingRule'
            text/json:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRule'
            text/plain:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRule'
          description: Rule found.
        '404':
          description: Rule not found.
      summary: Get future shipment rebalancing rule by code
      tags:
      - FutureShipmentRebalancingRules
      operationId: getCommerceRulesFutureshipmentrebalancingByCode
      x-operation-id-source: derived
    put:
      description: Updates an existing future shipment rebalancing rule.
      parameters:
      - description: The rule code to update.
        in: path
        name: code
        required: true
        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/FutureShipmentRebalancingRule'
        description: The updated rule. Code in body must match URL code.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRule'
            text/json:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRule'
            text/plain:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRule'
          description: Rule updated successfully.
        '400':
          description: Validation failed.
        '404':
          description: Rule not found.
      summary: Update future shipment rebalancing rule
      tags:
      - FutureShipmentRebalancingRules
      operationId: putCommerceRulesFutureshipmentrebalancingByCode
      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/rules/futureshipmentrebalancing:
    get:
      description: Gets a collection of future shipment rebalancing rules according to any specified filter criteria and sort options.
      parameters:
      - description: Zero-based start index for pagination.
        in: query
        name: startIndex
        schema:
          default: 0
          format: int32
          type: integer
      - description: Number of items per page.
        in: query
        name: pageSize
        schema:
          default: 0
          format: int32
          type: integer
      - description: Sort expression (e.g. 'rank asc').
        in: query
        name: sortBy
        schema:
          type: string
      - description: Filter expression (e.g. 'enabled eq true').
        in: query
        name: filter
        schema:
          type: string
      - description: Response groups (currently unused).
        in: query
        name: responseGroups
        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/FutureShipmentRebalancingRuleCollection'
            text/json:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRuleCollection'
            text/plain:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRuleCollection'
          description: Rule collection returned successfully.
        '412':
          description: Feature not enabled for this tenant.
      summary: Get future shipment rebalancing rules
      tags:
      - FutureShipmentRebalancingRules
      operationId: getCommerceRulesFutureshipmentrebalancing
      x-operation-id-source: derived
    post:
      description: Creates a new future shipment rebalancing rule.
      parameters:
      - 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/FutureShipmentRebalancingRule'
        description: The rule to create. Code is auto-generated if omitted.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRule'
            text/json:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRule'
            text/plain:
              schema:
                $ref: '#/components/schemas/FutureShipmentRebalancingRule'
          description: OK
        '201':
          description: Rule created successfully.
        '400':
          description: Validation failed.
        '409':
          description: Code already exists for this tenant.
      summary: Create future shipment rebalancing rule
      tags:
      - FutureShipmentRebalancingRules
      operationId: postCommerceRulesFutureshipmentrebalancing
      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/rules/futureshipmentrebalancing/{code}/rank:
    put:
      description: Updates the rank for a future shipment rebalancing rule and rearranges the ranks of all other rules accordingly.
      parameters:
      - description: The rule code whose rank to update.
        in: path
        name: code
        required: true
        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/UpdateRankRequest'
        description: Contains OldRank and NewRank values.
      responses:
        '200':
          description: OK
        '204':
          description: Rank updated successfully.
        '400':
          description: OldRank or NewRank is invalid.
      summary: Update future shipment rebalancing rule rank
      tags:
      - FutureShipmentRebalancingRules
      operationId: putCommerceRulesFutureshipmentrebalancingByCodeRank
      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:
    ProductRuleCode:
      properties:
        code:
          description: Unique identifier of the ProductRule. System-supplied and read-only.
          type:
          - string
          - 'null'
        masterCatalogId:
          description: Master Catalog Id of the ProductRule.
          format: int32
          type: integer
      type: object
    AuditInfo:
      properties:
        createBy:
          type:
          - string
          - 'null'
        createDate:
          format: date-time
          type:
          - string
          - 'null'
        updateBy:
          type:
          - string
          - 'null'
        updateDate:
          format: date-time
          type:
          - string
          - 'null'
      type: object
    FutureShipmentRebalancingRuleCollection:
      description: Paginated collection of Mozu.ProductAdmin.Contracts.FutureShipmentRebalancingRules.FutureShipmentRebalancingRule contract DTOs.
      properties:
        items:
          items:
            $ref: '#/components/schemas/FutureShipmentRebalancingRule'
          type:
          - array
          - 'null'
        pageCount:
          format: int32
          type: integer
        pageSize:
          format: int32
          type: integer
        startIndex:
          format: int32
          type: integer
        totalCount:
          format: int32
          type: integer
      type: object
    ShipmentRuleCode:
      properties:
        code:
          description: Unique identifier of the ProductRule. System-supplied and read-only.
          type:
          - string
          - 'null'
      type: object
    FutureShipmentRebalancingRule:
      description: 'Contract DTO for a FutureShipmentRebalancing rule. Rules determine priority ordering

        for shipments in the Future Shipments Queue when supply changes trigger rebalancing.'
      properties:
        auditInfo:
          $ref: '#/components/schemas/AuditInfo'
        code:
          type:
          - string
          - 'null'
        customerRules:
          items:
            type: string
          type:
          - array
          - 'null'
        description:
          type:
          - string
          - 'null'
        enabled:
          type:
          - boolean
          - 'null'
        endDate:
          description: End of the rule's effective window. Null = never expires. Must be >= StartDate when both supplied.
          format: date-time
          type:
          - string
          - 'null'
        isActive:
          description: 'Read-only. Computed server-side: true when the current UTC instant is inside the effective window

            (StartDate null/≤now AND EndDate null/≥now), false otherwise. A rule with no dates is always active.

            This reflects the effective window alone and does not incorporate the enabled flag.'
          type:
          - boolean
          - 'null'
        metaData: {}
        name:
          type:
          - string
          - 'null'
        productRules:
          items:
            $ref: '#/components/schemas/ProductRuleCode'
          type:
          - array
          - 'null'
        rank:
          format: int32
          type:
          - integer
          - 'null'
        shipmentRules:
          items:
            $ref: '#/components/schemas/ShipmentRuleCode'
          type:
          - array
          - 'null'
        sortAttribute:
          type:
          - string
          - 'null'
        startDate:
          description: Start of the rule's effective window. Null = no lower bound (already active).
          format: date-time
          type:
          - string
          - 'null'
        timeFenceDays:
          description: Time fence in days. Inclusive [0, 365].
          format: int32
          type: integer
      type: object
    UpdateRankRequest:
      description: Represents a request to update the rank of a SafetyStock, PurchaseLimit and Return Rule.
      properties:
        code:
          description: 'Gets or sets the code of the rule to be updated.

            It can be SafetyStock Code , PurchaseLimit Code or Return Rule Code'
          type:
          - string
          - 'null'
        newRank:
          description: Gets or sets the new rank of the rule.
          format: int32
          type: integer
        oldRank:
          description: Gets or sets the old rank of the rule.
          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_catalog_admin.json
- kibo-commerce-catalog-admin-openapi.yml
x-provenance:
  method: harvested
  publisher: Kibo Commerce
  source: https://docs.kibocommerce.com/openapi/openapi_catalog_admin.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)