v1
Shops Admin
Shops Admin

Create Platform Pm

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.

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)
  • Auth
    none declared

Request body

PmCreate required

Flag a person (WorkOS id) as platform PM and grant their shops.

workos_user_id, string required
shop_ids, integer[]
note, string nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 56 revisions of this API.