Skip to content

fix(platform): count every Shopify order in count_orders #5344

Open

Description

@tale-code-bot

Status quo. Shopify's count_orders promises every order but counts only the open ones, at main ee8e36b49dbb1aae0e09a6cd4aaf3b56974f55c6:

Shopify's reference for "Retrieve an order count" gives the status parameter the default open, with the values open, closed and any. Its example "Count all orders" passes status=any. Called without it, the action leaves closed and cancelled orders out of the count, which an agent then reports as the store's total.

Asked.

  • Make the count and the description agree: pass status=any so the action counts every order, as its description says.
  • If a caller should also count open or closed orders alone, give the action an optional status input, the same one list_orders takes, with any as the default its description names.
  • list_orders' own status input (L270) does not say that leaving it out lists only open orders. Say so there in the same change.
  • Once feat(platform): ship scenarios for the Shopify connector #5320's scenarios have landed, count_orders' proofs in SCENARIO_PROOFS answer the request the action then makes.

Found while shipping Shopify's scenarios (#5320, task TALE-412).

Activity

  1. added
    agent-ready
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readybugservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions