Duplicate 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 →

Duplicate service

Write
LatePoint Booking & Events latepoint/duplicate-service

Creates a new disabled copy of an existing service, carrying over its settings.

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 creates a new service that copies the name (or a custom name you supply, defaulting to 'Copy of <original name>'), description, duration, price, category, color, and minimum/maximum capacity from an existing service. The new copy is always created with a disabled status so it won't immediately appear on the booking form. You identify the source service by ID; if it doesn't exist, the ability returns a not-found error. On success it returns the full record of the newly created duplicate. Note: it does not copy the source service's agent assignments, despite what the ability's own description string suggests — only the fields listed above are copied.

See it in action

You ask your AI assistant

"Duplicate the 'Haircut' service and name the copy 'Haircut - Premium'."

Inputs

Name Type Required Description
id integer Yes Service ID to duplicate.
name string No Name for the new copy (optional — defaults to "Copy of <name>").

Returns

Returns the newly created duplicate service's full serialized record; returns an error if the original service isn't found or the copy fails to save.

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.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.