---
title: "POST /api/v1/dismantler.yard.count-v2"
method: POST
path: "/api/v1/dismantler.yard.count-v2"
tags: ["Dismantler"]
---

# POST /api/v1/dismantler.yard.count-v2

`POST /api/v1/dismantler.yard.count-v2`

## Request

- Base URL: `https://api.partly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.partly.com/api/v1/dismantler.yard.count-v2`
- Auth: none declared. Required headers: `authorization`

Counts the number of vehicles set as being 'in yard' for a supplier business in the caller's organization.

## Headers

- `authorization` string, required: UTF-8 encoded string

## Request body

- DismantlerYardVehicleCountRequest
  - `organization_id` string, uuid, required: UUID value type
  - `supplier_business_id` string, uuid, required: UUID value type

## Response `200`

200 OK

- DismantlerYardVehicleCountResponse
  - `capacity` integer, required: 32-bit unsigned integer
  - `count` integer, required: 64-bit unsigned integer

## Other responses

- `default`: Error cases

## Changes

- **2026-10-28** `45c08c52a8e6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/partly/apis/core-server/changes/api/v1/dismantler.yard.count-v2/post.md)

---

[API](https://skmtc.dev/partly/apis/core-server.md) - [All operations](https://skmtc.dev/partly/apis/core-server/llms.txt) - [OpenAPI document](https://skmtc.dev/partly/apis/core-server/revisions/ac4ef12c8a0a?raw)
