WooCommerce · Arazzo Workflow

WooCommerce Create Order with Note

Version 1.0.0

Place an order and attach an internal or customer-facing note to it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub E-CommerceOpen-SourceOrderProductWordPressArazzoWorkflows

Provider

woocommerce

Workflows

create-order-with-note
Create an order, attach a note to it, and confirm the order.
Creates an order, adds an order note, and reads the order back to verify it was stored.
3 steps inputs: customerNote, noteText, productId, quantity outputs: noteId, orderId, orderStatus
1
createOrder
Create an order with a single product line item.
2
addNote
Attach a note to the order, optionally making it visible to the customer.
3
getOrder
Retrieve the order to confirm it persisted after the note was attached.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: WooCommerce Create Order with Note
  summary: Place an order and attach an internal or customer-facing note to it.
  description: >-
    Records an order and annotates it for the fulfillment team or the buyer.
    The workflow creates an order with a line item, then attaches a note to that
    order, and finally retrieves the order to confirm it persisted. Every step
    spells out its request inline so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: orderNotesApi
  url: ../openapi/woocommerce-order-notes-api-openapi.yml
  type: openapi
- name: ordersApi
  url: ../openapi/woocommerce-orders-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-order-with-note
  summary: Create an order, attach a note to it, and confirm the order.
  description: >-
    Creates an order, adds an order note, and reads the order back to verify it
    was stored.
  inputs:
    type: object
    required:
    - productId
    - quantity
    - noteText
    properties:
      productId:
        type: integer
        description: ID of the product to add as a line item on the order.
      quantity:
        type: integer
        description: Quantity of the product to order.
      noteText:
        type: string
        description: Content of the note to attach to the order.
      customerNote:
        type: boolean
        description: Whether the note should be visible to the customer.
  steps:
  - stepId: createOrder
    description: >-
      Create an order with a single product line item.
    operationId: createOrder
    requestBody:
      contentType: application/json
      payload:
        status: processing
        line_items:
        - product_id: $inputs.productId
          quantity: $inputs.quantity
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      orderId: $response.body#/id
  - stepId: addNote
    description: >-
      Attach a note to the order, optionally making it visible to the customer.
    operationId: createOrderNote
    parameters:
    - name: order_id
      in: path
      value: $steps.createOrder.outputs.orderId
    requestBody:
      contentType: application/json
      payload:
        note: $inputs.noteText
        customer_note: $inputs.customerNote
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      noteId: $response.body#/id
  - stepId: getOrder
    description: >-
      Retrieve the order to confirm it persisted after the note was attached.
    operationId: getOrder
    parameters:
    - name: id
      in: path
      value: $steps.createOrder.outputs.orderId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      orderId: $response.body#/id
      orderStatus: $response.body#/status
  outputs:
    orderId: $steps.getOrder.outputs.orderId
    noteId: $steps.addNote.outputs.noteId
    orderStatus: $steps.getOrder.outputs.orderStatus

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow 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 workflow
curl "https://apis.io/api/v1/arazzo/woocommerce-create-order-with-note-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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