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_gift_cards access scope.

The total number of gift cards issued for the shop. Limited to a maximum of 10000.

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

Searched fields: code.

Example:

  • query=Bob Norman
  • query=title:green hoodie
Anchor to balance_status
string

Valid values:

  • full
  • partial
  • empty
  • full_or_partial

Example:

  • balance_status:full
Anchor to created_at
time

Example:

  • created_at:>=2020-01-01T12:00:00Z
Anchor to expires_on
date

Example:

  • expires_on:>=2020-01-01
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to initial_value
string

Example:

  • initial_value:>=100
string

Valid values:

  • manual
  • purchased
  • api_client

Example:

  • source:manual
string

Valid values:

  • disabled
  • enabled
  • expired
  • expiring

Example:

  • status:disabled OR status:expired

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?