Skip to content

List Orders

Lists every order across all customers — the data behind the admin Sales → Orders screen.

Endpoint

EndpointMethod
/api/admin/ordersGET

Response envelope

Admin collections return a { data, meta } body envelope:

  • data — the slim order rows for this page.
  • metacurrentPage, perPage, lastPage, total, from, to.

Each row is slim — flat order fields plus a light items preview (name / sku / qty / thumbnail) for the listing badge. Heavy relations (full items, invoices, shipments) are served by the order detail endpoint, not the listing.

Query parameters

ParameterDescription
page, per_pagePagination (per_page default 10, max 50)
order_idOrder increment ID — partial match
statuspending, pending_payment, processing, completed, canceled, closed, fraud
grand_totalExact grand total (matched against the base grand total)
grand_total_from, grand_total_toGrand total range (minimum / maximum)
channelChannel ID
customerCustomer name — partial match
emailCustomer email — partial match
date_rangePreset: today, yesterday, this_week, this_month, last_month, last_three_months, last_six_months, this_year
date_from, date_toCustom date range (Y-m-d) — overrides date_range
sort, orderSort field + asc/desc (default created_at desc)

Every /api/admin/* request requires an admin Bearer token.

Released under the MIT License.