---
title: "Get price unit by code"
method: GET
path: "/prices/units/code/{code}"
tags: ["Price Units"]
---

# Get price unit by code

`GET /prices/units/code/{code}`

Use when resolving a price unit by code (e.g. from an external catalog or config). Ideal for integrations.

## Path parameters

- `code` string, required

## Response `200`

OK

- PriceUnitResponse
  - `base_currency` string
  - `code` string
  - `conversion_rate` string
  - `created_at` string, date-time
  - `created_by` string
  - `environment_id` string
  - `id` string
  - `metadata` TypesMetadata
  - `name` string
  - `status` 'published' | 'deleted' | 'archived'
  - `symbol` string
  - `tenant_id` string
  - `updated_at` string, date-time
  - `updated_by` string

## Other responses

- `400` — Invalid request
- `404` — Resource not found
- `500` — Server error

---

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