capabilities.work

Create Order with Note

A 3-step recipe with WooCommerce. We can help you get access.

Recipe · 3 steps

Create Order with Note

Create an order, attach a note to it, and confirm the order.

  1. Create an order with a single product line item.
  2. Attach a note to the order, optionally making it visible to the customer.
  3. Retrieve the order to confirm it persisted after the note was attached.
What you'll need to have ready
  • productId: ID of the product to add as a line item on the order.
  • quantity: Quantity of the product to order.
  • noteText: Content of the note to attach to the order.
  • customerNote: Whether the note should be visible to the customer.
For your developer

Arazzo workflow woocommerce:create-order-with-note, 3 operations: createOrder → createOrderNote → getOrder. Specs on APIs.io.