Update a sub-workspace
Sub-workspaces
Update a sub-workspace
Changes only the fields you send: name, external_id, kind, timezone, currency and profile. profile is replaced as a whole, so send all of it. "external_id": null removes the external id. The same uniqueness rules as creating apply, and a clash is 409 workspace_exists.
PATCH
Update a sub-workspace
Authorizations
Your workspace secret key, sk_live_ followed by 32 hex characters. Create one in the console under Developers.
Path Parameters
Body
application/json
ISO 4217; stored upper-case.
Pattern:
^[A-Za-z]{3}$Your own id for the brand; null removes it.
Required string length:
1 - 128Pattern:
^[A-Za-z0-9][A-Za-z0-9.:-]{0,127}$Available options:
custom, shopify Required string length:
1 - 100Brand facts (support contacts, policies…), at most 16384 bytes of JSON. Replaced whole on update; null is the empty object.
An IANA timezone name.
Response
Updated
Pattern:
^ws_[0-9a-f]{24}$Available options:
custom, shopify Available options:
workspace Available options:
active, archived