Crear un arrendatari
Crea un nou tenant i una organització associada per a l’organització propietària especificada. El cos de sol·licitud utilitza un discriminador type amb rutes excloents: tenant (END CUSTOMER) i organization (PARTNER/WHOLESALER).
Autoritzacions
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Paràmetres de ruta
L'identificador únic de l'organització propietària que crearà el tenant
24^[0-9a-f]{24}$Cos
Cos únic de creació amb camps condicionals per type: si type=tenant, requereix tenant_config; si type=organization, requereix organization_config.
Tipus de creació. tenant per END CUSTOMER, organization per PARTNER/WHOLESALER.
tenant, organization 512512512512512Configuració específica per type=tenant.
Configuració específica per type=organization.
24^[0-9a-f]{24}$Resposta
Tenant i organització associats creats correctament. Torna el recurs tenant creat.