Get order
get_orderRetrieve a Breww order or invoice by ID, including line items, totals, statuses, delivery details and notes; optionally include contact details and invoice PDF links.
Instructions
One order/invoice in full: lines (product, quantity, dispatched, returned, unit price, discount, value, tax, total), adjustment lines (delivery, deposits), totals, statuses, delivery, notes. Billing and delivery addresses, the contact email and the invoice PDF and customer links only with include_contact_details; payment records are never returned. Uses GET /orders/{id}/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID (a positive whole number) | |
| include_contact_details | No | Include billing and delivery addresses, the contact email, staff names, the invoice PDF and customer-facing links, and unredacted notes. Off by default. |