Create a new ticket in RepairShopr with attached customer
I create a new support ticket in RepairShopr, associating it with an existing customer.
Use this when:
Required API base URL:
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYRequired parameters:
customer_id (integer) - ID of the customersubject (string) - Ticket subject/titleproblem_type (string) - Problem type/category (e.g., "Virus", "Hardware", "Software")Optional parameters:
status (string) - Ticket status, default "New"user_id (integer) - Assigned technician/user IDpriority (string) - Priority levelproperties (object) - Custom fields (e.g., Device Type, Maker)asset_ids (array) - IDs of associated assetsdue_date (string) - Due date (ISO 8601)Example call:
const result = await skill({ name: "repairshopr-ticket-create" }, {
customer_id: 123,
subject: "Laptop won't power on",
problem_type: "Hardware",
user_id: 131330
})
Response includes:
ticket object with full ticket details including id, number, status, etc.subject is blank or customer_id is invalidUse repairshopr-ticket-comment skill to add the detailed initial issue description
and any additional notes like serial numbers or PINs.