API Reference

WordPress / API Reference

wc_bookings_create

WooCommerce tool. Create a new WooCommerce Booking

This is a read-only tool: it returns bookings create for your WordPress account. It changes nothing.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Bookings create in my WordPress account for [product id], [start date], [end date].

It takes 3 required and 6 optional parameters.

Parameters

ParameterTypeRequiredDescription
product_idintegerYesProduct Id
start_datestringYesStart Date
end_datestringYesEnd Date
customer_idintegerNoCustomer Id
statusstringNoStatus
resource_idintegerNoResource Id
personsarrayNoPersons
order_idintegerNoOrder Id
meta_dataarrayNoMeta Data

Related WordPress tools

Start free — 30 tool calls a month

No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.