For the complete documentation index, see llms.txt. This page is also available as Markdown.

WooCommerce Orders & Reports

WooCommerce Orders & Reports abilities of the Hostinger AI plugin's WordPress site MCP server. Manage orders and read sales, order, product, customer, coupon and review totals.

Manage orders and read sales, order, product, customer, coupon and review totals.

Available: Only while WooCommerce is active on the site.

Ability
What it does
Type

Create a new WooCommerce order.

Changes the site

Delete a WooCommerce order by ID.

Destructive · Safe to retry

Get a single WooCommerce order by ID.

Read-only

Get a list of WooCommerce orders with search and filter capabilities.

Read-only

Update an existing WooCommerce order by ID.

Changes the site · Safe to retry

Get WooCommerce coupons totals report.

Read-only

Get WooCommerce customers totals report.

Read-only

Get WooCommerce orders totals report.

Read-only

Get WooCommerce products totals report.

Read-only

Get WooCommerce reviews totals report.

Read-only

Get WooCommerce sales report.

Read-only

Create WooCommerce Order

hostinger-ai/wc-orders-create · Changes the site

Create a new WooCommerce order.

No required parameters.

Optional parameters (18)
Parameter
Type
Default
Description

parent_id

integer

Parent order ID.

created_via

string

Shows where the order was created.

status

one of auto-draft, pending, processing, on-hold, completed, cancelled, refunded, failed, checkout-draft

pending

Order status.

currency

one of AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTC, BTN, BWP, BYR, BYN, BZD, CAD, CDF, CHF, CHW, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GGP, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IMP, INR, IQD, IRR, IRT, ISK, JEP, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PRB, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VEF, VES, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW

USD

Currency the order was created with, in ISO format.

customer_id

integer

0

User ID who owns the order. 0 for guests.

customer_note

string

Note left by customer during checkout.

billing

object

Billing address.

shipping

object

Shipping address.

payment_method

string

Payment method ID.

payment_method_title

string

Payment method title.

transaction_id

string

Unique transaction ID.

meta_data

array of object

Meta data.

line_items

array of object

Line items data.

shipping_lines

array of object

Shipping lines data.

fee_lines

array of object

Fee lines data.

coupon_lines

array of object

Coupons line data.

set_paid

boolean

false

Define if the order is paid. It will set the status to processing and reduce stock items.

manual_update

boolean

false

Set the action as manual so that the order note registers as "added by user".

Description sent to AI tools

Create a new WooCommerce order. Provide customer and line items data as needed.

Delete WooCommerce Order

hostinger-ai/wc-orders-delete · Destructive · Safe to retry

Delete a WooCommerce order by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Description sent to AI tools

Delete a WooCommerce order by ID. This action cannot be undone.

Get WooCommerce Order

hostinger-ai/wc-orders-get · Read-only

Get a single WooCommerce order by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Description sent to AI tools

Get a single WooCommerce order by ID. Returns the full order object with all fields.

Search WooCommerce Orders

hostinger-ai/wc-orders-search · Read-only

Get a list of WooCommerce orders with search and filter capabilities.

No required parameters.

Optional parameters (20)
Parameter
Type
Default
Description

context

one of view, edit

view

Scope under which the request is made; determines fields present in response.

page

integer

1

Current page of the collection.

per_page

integer

10

Maximum number of items to be returned in result set.

search

string

Limit results to those matching a string.

dates_are_gmt

boolean

false

Whether to consider GMT post dates when limiting response by published or modified date.

exclude

array of integer

[]

Ensure result set excludes specific IDs.

include

array of integer

[]

Limit result set to specific ids.

offset

integer

Offset the result set by a specific number of items.

order

one of asc, desc

desc

Order sort attribute ascending or descending.

orderby

one of date, id, include, title, slug, modified

date

Sort collection by object attribute.

parent

array of integer

[]

Limit result set to those of particular parent IDs.

parent_exclude

array of integer

[]

Limit result set to all items except those of a particular parent ID.

status

array of any, trash, auto-draft, pending, processing, on-hold, completed, cancelled, refunded, failed, checkout-draft

any

Limit result set to orders which have specific statuses.

customer

integer

Limit result set to orders assigned a specific customer.

product

integer

Limit result set to orders assigned a specific product.

dp

integer

2

Number of decimal points to use in each resource.

order_item_display_meta

boolean

false

Only show meta which is meant to be displayed for an order.

include_meta

array of string

[]

Limit meta_data to specific keys.

exclude_meta

array of string

[]

Ensure meta_data excludes specific keys.

created_via

array of string

Limit result set to orders created via specific sources (e.g. checkout, admin).

Description sent to AI tools

Get a list of WooCommerce orders with search and filter capabilities. Returns a list of orders matching the criteria.

Update WooCommerce Order

hostinger-ai/wc-orders-update · Changes the site · Safe to retry

Update an existing WooCommerce order by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Optional parameters (18)
Parameter
Type
Description

parent_id

integer

Parent order ID.

created_via

string

Shows where the order was created.

status

one of auto-draft, pending, processing, on-hold, completed, cancelled, refunded, failed, checkout-draft

Order status.

currency

one of AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTC, BTN, BWP, BYR, BYN, BZD, CAD, CDF, CHF, CHW, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GGP, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IMP, INR, IQD, IRR, IRT, ISK, JEP, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PRB, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VEF, VES, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW

Currency the order was created with, in ISO format.

customer_id

integer

User ID who owns the order. 0 for guests.

customer_note

string

Note left by customer during checkout.

billing

object

Billing address.

shipping

object

Shipping address.

payment_method

string

Payment method ID.

payment_method_title

string

Payment method title.

transaction_id

string

Unique transaction ID.

meta_data

array of object

Meta data.

line_items

array of object

Line items data.

shipping_lines

array of object

Shipping lines data.

fee_lines

array of object

Fee lines data.

coupon_lines

array of object

Coupons line data.

set_paid

boolean

Define if the order is paid. It will set the status to processing and reduce stock items.

manual_update

boolean

Set the action as manual so that the order note registers as "added by user".

Description sent to AI tools

Update an existing WooCommerce order by ID. Use this to change status (e.g., pending, processing, completed, refunded) and other editable fields.

Get WooCommerce Coupons Report

hostinger-ai/wc-reports-coupons-totals · Read-only

Get WooCommerce coupons totals report.

No parameters.

Description sent to AI tools

Get WooCommerce coupons totals report. Returns count of coupons by coupon type.

Get WooCommerce Customers Report

hostinger-ai/wc-reports-customers-totals · Read-only

Get WooCommerce customers totals report.

No parameters.

Description sent to AI tools

Get WooCommerce customers totals report. Returns statistics about customers.

Get WooCommerce Orders Report

hostinger-ai/wc-reports-orders-totals · Read-only

Get WooCommerce orders totals report.

No parameters.

Description sent to AI tools

Get WooCommerce orders totals report. Returns statistics about orders.

Get WooCommerce Products Report

hostinger-ai/wc-reports-products-totals · Read-only

Get WooCommerce products totals report.

No parameters.

Description sent to AI tools

Get WooCommerce products totals report. Returns statistics about products.

Get WooCommerce Reviews Report

hostinger-ai/wc-reports-reviews-totals · Read-only

Get WooCommerce reviews totals report.

No parameters.

Description sent to AI tools

Get WooCommerce reviews totals report. Returns statistics about product reviews.

Get WooCommerce Sales Report

hostinger-ai/wc-reports-sales · Read-only

Get WooCommerce sales report.

No required parameters.

Optional parameters (3)
Parameter
Type
Description

period

one of week, month, last_month, year

Report period. Options: week, month, last_month, year.

date_min

string

Return sales for a specific start date. Format: YYYY-MM-DD.

date_max

string

Return sales for a specific end date. Format: YYYY-MM-DD.

Description sent to AI tools

Get WooCommerce sales report. Returns detailed sales statistics and revenue data.

Last updated

Was this helpful?