B2Store
Diese Seite ist nicht auf Deutsch verfügbar. Die englische Version wird angezeigt.
Create a tenant for B2STORE
Creates a tenant for B2STORE with the same body, validation and answers as `POST /api/v2/backoffice/tenants`. The tenant id is sent as `tenantId` (or `id`, as in backoffice). `productId` must be one of the products `GET /api/v2/orchestrator/products` lists, otherwise 403. The changer is the B2Store system user. Access: allowed caller IPs and the B2Store token from App Settings → Integrations → B2Store; any refusal is an undifferentiated 403.
Authorization
BearerAuthObject AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/orchestrator/tenants" \ -H "Content-Type: application/json" \ -d '{ "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0", "productId": "dcd53ddb-8104-4e48-8cc0-5df1088c6113", "name": "ACME", "platforms": [ "web" ], "tier": "lite" }'{ "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"}{ "errors": { "name": "Empty value" }}{ "message": { "error": "You are not allowed to perform this action." }}Empty
{ "message": { "error": "Oops! Something went wrong! Write to administrator. Your Request Id {f1177aee-9a99-42f0-a23f-4dd29fc39b65-672e0df972ccb}" }}