---
title: "Create back order rebalancing rule"
method: POST
path: "/commerce/rules/backorderrebalancing"
tags: ["BackorderRebalancingRules"]
---

# Create back order rebalancing rule

`POST /commerce/rules/backorderrebalancing`

Creates a new back order rebalancing rule.

## Query parameters

- `responseFields` string

## Request body

- BackorderRebalancingRule — Contract DTO for a BackorderRebalancing rule. Rules determine priority ordering for shipments in the Backorder Queue when inventory becomes available.
  - `auditInfo` AdminUserAuditInfo
    - `createBy` string, nullable
    - `createDate` string, date-time, nullable
    - `updateBy` string, nullable
    - `updateDate` string, date-time, nullable
  - `code` string, nullable
  - `customerRules` string[], nullable
  - `description` string, nullable
  - `enabled` boolean, nullable
  - `metaData` unknown
  - `name` string, nullable
  - `productRules` ProductRuleCode[], nullable
    - `code` string, nullable — Unique identifier of the ProductRule. System-supplied and read-only.
    - `masterCatalogId` integer — Master Catalog Id of the ProductRule.
  - `rank` integer, nullable
  - `shipmentRules` ShipmentRuleCode[], nullable
    - `code` string, nullable — Unique identifier of the ProductRule. System-supplied and read-only.
  - `sortAttribute` string, nullable

## Response `200`

OK

- BackorderRebalancingRule — Contract DTO for a BackorderRebalancing rule. Rules determine priority ordering for shipments in the Backorder Queue when inventory becomes available.
  - `auditInfo` AdminUserAuditInfo
    - `createBy` string, nullable
    - `createDate` string, date-time, nullable
    - `updateBy` string, nullable
    - `updateDate` string, date-time, nullable
  - `code` string, nullable
  - `customerRules` string[], nullable
  - `description` string, nullable
  - `enabled` boolean, nullable
  - `metaData` unknown
  - `name` string, nullable
  - `productRules` ProductRuleCode[], nullable
    - `code` string, nullable — Unique identifier of the ProductRule. System-supplied and read-only.
    - `masterCatalogId` integer — Master Catalog Id of the ProductRule.
  - `rank` integer, nullable
  - `shipmentRules` ShipmentRuleCode[], nullable
    - `code` string, nullable — Unique identifier of the ProductRule. System-supplied and read-only.
  - `sortAttribute` string, nullable

## Other responses

- `201` — Rule created successfully.
- `400` — Validation failed.
- `409` — Code already exists for this tenant.

---

[API](https://skmtc.net/kibocommerce/apis/customer.md) · [All operations](https://skmtc.net/kibocommerce/apis/customer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kibocommerce/customer/versions/47c0cf7b75ab/schema)
