API Reference

WordPress / API Reference

wc_subs_create

WooCommerce tool. Create a new WooCommerce Subscription

This is a read-only tool: it returns subs 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:

Subs create in my WordPress account for [billing period].

It takes 2 required and 10 optional parameters.

Parameters

ParameterTypeRequiredDescription
customer_idintegerYesCustomer Id
billing_periodstringYesBilling Period
statusstringNoStatus
billing_intervalintegerNoBilling Interval
start_datestringNoStart Date
end_datestringNoEnd Date
line_itemsarrayNoLine Items
billingobjectNoBilling
shippingobjectNoShipping
payment_methodstringNoPayment Method
payment_method_titlestringNoPayment Method Title
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.