Create service is a WordPress ability from LatePoint — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Create service
WriteCreates a new bookable service with a name, duration, and optional pricing, category, color, and capacity details.
Requires the LatePoint plugin on WordPress 6.9+ (the WordPress Abilities API is only available from 6.9 onward). All abilities also require the site's 'latepoint_abilities_api' master toggle to be enabled; write abilities additionally require the 'latepoint_abilities_api_edit' setting, and destructive abilities additionally require the 'latepoint_abilities_api_delete' setting. Each ability further requires the current user to hold the matching LatePoint capability (e.g. 'booking__view', 'customer__edit'), and some abilities also verify the user is allowed to act on that specific record.
What it does
This ability adds a new service to LatePoint's catalog so customers can select it when booking appointments. At minimum you must supply a name and a duration in minutes; description, price, category, color, and minimum/maximum booking capacity are all optional. The new service is created with an active status right away. If saving fails, the ability returns an error (with validation details when WP_DEBUG is enabled).
See it in action
You ask your AI assistant
"Create a new 60-minute service called 'Deep Tissue Massage' priced at $90."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Service name. |
| description | string | No | Service description. |
| duration | integer | Yes | Duration in minutes. |
| price | number | No | Service price. |
| category_id | integer | No | Category ID to assign the service to. |
| color | string | No | Color used to represent the service on the calendar. |
| capacity_min | integer | No | Minimum booking capacity. |
| capacity_max | integer | No | Maximum booking capacity. |
Returns
Returns the newly created service's full serialized record (id, name, description, status, duration, price, category_id, color, capacity_min, capacity_max, created_at, updated_at); returns an error if saving fails.
Permission
The current user must have LatePoint's 'service__create' capability, and both the 'latepoint_abilities_api' and 'latepoint_abilities_api_edit' settings must be enabled.
More LatePoint abilities
Add off period
Create a new off/blocked period so an agent, or the whole business, stops accepting bookings for a date range.
Approve booking
Approve a pending booking in one step.
Cancel booking
Cancel a booking while keeping its record intact.
Change booking status
Set a booking to any valid status — approved, pending, cancelled, no_show, or completed.
Change invoice status
Update the payment status of an existing invoice, such as marking it paid or partially paid.
Change order status
Change the status of an order to open, cancelled, or completed.