---
title: "Get sale item(s) availability for a given branch"
method: POST
path: "/orders/sale-items/branch"
tags: ["Order Sale Item Availability"]
---

# Get sale item(s) availability for a given branch

`POST /orders/sale-items/branch`

## Request

- Base URL: `https://api.equipmentshare.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equipmentshare.com/orders/sale-items/branch`
- Auth: HTTP bearer

Get availability for sale item(s) for a given branch.

## Request body

- SaleItemAvailabilityByBranchRequest
  - `branch_id` integer, required
  - `part_ids` integer[], required

## Response `200`

- SaleItemAvailabilityByBranchResponse[]
  - `branch` SaleItemBranchDto
    - `id` integer
    - `name` string
    - `phone_number` string
  - `manufacturer_name` string, nullable
  - `manufacturer_part_number` string, nullable
  - `part_description` string, nullable
  - `part_id` integer, required
  - `store_inventory` SaleItemAvailabilityForStoreDto[]
    - `available_quantity` integer
    - `bin_location` string, nullable
    - `default_location` boolean, nullable
    - `store_id` integer
    - `store_name` string, nullable
    - `store_part_id` integer, required
  - `total_available_quantity` integer

## Other responses

- `400`: Bad request – validation failed or malformed data.
- `401`: Unauthorized – valid Bearer token required.
- `403`: Forbidden – insufficient permissions to perform this action.
- `404`: Not Found – branch not found.

## Changes

- **2026-12-01** `40651e1558ac`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2026-12-01** `e598b74c6170`: 1 breaking
  - removed the media type `application/json` for the response with the status `200`
- **2026-11-30** `beba24fafb51`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2026-11-30** `c20ff16a0438`: 1 breaking
  - removed the media type `application/json` for the response with the status `200`
- **2026-11-30** `f6ee63f54e57`: 1 info
  - added the media type `application/json` for the response with the status `200`

[Operation history](https://skmtc.dev/equipmentshare/apis/es-api/changes/orders/sale-items/branch/post.md)

---

[API](https://skmtc.dev/equipmentshare/apis/es-api.md) - [All operations](https://skmtc.dev/equipmentshare/apis/es-api/llms.txt) - [OpenAPI document](https://skmtc.dev/equipmentshare/apis/es-api/revisions/40651e1558ac?raw)
