Create a new customer in RepairShopr
I create a new customer record in RepairShopr with the provided details.
Use this when:
Required API base URL (set in environment):
VITE_REPAIRSHOPR_SUBDOMAINVITE_REPAIRSHOPR_API_KEYParameters (all optional except at least one contact field):
firstname (string) - Customer's first namelastname (string) - Customer's last nameemail (string) - Email address (validated)phone (string) - Phone numbermobile (string) - Mobile numberaddress, , , , - Address fieldsaddress_2citystatezipget_sms (boolean) - Whether to send SMS notificationsnotes (string) - Additional notesExample call:
const result = await skill({ name: "repairshopr-customer-create" }, {
firstname: "John",
lastname: "Doe",
email: "[email protected]",
phone: "555-1234"
})
Response includes:
customer object with created customer data including id, fullname, etc.