curl --request POST \
--url https://api.aisa.one/apis/v1/woocommerce-com/products/get-product \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"slug": "woocommerce-subscriptions",
"store": "woocommerce.com"
}
'import requests
url = "https://api.aisa.one/apis/v1/woocommerce-com/products/get-product"
payload = {
"slug": "woocommerce-subscriptions",
"store": "woocommerce.com"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({slug: 'woocommerce-subscriptions', store: 'woocommerce.com'})
};
fetch('https://api.aisa.one/apis/v1/woocommerce-com/products/get-product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/woocommerce-com/products/get-product",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'slug' => 'woocommerce-subscriptions',
'store' => 'woocommerce.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/woocommerce-com/products/get-product"
payload := strings.NewReader("{\n \"slug\": \"woocommerce-subscriptions\",\n \"store\": \"woocommerce.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/woocommerce-com/products/get-product")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"slug\": \"woocommerce-subscriptions\",\n \"store\": \"woocommerce.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/woocommerce-com/products/get-product")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"slug\": \"woocommerce-subscriptions\",\n \"store\": \"woocommerce.com\"\n}"
response = http.request(request)
puts response.read_body{
"attributes": [
{
"has_variations": false,
"id": 10,
"name": "Compatibility",
"taxonomy": "pa_compatibility",
"terms": [
{
"id": 33015,
"name": "Cart & checkout blocks",
"slug": "cart-checkout-blocks"
},
{
"id": 32524,
"name": "High performance order storage (HPOS)",
"slug": "hpos"
}
]
}
],
"average_rating": 3.89,
"brands": [],
"categories": [
{
"id": 1021,
"name": "WooCommerce extensions",
"slug": "woocommerce-extensions"
},
{
"id": 3936,
"name": "Developed by Woo",
"slug": "developed-by-woo"
},
{
"id": 32617,
"name": "Payment management",
"slug": "payment-management"
},
{
"id": 28663,
"name": "Merchandising",
"slug": "merchandising"
},
{
"id": 28665,
"name": "Product variations",
"slug": "product-variations"
},
{
"id": 28671,
"name": "Subscriptions",
"slug": "subscriptions-merchandising"
},
{
"id": 1888,
"name": "Store management",
"slug": "operations"
}
],
"description": "WooCommerce Subscriptions is compatible with Cart and Checkout blocks — a customizable, conversion-optimized checkout experience available in WooCommerce core.\n\nMultiple billing schedules available to suit your store’s needs.\nIntegration with over 25 payment gateways for automatic recurring payments.\nSupports manual renewal payments through any WooCommerce payment gateway, along with automatic email invoices and receipts.\nSupports automatic rebilling on failed subscription payments, so you never lose revenue.\nGive subscribers the ability to manage their own plan, including upgrading or downgrading, without needing to wait on you for help.\nBuilt-in renewal notifications and automatic emails let you — and your customers — know when subscription payments have been processed, so there are never any surprises.\nDetailed reports allow you to keep track of recurring revenue, number of active subscribers, and more.\nAllow shoppers to gift subscriptions to each other, helping you reach new shoppers and grow recurring revenue with less effort.\nInclude simple and variable downloadable products with your subscriptions. Link new downloadable products and manage existing ones directly from within WooCommerce Subscriptions.\nNew! Create multiple plans for a single product and turn one-time purchases into recurring revenue.\n\nCapture residual revenue with recurring payments\n\nCan you guarantee how much money your store is going to make this month? If you offered subscription-based products, you could do just that.\n\nWith WooCommerce Subscriptions, you can create and manage products with recurring payments — payments that will give you residual revenue you can track and count on.\n\nWooCommerce Subscriptions allows you to introduce a variety of subscriptions for physical or virtual products and services. Create product-of-the-month clubs, weekly service subscriptions or even yearly software billing packages. Add sign-up fees, offer free trials, or set expiration periods.\n\nA subscription-based model will allow you to capture more residual revenue — and all you have to do is ship the orders.\n\nWooCommerce Subscriptions features\n\nReusable subscription plans\n\nCreate storewide plans — with your own frequency and pricing — and apply them across the subscription products in your store.\n\nFlexible purchase options\n\nChoose how each product is sold: as a one-time purchase, a subscription, or both. Offer every storewide plan, just a select few, or create custom plans unique to that product.\n\nFree trials and sign-up fees\n\nLet customers try before they buy, or recoup your setup costs upfront — add free trials and sign-up fees to any subscription plan.\n\nAligned renewals\n\nSync all subscribers on a plan to the same renewal date with billing date alignment — ideal for shipping on set days. You can also choose how the first payment is charged: in full, on the next billing date, or prorated.\n\nSubscription coupons\n\nOffer customers a discount on their recurring payments, or on the sign-up fee alone — with dedicated recurring discount coupons and sign-up fee coupons.\n\nGifting\n\nAllow shoppers to buy any subscription as a gift for someone else. Recipients get their own account to manage their subscription — helping you reach new customers and grow recurring revenue.\n\nMultiple subscriptions\n\nYour customers can purchase different subscription products in the same transaction, and WooCommerce Subscriptions will group them by billing schedule — so future renewals process as a single order and a single payment, with fewer gateway fees.\n\nSwitching\n\nAllow customers to upgrade, downgrade, or switch between subscription plans, variations, and products. With flexible proration for the recurring amount, sign-up fee and length, you can customize the cost of switching to suit your store.\n\nSubscription management\n\nManage every subscription from your WP Admin dashboard. Suspend or cancel a subscription, change the trial end date, add products, shipping, fees, or taxes, or adjust the recurring total for future payments.\n\nSubscriber account management\n\nYour customers can manage their own subscriptions from their account — suspend, cancel, or reactivate, switch plans, update their shipping address, and manage their payments — so routine changes don’t turn into support requests.\n\nSubscription emails\n\nBoth you and your customers stay in the loop with built-in subscription emails for key events: renewal receipts, invoices awaiting payment, failed payment retries, cancellations, expirations, and switches.\n\nSubscriptions Health Check\n\nStay in control of renewal health. The Subscriptions Health Check routinely scans every subscription in your store and flags the ones that need attention — renewals that didn’t process on schedule, or manual subscriptions that could be renewing automatically — right from your dashboard.\n\nCapture more residual revenue\n\nWhether your goal is to ship a surprise bundle of products to faithful customers every month or bill them for an in-person service provided by your small business, WooCommerce Subscriptions can take the stress out of capturing that all-important residual revenue.\n\nYou’ll be able to track how many subscribers you have, when they’re being billed, and how much revenue you’re generating — meaning you’ll always know how much revenue your store can count on as you continue to grow.\n\nHow to get started\n\nDownload, install, and activate this extension in your WooCommerce store.\nSet up your first subscription-based product or service and take it live.\nCheck out our detailed documentation to help you customize your subscription products, renewal options and more.\nSit back and enjoy earning more revenue!",
"has_options": false,
"id": 27147,
"images": [
"https://woocommerce.com/wp-content/uploads/2012/09/Woo_Subscriptions_icon-marketplace-160x160-2.png"
],
"name": "WooCommerce Subscriptions",
"observed_at_ms": 1791509594790,
"on_sale": false,
"parent": null,
"prices": {
"currency": "USD",
"currency_symbol": "$",
"max_price": null,
"min_price": null,
"price": 279,
"regular_price": 279,
"sale_price": 279
},
"review_count": 142,
"short_description": "WooCommerce Subscriptions is a WooCommerce extension that lets customers subscribe to your products or services and pay on a weekly, monthly, or annual basis. It integrates with over 25 payment gateways for automatic recurring payments and supports automatic rebilling on failed subscription payments. Subscribers can manage their own plan — upgrading, downgrading, suspending, or canceling — and update their shipping address or payment method. It’s a paid annual extension with a 30-day money-back guarantee.",
"sku": "WOO508",
"slug": "woocommerce-subscriptions",
"stock": {
"availability": null,
"is_in_stock": true,
"is_on_backorder": false,
"is_purchasable": true,
"low_stock_remaining": null,
"status": "in-stock"
},
"store": {
"host": "woocommerce.com",
"url": "https://woocommerce.com/"
},
"tags": [
{
"id": 3488,
"name": "doubletake",
"slug": "doubletake"
},
{
"id": 2078,
"name": "Featured",
"slug": "featured"
},
{
"id": 2658,
"name": "nax_payment_method_subscription",
"slug": "nax_payment_method_subscription"
},
{
"id": 2663,
"name": "nax_product_type_memberships",
"slug": "nax_product_type_memberships"
},
{
"id": 2548,
"name": "SomethingFresh1",
"slug": "somethingfresh1"
},
{
"id": 2557,
"name": "SomethingFresh10",
"slug": "somethingfresh10"
},
{
"id": 2549,
"name": "SomethingFresh2",
"slug": "somethingfresh2"
},
{
"id": 2550,
"name": "SomethingFresh3",
"slug": "somethingfresh3"
},
{
"id": 2551,
"name": "SomethingFresh4",
"slug": "somethingfresh4"
},
{
"id": 2552,
"name": "SomethingFresh5",
"slug": "somethingfresh5"
},
{
"id": 2553,
"name": "SomethingFresh6",
"slug": "somethingfresh6"
},
{
"id": 2554,
"name": "SomethingFresh7",
"slug": "somethingfresh7"
},
{
"id": 2555,
"name": "SomethingFresh8",
"slug": "somethingfresh8"
},
{
"id": 2556,
"name": "SomethingFresh9",
"slug": "somethingfresh9"
},
{
"id": 32537,
"name": "woosubs",
"slug": "woosubs"
}
],
"type": "simple",
"url": "https://woocommerce.com/products/woocommerce-subscriptions/",
"variation_count": 0,
"variations": []
}Get product
Details, variants (sizes/colours) and per-variant price or stock of one product in a WooCommerce store, e.g. from a pasted product URL.
curl --request POST \
--url https://api.aisa.one/apis/v1/woocommerce-com/products/get-product \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"slug": "woocommerce-subscriptions",
"store": "woocommerce.com"
}
'import requests
url = "https://api.aisa.one/apis/v1/woocommerce-com/products/get-product"
payload = {
"slug": "woocommerce-subscriptions",
"store": "woocommerce.com"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({slug: 'woocommerce-subscriptions', store: 'woocommerce.com'})
};
fetch('https://api.aisa.one/apis/v1/woocommerce-com/products/get-product', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/woocommerce-com/products/get-product",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'slug' => 'woocommerce-subscriptions',
'store' => 'woocommerce.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/woocommerce-com/products/get-product"
payload := strings.NewReader("{\n \"slug\": \"woocommerce-subscriptions\",\n \"store\": \"woocommerce.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/woocommerce-com/products/get-product")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"slug\": \"woocommerce-subscriptions\",\n \"store\": \"woocommerce.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/woocommerce-com/products/get-product")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"slug\": \"woocommerce-subscriptions\",\n \"store\": \"woocommerce.com\"\n}"
response = http.request(request)
puts response.read_body{
"attributes": [
{
"has_variations": false,
"id": 10,
"name": "Compatibility",
"taxonomy": "pa_compatibility",
"terms": [
{
"id": 33015,
"name": "Cart & checkout blocks",
"slug": "cart-checkout-blocks"
},
{
"id": 32524,
"name": "High performance order storage (HPOS)",
"slug": "hpos"
}
]
}
],
"average_rating": 3.89,
"brands": [],
"categories": [
{
"id": 1021,
"name": "WooCommerce extensions",
"slug": "woocommerce-extensions"
},
{
"id": 3936,
"name": "Developed by Woo",
"slug": "developed-by-woo"
},
{
"id": 32617,
"name": "Payment management",
"slug": "payment-management"
},
{
"id": 28663,
"name": "Merchandising",
"slug": "merchandising"
},
{
"id": 28665,
"name": "Product variations",
"slug": "product-variations"
},
{
"id": 28671,
"name": "Subscriptions",
"slug": "subscriptions-merchandising"
},
{
"id": 1888,
"name": "Store management",
"slug": "operations"
}
],
"description": "WooCommerce Subscriptions is compatible with Cart and Checkout blocks — a customizable, conversion-optimized checkout experience available in WooCommerce core.\n\nMultiple billing schedules available to suit your store’s needs.\nIntegration with over 25 payment gateways for automatic recurring payments.\nSupports manual renewal payments through any WooCommerce payment gateway, along with automatic email invoices and receipts.\nSupports automatic rebilling on failed subscription payments, so you never lose revenue.\nGive subscribers the ability to manage their own plan, including upgrading or downgrading, without needing to wait on you for help.\nBuilt-in renewal notifications and automatic emails let you — and your customers — know when subscription payments have been processed, so there are never any surprises.\nDetailed reports allow you to keep track of recurring revenue, number of active subscribers, and more.\nAllow shoppers to gift subscriptions to each other, helping you reach new shoppers and grow recurring revenue with less effort.\nInclude simple and variable downloadable products with your subscriptions. Link new downloadable products and manage existing ones directly from within WooCommerce Subscriptions.\nNew! Create multiple plans for a single product and turn one-time purchases into recurring revenue.\n\nCapture residual revenue with recurring payments\n\nCan you guarantee how much money your store is going to make this month? If you offered subscription-based products, you could do just that.\n\nWith WooCommerce Subscriptions, you can create and manage products with recurring payments — payments that will give you residual revenue you can track and count on.\n\nWooCommerce Subscriptions allows you to introduce a variety of subscriptions for physical or virtual products and services. Create product-of-the-month clubs, weekly service subscriptions or even yearly software billing packages. Add sign-up fees, offer free trials, or set expiration periods.\n\nA subscription-based model will allow you to capture more residual revenue — and all you have to do is ship the orders.\n\nWooCommerce Subscriptions features\n\nReusable subscription plans\n\nCreate storewide plans — with your own frequency and pricing — and apply them across the subscription products in your store.\n\nFlexible purchase options\n\nChoose how each product is sold: as a one-time purchase, a subscription, or both. Offer every storewide plan, just a select few, or create custom plans unique to that product.\n\nFree trials and sign-up fees\n\nLet customers try before they buy, or recoup your setup costs upfront — add free trials and sign-up fees to any subscription plan.\n\nAligned renewals\n\nSync all subscribers on a plan to the same renewal date with billing date alignment — ideal for shipping on set days. You can also choose how the first payment is charged: in full, on the next billing date, or prorated.\n\nSubscription coupons\n\nOffer customers a discount on their recurring payments, or on the sign-up fee alone — with dedicated recurring discount coupons and sign-up fee coupons.\n\nGifting\n\nAllow shoppers to buy any subscription as a gift for someone else. Recipients get their own account to manage their subscription — helping you reach new customers and grow recurring revenue.\n\nMultiple subscriptions\n\nYour customers can purchase different subscription products in the same transaction, and WooCommerce Subscriptions will group them by billing schedule — so future renewals process as a single order and a single payment, with fewer gateway fees.\n\nSwitching\n\nAllow customers to upgrade, downgrade, or switch between subscription plans, variations, and products. With flexible proration for the recurring amount, sign-up fee and length, you can customize the cost of switching to suit your store.\n\nSubscription management\n\nManage every subscription from your WP Admin dashboard. Suspend or cancel a subscription, change the trial end date, add products, shipping, fees, or taxes, or adjust the recurring total for future payments.\n\nSubscriber account management\n\nYour customers can manage their own subscriptions from their account — suspend, cancel, or reactivate, switch plans, update their shipping address, and manage their payments — so routine changes don’t turn into support requests.\n\nSubscription emails\n\nBoth you and your customers stay in the loop with built-in subscription emails for key events: renewal receipts, invoices awaiting payment, failed payment retries, cancellations, expirations, and switches.\n\nSubscriptions Health Check\n\nStay in control of renewal health. The Subscriptions Health Check routinely scans every subscription in your store and flags the ones that need attention — renewals that didn’t process on schedule, or manual subscriptions that could be renewing automatically — right from your dashboard.\n\nCapture more residual revenue\n\nWhether your goal is to ship a surprise bundle of products to faithful customers every month or bill them for an in-person service provided by your small business, WooCommerce Subscriptions can take the stress out of capturing that all-important residual revenue.\n\nYou’ll be able to track how many subscribers you have, when they’re being billed, and how much revenue you’re generating — meaning you’ll always know how much revenue your store can count on as you continue to grow.\n\nHow to get started\n\nDownload, install, and activate this extension in your WooCommerce store.\nSet up your first subscription-based product or service and take it live.\nCheck out our detailed documentation to help you customize your subscription products, renewal options and more.\nSit back and enjoy earning more revenue!",
"has_options": false,
"id": 27147,
"images": [
"https://woocommerce.com/wp-content/uploads/2012/09/Woo_Subscriptions_icon-marketplace-160x160-2.png"
],
"name": "WooCommerce Subscriptions",
"observed_at_ms": 1791509594790,
"on_sale": false,
"parent": null,
"prices": {
"currency": "USD",
"currency_symbol": "$",
"max_price": null,
"min_price": null,
"price": 279,
"regular_price": 279,
"sale_price": 279
},
"review_count": 142,
"short_description": "WooCommerce Subscriptions is a WooCommerce extension that lets customers subscribe to your products or services and pay on a weekly, monthly, or annual basis. It integrates with over 25 payment gateways for automatic recurring payments and supports automatic rebilling on failed subscription payments. Subscribers can manage their own plan — upgrading, downgrading, suspending, or canceling — and update their shipping address or payment method. It’s a paid annual extension with a 30-day money-back guarantee.",
"sku": "WOO508",
"slug": "woocommerce-subscriptions",
"stock": {
"availability": null,
"is_in_stock": true,
"is_on_backorder": false,
"is_purchasable": true,
"low_stock_remaining": null,
"status": "in-stock"
},
"store": {
"host": "woocommerce.com",
"url": "https://woocommerce.com/"
},
"tags": [
{
"id": 3488,
"name": "doubletake",
"slug": "doubletake"
},
{
"id": 2078,
"name": "Featured",
"slug": "featured"
},
{
"id": 2658,
"name": "nax_payment_method_subscription",
"slug": "nax_payment_method_subscription"
},
{
"id": 2663,
"name": "nax_product_type_memberships",
"slug": "nax_product_type_memberships"
},
{
"id": 2548,
"name": "SomethingFresh1",
"slug": "somethingfresh1"
},
{
"id": 2557,
"name": "SomethingFresh10",
"slug": "somethingfresh10"
},
{
"id": 2549,
"name": "SomethingFresh2",
"slug": "somethingfresh2"
},
{
"id": 2550,
"name": "SomethingFresh3",
"slug": "somethingfresh3"
},
{
"id": 2551,
"name": "SomethingFresh4",
"slug": "somethingfresh4"
},
{
"id": 2552,
"name": "SomethingFresh5",
"slug": "somethingfresh5"
},
{
"id": 2553,
"name": "SomethingFresh6",
"slug": "somethingfresh6"
},
{
"id": 2554,
"name": "SomethingFresh7",
"slug": "somethingfresh7"
},
{
"id": 2555,
"name": "SomethingFresh8",
"slug": "somethingfresh8"
},
{
"id": 2556,
"name": "SomethingFresh9",
"slug": "somethingfresh9"
},
{
"id": 32537,
"name": "woosubs",
"slug": "woosubs"
}
],
"type": "simple",
"url": "https://woocommerce.com/products/woocommerce-subscriptions/",
"variation_count": 0,
"variations": []
}Request contract
- Method and path: POST /apis/v1/woocommerce-com/products/get-product
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/woocommerce-com/products/get-product
{
"operationId": "woocommerce-com.products.get-product",
"method": "POST",
"path": "/apis/v1/woocommerce-com/products/get-product",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"slug": "woocommerce-subscriptions",
"store": "woocommerce.com"
}
}
},
"schema": {
"additionalProperties": true,
"allOf": [
{
"anyOf": [
{
"properties": {
"id": {}
},
"required": [
"id"
]
},
{
"properties": {
"sku": {}
},
"required": [
"sku"
]
},
{
"properties": {
"slug": {}
},
"required": [
"slug"
]
},
{
"properties": {
"store": {}
},
"required": [
"store"
]
},
{
"properties": {
"url": {}
},
"required": [
"url"
]
}
]
}
],
"properties": {
"id": {
"description": "Product (or variation) id.\n\nProvider reference: minimum 1.",
"type": "number"
},
"sku": {
"description": "Exact SKU (case-insensitive).",
"type": "string"
},
"slug": {
"description": "Product slug, the last path segment of its URL.",
"type": "string"
},
"store": {
"description": "The store: a bare domain (example.com) or any URL on the store. Any WooCommerce site with the public Store API (/wp-json/wc/store/v1) enabled.",
"type": "string"
},
"url": {
"description": "A product page URL on the store (https://example.com/product/<slug>/ or ?p=<id>). Implies store. Pattern: ^https?://.",
"type": "string"
}
},
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
A product page URL on the store (https://example.com/product// or ?p=). Implies store. Pattern: ^https?://.
Response
One product from any WooCommerce store by id, slug, SKU or product page URL: everything search_products returns plus the full description as text, tags, attributes with their terms, parent id for a variation, and for variable products every variation (up to 100) with its options, SKU, prices and stock.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
attributes | object[] | |
average_rating | number | 0 when the product has no reviews. |
brands | object[] | WooCommerce Brands (9.6+); empty on stores without brands. |
categories | object[] | |
description | string | Full description as plain text. |
has_options | boolean | True when the product needs options chosen (variations, add-ons). |
id | number | |
images | string[] | Full-size image URLs, first is the main image. |
name | string | HTML entities decoded. |
observed_at_ms | number | |
on_sale | boolean | |
parent | number | Parent product id when this is a variation. |
prices | object | Prices in major currency units (e.g. 279.0 = $279.00). |
review_count | number | |
short_description | string | Short description as plain text (HTML stripped). |
sku | string | |
slug | string | |
stock | object | |
store | object | The WooCommerce store that answered. |
tags | object[] | |
type | string | simple, variable, grouped, external, variation, or a plugin product type (subscription, bundle...). |
url | string | Product page (permalink). |
variation_count | number | Variations the product declares. |
variations | object[] | Variations with prices and stock (variable products; at most 100). |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.