Documentación/api
Response format
FreeThe shape of successful and failed tool responses.
All tools return JSON envelopes with a stable shape.
Success
{
"success": true,
"data": ... ,
"meta": {
"total": 42,
"page": 1,
"per_page": 10,
"pages": 5
}
}
data— the tool's primary payload. Array for list tools, object for read/write.meta— present on paginated responses only.
Failure
See Error codes.
Dates
Dates are ISO-8601 in the site's timezone (not UTC) unless otherwise noted. Use the site_info response to see the configured timezone.
Money
Prices and totals are returned as strings (e.g. "8.50") to avoid float
rounding. The currency field is always included when money is present.
Pagination
page and per_page are universal. per_page is capped at 100.
GET /tools/list → ?page=2&per_page=25
IDs
IDs are always integers, never strings (even when WooCommerce exposes them as strings elsewhere).