v1
Shops Admin
Shops Admin

Create Shop

Create a shop and its WorkOS organization in one step, with its module preset and timezone, so it is usable the moment it exists (phase 2, 2026-08-27). The first owner is invited by the console right after (POST /personnel/onboard with the new shop_id) — a shop may exist before its owner is known.

The org+row sequence, including the compensating delete when the insert fails, now lives in provision_shop so self-serve signup shares it (JEEVY-1403).

Changed 2026-09-03: a duplicate shop_name is no longer a 409. Names are display text and two unrelated shops may share one. A shop_slug carried that uniqueness for five days and was removed on 2026-09-08 - nothing read it, and here it could reject an admin outright when a name produced no usable slug. Shops with the same name are told apart by verification (JEEVY-1419), not by a constraint.

post/api/v1/shops-admin/shops

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

ShopCreate required

Create a new shop. WorkOS organization is created automatically server-side.

enabled_modules is the module preset (the console defaults to the four base modules); timezone is an IANA name (defaults to the creating admin's home shop's). The first owner is invited by the console right after creation through POST /personnel/onboard with the new shop_id.

shop_name, string required
no_login, boolean
poc_name, string nullable
poc_email, string nullable
poc_phone, string nullable
location, string nullable
timezone, string nullable
enabled_modules, string[] nullable

Response

Successful Response

object required

Changes

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