| name | repairshopr-appointment-type |
| description | Manage appointment types in RepairShopr (requires Global Admin) |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"administrators, schedulers","api":"GET /appointment_types, POST /appointment_types, GET /appointment_types/{id}, PUT /appointment_types/{id}, DELETE /appointment_types/{id}"} |
What I do
I manage appointment type configurations in RepairShopr. Appointment types define categories for scheduling, such as "Office Hours", "Repair Consultation", etc. These control email instructions, location types, and reminder schedules.
When to use me
Use this when:
- Creating new appointment categories for different service types
- Modifying existing appointment type settings
- Viewing available appointment types
- Configuring appointment reminder schedules
How to use
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAIN
VITE_REPAIRSHOPR_API_KEY
Note: All operations require "Global Admin" permission.
List Appointment Types (GET /appointment_types)
No parameters required. Returns all appointment types.
Create Appointment Type (POST /appointment_types)
Required parameters:
name (string) - Appointment type name
Optional parameters:
email_instructions (string) - Instructions included in appointment emails
location_type (string) - Location type identifier (e.g., "manual_entry")
location_hard_code (string) - Hard-coded location if needed
buffer (integer) - Buffer time in minutes
appointment_reminders_schedule_id (integer) - Associated reminder schedule ID
Get Single Type (GET /appointment_types/{id})
id (integer, required) - Appointment type ID
Update Type (PUT /appointment_types/{id})
id (integer, required) - Appointment type ID
Optional body same as Create
Delete Type (DELETE /appointment_types/{id})
id (integer, required) - Appointment type ID
Example call:
const result = await skill({ name: "repairshopr-appointment-type" }, {
name: "Phone Repair Consultation",
email_instructions: "Please arrive 10 minutes early. Bring device and any accessories.",
location_type: "manual_entry",
buffer: 15
})
Response includes:
- Appointment type object with fields:
id, name, email_instructions, location_type, buffer, etc.
Important
- Requires Global Admin permissions
name is required for creation
- Cannot delete appointment types that are in use by existing appointments
Related skills
repairshopr-appointment - Use with appointment types for scheduling