# Accuracy of orders\_count Variable

Shopify currently has a known issue with their [Customer API](https://shopify.dev/docs/api/admin-rest/2024-01/resources/customer#resource-object) that doesn't consistently reflect the most up-to-date information for a Customer's Order related info. This issue typically affects the Customer orders\_count variable in workflows and will (sometimes) cause issues with workflows that filter for a Customer's order count to proceed to the next step.

If you have a workflow that relies on a Customer's order count, please note that there may be times where this issue affects the automation from accurately processing a workflow. You can find more information on this issue in this Shopify Forum discussion: [Customer Order Related Fields Out-of-Date](https://community.shopify.com/c/customers-discounts-and-orders/customer-order-related-fields-such-as-orders-count-total-spent/td-p/2158360)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getmesa.com/connect/shopify/technical-notes/accuracy-of-orders_count-variable.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
