{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/OrderSearchPagedCollection",
"title": "OrderSearchPagedCollection",
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "The URI of the getOrders call request that produced the current page of the result set."
},
"limit": {
"type": "integer",
"description": "The maximum number of orders returned per page of the result set. The limit value can be passed in as a query parameter, or if omitted, its value defaults to 50.
Note: If this is the last or only page of the result set, the page may contain fewer orders than the limit value. To determine the number of pages in a result set, divide the total value (total number of orders matching input criteria) by this limit value, and then round up to the next integer. For example, if the total value was 120 (120 total orders) and the limit value was 50 (show 50 orders per page), the total number of pages in the result set is three, so the seller would have to make three separate getOrders calls to view all orders matching the input criteria. Default: 50",
"format": "int32"
},
"next": {
"type": "string",
"description": "The getOrders call URI to use if you wish to view the next page of the result set. For example, the following URI returns records 41 thru 50 from the collection of orders: path/order?limit=10&offset=40
This field is only returned if there is a next page of results to view based on the current input criteria.
"
},
"offset": {
"type": "integer",
"description": "The number of results skipped in the result set before listing the first returned result. This value can be set in the request with the offset query parameter.
Note: The items in a paginated result set use a zero-based list where the first item in the list has an offset of 0.
path/order?limit=10&offset=200.",
"format": "int32"
},
"warnings": {
"type": "array",
"description": "This array is returned if one or more errors or warnings occur with the call request.",
"items": {
"$ref": "#/components/schemas/Error"
}
}
},
"description": "This type contains the specifications for the collection of orders that match the search or filter criteria of a getOrders call. The collection is grouped into a result set, and based on the query parameters that are set (including the limit and offset parameters), the result set may included multiple pages, but only one page of the result set can be viewed at a time."
}