---
title: "Get Buy Request"
method: GET
path: "/v1/buy_requests/{req_id}"
tags: ["Buy Requests"]
---

# Get Buy Request

`GET /v1/buy_requests/{req_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/v1/buy_requests/{req_id}`
- Auth: HTTP bearer

## Path parameters

- `req_id` integer, required

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- BuyRequestOut: Owner-facing shape (everything).
  - `id` integer, required
  - `user_id` integer, required
  - `name` string, required
  - `description` string, nullable
  - `quantity` integer, required
  - `max_price` string, nullable
  - `currency` string, nullable
  - `contact` string, nullable
  - `reference_url` string, nullable
  - `product_id` integer, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `closed_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/rubenayla/apis/partle-api.md) · [All operations](https://skmtc.dev/rubenayla/apis/partle-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rubenayla/apis/partle-api/revisions/628cce2acee5?raw)
