younifyd
Menu

pendingOrdersCount

The number of pendings orders. Limited to a maximum of 10000.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the pendingOrdersCount action (under Pending).
  3. Fill in the fields below, then reference the result from later steps as {{pendingorderscount.response.data}}.

Query

This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
query PendingOrdersCount {
  pendingOrdersCount {
    count
    precision
  }
}

Response

Read the result with {{pendingorderscount.response.data.data.pendingOrdersCount}}. If the API returns errors, the step fails and they are at {{pendingorderscount.response.data.errors}}.

countnumber
precisionstring

One ofEXACTAT_LEAST

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

pendingOrdersCount — Shopify — Documentation