> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# 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.

## 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`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/woocommerce-com.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "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.


## OpenAPI

````yaml openapi/woocommerce-com.json POST /apis/v1/woocommerce-com/products/get-product
openapi: 3.1.0
info:
  description: ''
  title: WooCommerce stores
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    woocommerce-com:
      description: ''
      title: WooCommerce stores
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 7fd75c768a43689d763cd0255ef00ce1442915e10a4a5f5f2b514e6131fb06b8
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/woocommerce-com/products/get-product
    - /apis/v1/woocommerce-com/products/list-attributes
    - /apis/v1/woocommerce-com/products/list-categories
    - /apis/v1/woocommerce-com/products/search-products
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:ed2e65f03311411c2ea3696e4f1a321a3b167d875d0bae37875c7b19290d2c9d
    facts_hash: 7fd75c768a43689d763cd0255ef00ce1442915e10a4a5f5f2b514e6131fb06b8
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: woocommerce-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/woocommerce-com/products/get-product:
    post:
      tags:
        - WooCommerce stores
      summary: Get product
      description: >-
        Details, variants (sizes/colours) and per-variant price or stock of one
        product in a WooCommerce store, e.g. from a pasted product URL.
      operationId: woocommerce-com.products.get-product
      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.

                    Provider 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
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-09T01:33:30Z.
                  summary: Official provider example
                  value:
                    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.


                      Multiple billing schedules available to suit your store’s
                      needs.

                      Integration with over 25 payment gateways for automatic
                      recurring payments.

                      Supports manual renewal payments through any WooCommerce
                      payment gateway, along with automatic email invoices and
                      receipts.

                      Supports automatic rebilling on failed subscription
                      payments, so you never lose revenue.

                      Give subscribers the ability to manage their own plan,
                      including upgrading or downgrading, without needing to
                      wait on you for help.

                      Built-in renewal notifications and automatic emails let
                      you — and your customers — know when subscription payments
                      have been processed, so there are never any surprises.

                      Detailed reports allow you to keep track of recurring
                      revenue, number of active subscribers, and more.

                      Allow shoppers to gift subscriptions to each other,
                      helping you reach new shoppers and grow recurring revenue
                      with less effort.

                      Include simple and variable downloadable products with
                      your subscriptions. Link new downloadable products and
                      manage existing ones directly from within WooCommerce
                      Subscriptions.

                      New! Create multiple plans for a single product and turn
                      one-time purchases into recurring revenue.


                      Capture residual revenue with recurring payments


                      Can you guarantee how much money your store is going to
                      make this month? If you offered subscription-based
                      products, you could do just that.


                      With WooCommerce Subscriptions, you can create and manage
                      products with recurring payments — payments that will give
                      you residual revenue you can track and count on.


                      WooCommerce 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.


                      A subscription-based model will allow you to capture more
                      residual revenue — and all you have to do is ship the
                      orders.


                      WooCommerce Subscriptions features


                      Reusable subscription plans


                      Create storewide plans — with your own frequency and
                      pricing — and apply them across the subscription products
                      in your store.


                      Flexible purchase options


                      Choose 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.


                      Free trials and sign-up fees


                      Let customers try before they buy, or recoup your setup
                      costs upfront — add free trials and sign-up fees to any
                      subscription plan.


                      Aligned renewals


                      Sync 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.


                      Subscription coupons


                      Offer customers a discount on their recurring payments, or
                      on the sign-up fee alone — with dedicated recurring
                      discount coupons and sign-up fee coupons.


                      Gifting


                      Allow 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.


                      Multiple subscriptions


                      Your 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.


                      Switching


                      Allow 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.


                      Subscription management


                      Manage 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.


                      Subscriber account management


                      Your 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.


                      Subscription emails


                      Both 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.


                      Subscriptions Health Check


                      Stay 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.


                      Capture more residual revenue


                      Whether 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.


                      You’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.


                      How to get started


                      Download, install, and activate this extension in your
                      WooCommerce store.

                      Set up your first subscription-based product or service
                      and take it live.

                      Check out our detailed documentation to help you customize
                      your subscription products, renewal options and more.

                      Sit 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: []
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            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.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.