Create a brand
Authorization
BearerAuth Bearer API token for access
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Create a brand. Skips onboarding. The first entry in domains is treated as the brand's primary website; the rest are stored as additional domains.
1 <= length1 <= lengthEmail of an existing user who becomes the owner of the brand's organization. Without it the brand exists but no login can reach it. Fails with 400 if no user has signed up with this address.
emailBrand domains. The first entry is the primary website; remaining entries are additional domains.
1 <= itemsMarket the brand is measured in: a locale key such as ch-de, ch-fr, de, fr, no, dk or fi. Null or omitted uses the deployment default.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/brands" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "name": "string", "domains": [ "string" ] }'{ "id": "string", "name": "string", "domains": [ "string" ], "aliases": [ "string" ], "locale": "ch-de", "enabled": true, "onboarded": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}