Prototype brand for a creation form
POST/api/v2/brands/new
Returns a non-persisted brand pre-populated with the authenticated user's defaults (current company, enabled=true, blockType=null). The response carries no id, version or audit fields. The optional JSON body supplies initialisation hints understood by the WAR; currently recognised: companyId, groupId, campaignId and copyFromId (replicates code/name/description from an existing brand). Caller must follow up with POST /api/v2/brands to actually persist the entity.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Brand prototype with defaults
Hint references an unknown entity (group, campaign, ...)
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_MARCAS permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.