Sub-workspaces
Onboard a custom brand (v1)
v1’s onboarding call, same path and same body, so a script written for v1 only needs a new base URL and key. It creates a sub-workspace of kind custom: currencyCode and timezone become its currency and timezone, and supportContacts, trustSignals and policyFramework go into its profile.
The answer keeps v1’s status, workspace and billing fields and adds the new brand as sub_workspace. workspace is the id to send in the Mirai-Workspace header. billing is your account’s wallet, which the brand spends from. For new integrations, Create a sub-workspace does the same with an external_id.
POST
Onboard a custom brand (v1)
Authorizations
Body
application/json
Response
Onboarded
Onboard a custom brand (v1)