Shops

Transfer shop ownership

Changed on

Transfer shop ownership to a user or an org.

Supports all directions (user↔user, user↔org, org↔org). The requester must currently be able to manage the shop. When transferring to an org, the requester must also have manage_market in the target org (auto-accept).

After transfer, active order/offer assignments held by people no longer associated with the new owner are cleared so the new owner can reclaim them, and shop badges are recomputed (owner-derived badges may change).

post/shops/{shopId}/transfer

Request

  • Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v2/shops/{shopId}/transfer
  • Auth: loggedin (a scheme the document does not define)

Path parameters

shopIdstring required

Request body

target_type'user' | 'contractor' required

Whether ownership transfers to a user account or an org.

target_idstring required

Identifier of the new owner.

  • When target_type is "user": the target user's user_id or username.
  • When target_type is "contractor": the target org's contractor_id (UUID) or spectrum_id.

Response

Ok

shop_idstring required
slugstring required
namestring required
descriptionstring required
bannerstring nullable required
logostring nullable required
owner_user_idstring nullable required
is_org_ownedboolean required
owner_contractor_spectrum_idstring nullable required

Spectrum ID of the owning contractor (for V1 APIs that need it)

supported_languagesstring[] required
tagsstring[] required
accepts_custom_ordersboolean required
market_order_templatestring required
default_pickup_methodstring nullable required
statusstring required
created_atstring required
updated_atstring required
banner_urlstring nullable required
official_server_idstring nullable required

Discord server (guild) ID where order/offer threads are created for this shop

discord_thread_channel_idstring nullable required

Discord channel ID under which order/offer threads are created for this shop

badge_idsstring[] required

Seller reputation badges, computed server-side from shop metrics + owner data

logo_urlstring nullable required

Changes

    • ▲

      added the new required request property

    • ▲

      added the new required request property

    • ●

      removed the request property

    • ○

      added the required property to the response with the status

    • ○

      added the required property to the response with the status