All customer data is isolated to your business tenant. Customers you add are never visible to other organizations using Inventory Pro.
Customer data model
TheCustomer model in the database schema:
name and email are required. phone and address are optional.
Viewing customers
Navigate to Customers in the sidebar. The page shows all customer records in a table with columns for Name, Email, Phone, Address, and Actions. Customers are fetched from the API filtered by yourtenantId:
Adding a customer
Open the add customer form
Click the Add Customer button in the top-right corner of the Customers page.
Add phone and address (optional)
Phone and Address are optional. Fill them in if you have the information available.
Editing customer details
Click Edit in the Actions column of any customer row. Editing sends aPUT request to /api/customers/:id with the updated fields:
Deleting a customer
Click Delete in the Actions column. This sends aDELETE request to /api/customers/:id and permanently removes the customer record.
API reference
| Method | Endpoint | Description |
|---|---|---|
GET | /api/customers | List all customers for your tenant |
POST | /api/customers | Create a new customer |
PUT | /api/customers/:id | Update an existing customer |
DELETE | /api/customers/:id | Delete a customer |
Authorization: Bearer <token> header.