Skip to main content
Anchor to abandonedCheckoutsCount

abandonedCheckoutsCount

query

Requires read_orders access scope. Also: The user must have manage_abandoned_checkouts permission.

Returns the count of abandoned checkouts for the given shop. Limited to a maximum of 10000 by default.

•Int
Default:10000

The upper bound on count value before returning a result. Use null to have no limit.

•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.

Example:

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

The date and time (in ISO 8601 format) when the abandoned cart was created.

Anchor to email_state
•string

Filter by abandoned_email_state value. Possible values: sent, not_sent, scheduled and suppressed.

•id

Filter by id range.

Example:

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

Possible values: recovered and not_recovered.

•string

Possible values: open and closed.

Anchor to updated_at
•time

The date and time (in ISO 8601 format) when the abandoned cart was last updated.

•ID

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?

•Count

Details for count of elements.


Was this section helpful?