Branches
Comprehensive API for managing business branches in the system
Reading time: 2 minutes
Branches
Comprehensive management of multiple business branches with support for organization and classification.
Overview
Branch management allows you to:
- ā Organize your business into multiple branches
- ā Assign contacts to specific branches
- ā Track orders by branch
- ā Manage contact groups for each branch
Branch Operations
Best Practices
Integration with Other APIs
Linking Branches with Contacts
Link with Contactsjavascript
// 1. Create branch
const branch = await createBranch({
name: "Riyadh Branch",
phone: "966500000000"
});
// 2. Create contact linked to branch
const contact = await createContact({
name: "Ahmed Mohammed",
phone: "966501234567",
branch_id: branch.data.id
});Linking Branches with Orders
Link with Ordersjavascript
// Update order and link to branch
const order = await updateOrder(orderId, {
branch_id: branchId,
status: "processing"
});Related Sections
Technical Support
Need help?
- š§ Email: support@awalchat.com
- š¬ Live Chat: Available in dashboard
- š± WhatsApp: Contact us directly via WhatsApp
- š Examples: See Code Examples