| name | repairshopr-customer-search |
| description | Search for customers in RepairShopr by email or phone |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"technicians, kiosk applications","api":"GET /customers"} |
What I do
I search for customers in RepairShopr using email or phone number. I can perform both exact and partial searches.
When to use me
Use this when you need to:
- Look up an existing customer before creating a ticket
- Verify if a customer already exists in the system
- Retrieve customer details (name, email, phone, address)
How to use
Required API base URL (set in environment):
VITE_REPAIRSHOPR_SUBDOMAIN - your RepairShopr subdomain
VITE_REPAIRSHOPR_API_KEY - your API key
Parameters:
query (string) - Search term (email or phone)
email (string, optional) - Exact email search
phone (string, optional) - Exact phone search
page (integer, optional) - Page number, default 1
Example call:
const result = await skill({ name: "repairshopr-customer-search" }, {
query: "customer@example.com"
})
Response includes:
customers array with customer objects (id, firstname, lastname, email, phone, etc.)
meta with pagination info
Notes
- Requires "Customers - List/Search" permission in RepairShopr
- Single-Customer Users can only access their own customer record
- Search is case-insensitive and matches partial strings
- Returns paginated results (25 per page)