Commerce
moveShopToSpace
Move Shop to Space
Move a LEGACY shop onto the Space it lives in, so its rows are filed under that Space instead of a person: the self-serve repair for a shop that is filed under its owner while living in a Space.
Arguments
appIdstringrequiredThe Studio app ID of the shop to move.archiveTargetNamePrefixstringoptionalScope "brand" only. Products already on the Space whose name starts with this, and which nothing on the Space still references, are archived by the move: the leftovers of a configurator rebuild. A referenced product is never archived, and…scopestringoptionalWHICH ROWS move. "tenant" (the default) moves the owner key and everything filed under it: right when that key IS the shop. "brand" moves only the rows attributable to THIS storefront and its brand pin, which is the only safe answer when…settingsWinnerstringoptionalWhich side keeps its row where BOTH shops hold the same per-owner settings singleton (lead times, notification recipients). "target" keeps the Space's settings, "source" keeps the shop's. Omit and a settings collision refuses, naming the…spaceIdstringrequiredThe Space (team) id the shop should be owned by: the one that holds its Stripe account.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- move my shop to the Space
- my shop is filed under me instead of my business
- move only the bakery, not my other businesses
Pair it with
The verbs that finish the job.