cURL
curl --request POST \ --url https://app.alana.shopping/api/workspace/{workspaceId}/brands \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "New Brand", "description": "Brand description here" } '
{ "id": "<string>", "workspace_id": "<string>", "name": "<string>", "slug": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "logo_url": "<string>", "description": "<string>" }
Bearer token authentication. Obtain a token via the authentication endpoint and include it in the Authorization header: Authorization: Bearer <token>
Authorization: Bearer <token>
The workspace ID
1 - 255
URL-friendly slug (auto-generated if not provided)
1000
Brand created successfully