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.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for WooCommerce Store Checkout API
version: 1.0.0
extends: openapi/woocommerce-checkout-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: 4
- target: $.paths['/checkout'].get
update:
x-apievangelist-phrasing:
intent: Get the current checkout state
effect: read
questions:
- What does the customer's cart look like at checkout?
- Which payment methods are available to the shopper right now?
instructions:
- text: Show the current checkout state.
- text: Get the cart contents and available payment methods for the shopper.
method: generated
generated: '2026-11-16'
- target: $.paths['/checkout'].post
update:
x-apievangelist-phrasing:
intent: Place an order from the checkout form
effect: write
questions:
- How do I submit a checkout form and create an order?
- What do I need to send to place an order, like billing address and payment method?
- Can I create a customer account during checkout?
instructions:
- text: Place an order with payment method {payment_method}.
slots:
payment_method: requestBody.payment_method
- text: Submit the checkout form with billing address {billing_address} and payment method {payment_method}.
slots:
billing_address: requestBody.billing_address
payment_method: requestBody.payment_method
- text: Create an order with note {customer_note} and payment method {payment_method}.
slots:
customer_note: requestBody.customer_note
payment_method: requestBody.payment_method
method: generated
generated: '2026-11-16'
- target: $.paths['/checkout/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get an order placed through checkout
effect: read
questions:
- Can I fetch an order a customer placed through checkout?
- Who is allowed to read a checkout order?
instructions:
- text: Get checkout order {id}.
slots:
id: path.id
- text: Show the order placed through checkout with ID {id}.
slots:
id: path.id
method: generated
generated: '2026-11-16'
- target: $.paths['/checkout/{id}'].put
update:
x-apievangelist-phrasing:
intent: Update a pending checkout order
effect: write
questions:
- Can I change the billing address on an order before payment is confirmed?
- How do I switch the payment method on a pending checkout order?
instructions:
- text: Update pending checkout order {id} to payment method {payment_method}.
slots:
id: path.id
payment_method: requestBody.payment_method
- text: Change the billing address on pending order {id} to {billing_address}.
slots:
id: path.id
billing_address: requestBody.billing_address
method: generated
generated: '2026-11-16'
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.