Skip to main content

List Orders

API operation: Open the endpoint in Scalar

Use GET /orders to list orders. The current public operation is Order.findAll.orders.

Authentication is required. Without mode=dashboard, results are scoped to the caller's customer orders. Dashboard mode applies role-based access for operational users; administrators and agents have broader access.

For new-order notifications, use the Sockets reference; event names and payloads may depend on the configured integration.

const response = await ordering.orders().get();

This SDK syntax is historical. Confirm the package and version before using it.

OpenAPI reference​

Operation: GET /orders

Query parameters

NameTypeRequiredDescription
paramsstringNoComma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields.
orderBystringNoField to sort by, with - prefixed for descending order. Multiple fields can be chained with commas.
wherestringNoJSON filter over the fields the model declares as filterable. Valid fields for each resource are exposed in its x-ordering-whereable schema extension.
pageintegerNoPage number, starting at 1. Applies only to lists that return a pagination block.
page_sizeintegerNoNumber of items per page.
business_idintegerNo—
customer_phonestringNo—
limitintegerNo—
modestringNo—
scopestringNo—

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference