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
Field | Type | Required | Description |
---|---|---|---|
brand_id | string | Yes | ID of the brand to update |
brand_name | string | No | New name of the brand |
timezone | string | No | New timezone |
brand_limitation | object | No | Updated 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"
}
}