---
title: "Get back order rebalancing rule by code"
method: GET
path: "/commerce/rules/backorderrebalancing/{code}"
tags: ["BackorderRebalancingRules"]
---

# Get back order rebalancing rule by code

`GET /commerce/rules/backorderrebalancing/{code}`

Gets a back order rebalancing rule details by code.

## Path parameters

- `code` string, required

## Query parameters

- `responseFields` string

## Response `200`

Rule found.

- 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

- `404` — Rule not found.

---

[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)
