Skip to main content
Permission: Read · Workspace: required (from goody_workspaces_list) Lists individual orders — one per recipient. Without order_batch_id, it lists all orders in the workspace, newest first. With it, it lists the orders in that batch, oldest first.

Parameters

workspace_id
string
required
Workspace UUID — from goody_workspaces_list. Listing is always scoped to this workspace.
order_batch_id
string
Optional filter to one batch — from goody_order_batches_list. Omit to list all orders in the workspace.
page
integer
default:"1"
Page number, starting at 1.
per_page
integer
default:"25"
Orders per page. Defaults to 25, max 100.

Returns

orders
object[]
The matching orders, one per recipient.
total_count
integer
Total number of orders across all pages.

Example

"Who received the gifts in that batch?"
You’ll get a not-found error if order_batch_id references a batch outside the resolved workspace.
For the batch as a whole — cart, “From” name, send timing — use goody_order_batches_get; to cancel an order that hasn’t been accepted yet, use goody_orders_cancel.