Anchor to productVariantsCountproduct
queryproduct Variants Count
Requires access scope.
Count of product variants. Limited to a maximum of 10000 by default.
Anchor to Arguments
Arguments
- limit (Int)
- query (String)
- Anchor to limitlimit•IntDefault:10000
The upper bound on count value before returning a result. Use
nullto have no limit.- Anchor to queryquery•String
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.
Show filters
- Anchor to created_at•time
Filter by creation date and time.
created_at:>'2020-10-21T23:39:20Z'created_at:<nowcreated_at:<='2024'
Example:
Was this section helpful?
Anchor to Possible returnsPossible returns
- Count (Count)
- Anchor to CountCount•Count
A numeric count with precision information indicating whether the count is exact or an estimate.
Show fields
- Anchor to countcount•Int!non-null
The count of elements.
- Anchor to precisionprecision•Count
Precision! non-null The count's precision, or the exactness of the value.
Show enum values
Was this section helpful?