Guest Order with Note and Refund
A 3-step recipe with WooCommerce. We can help you get access.
Recipe · 3 steps
Guest Order with Note and Refund
with WooCommerce
Create a guest order, add a note, and refund it.
- Create a guest order (customer_id zero) with a single product line item.
- Attach an internal note to the order documenting the situation.
- Issue a refund against the order for the supplied amount.
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: Internal note documenting the order or refund.
- refundAmount: Amount to refund as a decimal string.
- refundReason: Optional reason for the refund.
For your developer
Arazzo workflow woocommerce:guest-order-note-refund, 3 operations: createOrder → createOrderNote → createOrderRefund. Specs on APIs.io.