get
https://{store}/api/rest/sales2/orders/list
Filtering this colleciton requires and attribute and a value.
| Action | Data Type | Description |
|---|---|---|
eq | string | Is Equal To |
neq | string | Is NOT Equal To |
like | string | Is Like |
nlike | string | Is Not Like |
in | array | Is In |
nin | array | Is NOT In |
null | boolean | Is NULL |
notnull | boolean | Is NOT NULL |
gt | string | Is Greater Than |
gte | string | Is Greater Than OR Equal To |
lt | string | Is Less Than |
lte | string | Is Less Than OR Equal To |
How To Filter A Data Type in Query
Filtering on multiple values for the same data will require that you index the values as shown in the 'array' row of this table.
| DataType | Query | Description |
|---|---|---|
| string | ?increment_id=10000001&email=[email protected] | Filter this collection where increment_id is equal to 10000001 and email is equal to [email protected] (Default) |
| string | ?firstname[neq]=test | firstname does not equal test |
| array | ?email[in][0]=[email protected]&email[in][1]=[email protected] | Filter this collection where the email is either [email protected] or [email protected] |
| boolean | ?email[null]=true | Filter this collection where the email is null. |
| string | ?created_at[gt]=2021-12-13 | Filter this collection for Orders created at greater than 2021-12-13 - can also use updated_at |
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
