First or Last parameter is required.
External DocumentationTo learn more, visit the Shopify documentation.
Basic Parameters
| Parameter | Description |
|---|---|
| First | The first n elements from the paginated list. To use this action, either the First or Last parameter is required. |
| Last | The last n elements from the paginated list. To use this action, either the First or Last parameter is required.Note: When using the Last parameter, Before parameter is required. |
| Query | A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. The valid filters are: * Case-insensitive search of multiple fields in a document, for example: Bob Norman, title:green hoodie.* id* email* phone* updated_atFor example: * Get all users from Canada: country:canada* Get all users created after 2019-12-01: updated_at:>2019-12-01* Get all users from Canada that created after 2019-12-01: country:canada AND updated_at:>2019-12-01Note: For more information about the query parameter, visit Shopify API search syntax. |
| Reverse | When checked, the underlying list order is reversed. |
| Sort Key | Sort the underlying list using a key. Note: If your query is slow or returns an error, try specifying a sort key that matches the field used in the Query parameter. |
Advanced Parameters
| Parameter | Description |
|---|---|
| After | Get elements after a specific cursor. Cursor values are available in the pageInfo object of each paginated response. |
| Before | Get elements before a specific cursor. Cursor values are available in the pageInfo object of each paginated response. |