Create a sub-workspace
Adds a brand. Only name is required, and it must be unique among your active brands.
external_id: your own id for the brand, up to 128 characters and not starting withws_. Unique for good: an archived brand keeps it. Brands moved from v1 use their v1 workspace id.kind:custom(the default) orshopify.timezone: an IANA name,Asia/Kolkataby default.currency:INRby default.profile: the brand’s facts as a JSON object, up to 16 KB.
Safe to retry. Sending an external_id or an active name you already have returns 409 workspace_exists with that brand in workspace, so a script that lost the first answer can pick up the id and carry on.
Authorizations
Your workspace secret key, sk_live_ followed by 32 hex characters. Create one in the console under Developers.
Body
1 - 100ISO 4217; stored upper-case.
^[A-Za-z]{3}$Your own id for the brand, unique under your account for ever. Not starting with ws_.
1 - 128^[A-Za-z0-9][A-Za-z0-9.:-]{0,127}$custom, shopify Brand facts (support contacts, policies…), at most 16384 bytes of JSON. Replaced whole on update; null is the empty object.
An IANA timezone name.
Response
Created
^ws_[0-9a-f]{24}$custom, shopify workspace active, archived