Sha256: 815569a0eae236feae00f18bd6bd679cd96369fb4a8e18f6af252d4fd67e4314

Contents?: true

Size: 1.8 KB

Versions: 9

Compression:

Stored size: 1.8 KB

Contents

# SquareConnect::SearchOrdersRequest

### Description

The request does not have any required fields. When given no query criteria, SearchOrders will return all results for all of the merchant’s locations. When fetching additional pages using a `cursor`, the `query` must be equal to the `query` used to fetch the first page of results.

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**location_ids** | **Array<String>** | The location IDs for the orders to query. The caller must have access to all provided locations.  Min: 1 `location_ids`. Max: 10 `location_ids`. | [optional] 
**cursor** | **String** | A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for your original query. See [Pagination](/basics/api101/pagination) for more information. | [optional] 
**query** | [**SearchOrdersQuery**](SearchOrdersQuery.md) | Query conditions used to filter or sort the results. Note that when fetching additional pages using a `cursor`, the `query` must be equal to the `query` used to fetch the first page of results. | [optional] 
**limit** | **Integer** | Number of results to be returned in a single page. SearchOrders may use a smaller limit than specified depending on server load. If the response includes a `cursor` field, you can use it to retrieve the next set of results. Default: `500` | [optional] 
**return_entries** | **BOOLEAN** |  If set to `true`, SearchOrders will return [`OrderEntry`](#type-orderentry) objects instead of `Order` objects. `OrderEntry` objects are lightweight descriptions of orders that include `order_id`s.  Default: `false`. | [optional] 


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
square_connect-2.20190724.1.334 docs/SearchOrdersRequest.md
square_connect-2.20190724.0.331 docs/SearchOrdersRequest.md
square_connect-2.20190724.0.330 docs/SearchOrdersRequest.md
square_connect-2.20190724.0.325 docs/SearchOrdersRequest.md
square_connect-2.20190710.0.321 docs/SearchOrdersRequest.md
square_connect-2.20190612.1.314 docs/SearchOrdersRequest.md
square_connect-2.20190612.0.311 docs/SearchOrdersRequest.md
square_connect-2.20190612.0.309 docs/SearchOrdersRequest.md
square_connect-2.20190508.0.304 docs/SearchOrdersRequest.md