---
title: "Create Platform Pm"
method: POST
path: "/api/v1/shops-admin/pms"
tags: ["v1", "Shops Admin"]
---

# Create Platform Pm

`POST /api/v1/shops-admin/pms`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/shops-admin/pms`
- Auth: none declared

Flag a person as platform PM with their shops — one insert. The DB
trigger refuses anyone who is not owner/manager in exactly one shop, or who
is an admin — its message is returned as a 409.

## Request body

- PmCreate: Flag a person (WorkOS id) as platform PM and grant their shops.
  - `workos_user_id` string, required
  - `shop_ids` integer[]
  - `note` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
