WooCommerce · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for WooCommerce REST Product Variations API

6 actions 6 updates phrasing extends openapi/woocommerce-product-variations-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for WooCommerce's API. It is a proposal applied on top of the contract, not a document WooCommerce publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/products/{product_id}/variations'].get
$.paths['/products/{product_id}/variations'].post
$.paths['/products/{product_id}/variations/{id}'].get
$.paths['/products/{product_id}/variations/{id}'].put
$.paths['/products/{product_id}/variations/{id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for WooCommerce REST Product Variations API
  version: 1.0.0
extends: openapi/woocommerce-product-variations-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/products/{product_id}/variations'].get
  update:
    x-apievangelist-phrasing:
      intent: List the variations of a variable product
      effect: read
      questions:
      - What sizes and colours are available for a variable product?
      - Can I page through all variations of a parent product?
      instructions:
      - text: List all variations of product {product_id}.
        slots:
          product_id: path.product_id
      - text: Show page {page} of variations for product {product_id}, {per_page} per page.
        slots:
          page: query.page
          product_id: path.product_id
          per_page: query.per_page
      method: generated
      generated: '2026-11-16'
- target: $.paths['/products/{product_id}/variations'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a variation to a variable product
      effect: write
      questions:
      - How do I add a new size or colour variation to a variable product?
      - Can I set a sale price and stock on a new variation?
      instructions:
      - text: Create a variation for product {product_id} with attributes {attributes}.
        slots:
          product_id: path.product_id
          attributes: requestBody.attributes
      - text: Add a variation to product {product_id} priced at {regular_price} with SKU {sku}.
        slots:
          product_id: path.product_id
          regular_price: requestBody.regular_price
          sku: requestBody.sku
      method: generated
      generated: '2026-11-16'
- target: $.paths['/products/{product_id}/variations/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one variation of a variable product
      effect: read
      questions:
      - What price and stock does a specific variation have?
      - Can I look up a single variation by its ID?
      instructions:
      - text: Get variation {id} of product {product_id}.
        slots:
          id: path.id
          product_id: path.product_id
      - text: Show the details of variation {id} on product {product_id}.
        slots:
          id: path.id
          product_id: path.product_id
      method: generated
      generated: '2026-11-16'
- target: $.paths['/products/{product_id}/variations/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a variation of a variable product
      effect: write
      questions:
      - Can I change the sale price of an existing variation?
      - Does updating a variation overwrite only the fields I send?
      instructions:
      - text: Update variation {id} of product {product_id} with attributes {attributes}.
        slots:
          id: path.id
          product_id: path.product_id
          attributes: requestBody.attributes
      - text: Set the sale price of variation {id} on product {product_id} to {sale_price}.
        slots:
          id: path.id
          product_id: path.product_id
          sale_price: requestBody.sale_price
      method: generated
      generated: '2026-11-16'
- target: $.paths['/products/{product_id}/variations/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a variation from a variable product
      effect: destructive
      questions:
      - How do I remove a variation I no longer sell?
      - Can I permanently delete a variation instead of trashing it?
      instructions:
      - text: Delete variation {id} from product {product_id}.
        slots:
          id: path.id
          product_id: path.product_id
      - text: Permanently remove variation {id} on product {product_id} with force {force}.
        slots:
          id: path.id
          product_id: path.product_id
          force: query.force
      method: generated
      generated: '2026-11-16'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/woocommerce-product-variations-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.