Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

query

Requires read_draft_orders access scope.

Returns the number of draft orders that match the query. Limited to a maximum of 10000.

The upper bound on count value before returning a result.

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Anchor to default
string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
Anchor to created_at
time
Anchor to customer_id
id
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
string
string
string
string
Anchor to updated_at
time

The ID of an existing saved search. The search’s query string is used as the query argument. Refer to the SavedSearch object.


Was this section helpful?

Details for count of elements.


Was this section helpful?