magento · Schema

OrderSearchResults

Paginated search results containing a list of orders.

Properties

Name Type Description
items array Array of order objects matching the search criteria.
search_criteria object The search criteria applied.
total_count integer Total number of matching orders across all pages.
View JSON Schema on GitHub

JSON Schema

magento-ordersearchresults-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderSearchResults",
  "title": "OrderSearchResults",
  "type": "object",
  "description": "Paginated search results containing a list of orders.",
  "properties": {
    "items": {
      "type": "array",
      "description": "Array of order objects matching the search criteria.",
      "items": {
        "$ref": "#/components/schemas/Order"
      }
    },
    "search_criteria": {
      "type": "object",
      "description": "The search criteria applied."
    },
    "total_count": {
      "type": "integer",
      "description": "Total number of matching orders across all pages."
    }
  }
}