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)
  • URL: https://api.jeevyfabrication.com/api/v1/shops-admin/pms
  • Auth: none declared

Request body

workos_user_idstring required
shop_idsinteger[]
notestring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.