Dukan icon

Dukan

Interact with the Dukan API

Order → Get Many Orders

AI-generated

Summary

Retrieve multiple orders from Dukan with flexible filtering, sorting, pagination, and field selection.

Inputs

  • Force Custom Auth Header — Enable to use a custom API key instead of node credentials.
  • Force Custom Base URL — Enable to use a custom Base URL instead of the credentials' Base URL.
  • Custom Base URL — Specify a custom Base URL for API requests when forcing it.
  • Custom API Key — API key to send when forcing custom authentication.
  • Page Number — The page number of results to retrieve, minimum 1.
  • Limit — Maximum number of orders to return, minimum 1.
  • Sort — Fields to sort orders by, e.g. "-createdAt" for descending.
  • Populate Fields — Space separated fields to populate with related data.
  • Select Fields — Space separated fields to return for each order.
  • Offset — Number of orders to skip before starting to return results.
  • Filter — JSON string representing a MongoDB-style filter query.

Output shape

a list of order objects

Returns a paginated list of order records matching the filter, sorted and field-selected as specified. Pagination is controlled via page, limit, and offset parameters. Errors from invalid filters or connectivity issues may occur.

Examples

Example 1: Fetch first 50 orders sorted by creation date descending.

Default page=1, limit=50, sort='-createdAt', filter='{}'. No custom auth or base URL.

Links

Discussion