Brand2Social API Documentation

Comprehensive guide to Brand2Social API endpoints

Update Brand API

This API endpoint allows you to update an existing brand's details, such as name, timezone, or limitations. Requires authentication and the brand ID. On success, returns the updated brand ID.

  • Method: PUT
  • Endpoint: /api/api-services/v1/brand-service/update-brand
  • Returns: Updated brand ID on success

Update Brand

PUT https://app.brand2social.com/api/api-services/v1/brand-service/update-brand

FieldTypeRequiredDescription
brand_idstringYesID of the brand to update
brand_namestringNoNew name of the brand
timezonestringNoNew timezone
brand_limitationobjectNoUpdated limit settings
curl --location --request PUT 'https://app.brand2social.com/api/api-services/v1/brand-service/update-brand' \
    --header 'Authorization: Bearer B2S_dummyToken' \
    --header 'Content-Type: application/json' \
    --data-raw '{
      "brand_id": "brand_123",
      "brand_name": "UpdatedBrand",
      "timezone": "Asia/Kolkata",
      "brand_limitation": {
        "social_account_limit": 2,
        "users_limit": 2,
        "ai_content_tokens": 2,
        "ai_image_token": 2
      }
    }'

Response

{
  "status": "SUCCESS",
  "http_code": 200,
  "message": "Brand updated successfully",
  "data": {
    "brand_id": "brand_123"
  }
}