Add a Brand
Add a new brand, with an optional logo. The logo should be uploaded as a file, Use multipart/form-data content type.
              
        application/json
      
      
        
  
        POST
    /brands
  
  
                    cURL (application/json)
      
        
  curl \
 --request POST 'https://stg.getfoundation.com/api/external/v1/brands' \
 --header "X-API-Key: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"brand":{"handle":"acme-corp","title":"Acme Corp","description":"string"}}'
              curl \
 --request POST 'https://stg.getfoundation.com/api/external/v1/brands' \
 --header "X-API-Key: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --form "brand[logo]=@file" \
 --form "brand[handle]=string" \
 --form "brand[title]=string" \
 --form "brand[description]=string"
    
        Request examples
  
  {
  "brand": {
    "handle": "acme-corp",
    "title": "Acme Corp",
    "description": "string"
  }
}
        Response examples (201)
  
  {
  "brand": {
    "id": "9aa62446-c3b0-42f5-8027-3648daed9d73",
    "handle": "acme-corp",
    "title": "Acme Corp",
    "description": "string",
    "logo": "https://acme-corp.com/logo.png",
    "created_at": "2025-05-04T09:42:00Z",
    "updated_at": "2025-05-04T09:42:00Z"
  }
}
        Response examples (401)
  
  {
  "error": "string",
  "details": "string"
}
        Response examples (422)
  
  {
  "error": "string",
  "details": "string"
}