products Count
Requires access scope.
Count of products.
Arguments
- Anchor to limitlimit•Int
The upper bound on count value before returning a result. Use
null
to 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.
- Anchor to default•string
Filter by a case-insensitive search of multiple fields in a document.
query=Bob Norman
query=title:green hoodie
- Anchor to bundles•boolean
Filter by a product bundle. A product bundle is a set of two or more related products, which are commonly offered at a discount.
bundles:true
- Anchor to category_id•string
Filter by the product category ID (
product.category.id
). A product category is the category of a product from Shopify's Standard Product Taxonomy.category_id:sg-4-17-2-17
- Anchor to combined_listing_role•string
Filter by the role of the product in a combined listing.
parent
child
no_role
combined_listing_role:parent
- Anchor to created_at•time
Filter by the date and time when the product was created.
created_at:>'2020-10-21T23:39:20Z'
created_at:<now
created_at:<='2024'
- Anchor to delivery_profile_id•id
Filter by the delivery profile
id
field.delivery_profile_id:108179161409
- Anchor to error_feedback•string
Filter by products with publishing errors.
- Anchor to handle
Example:
Example:
Example:
Valid values:
Example:
Example:
Example: