Skip to content

feat(client): list_orders updated_since filter #33

@dougborg

Description

@dougborg

Problem

Incremental sync workflows (Katana → StatusPro reconciliation, change-tracking dashboards, "what moved overnight" reports) need a "show me everything that changed since last sync" filter. Today the only time-based knobs on list_orders are due_date_from / due_date_to, which is a different axis (when the order is due, not when it was last updated).

Proposed shape

GET /orders?updated_since=2025-01-01T00:00:00Z

Returns orders whose server-tracked updated_at (or equivalent) is >= the given ISO 8601 timestamp.

Open questions

Acceptance

  • OpenAPI spec adds updated_since query parameter to GET /orders
  • Generated client supports it
  • Orders.list(updated_since=…) helper kwarg
  • MCP list_orders tool exposes it
  • Test verifying orders with updated_at before the boundary are excluded
  • Help resource updated

Depends on

Tracking

Part of epic #31, Tier 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/clientTouches statuspro_public_api_client/area/mcpTouches statuspro_mcp_server/ onlyarea/specTouches docs/statuspro-openapi.yamlpriority/p0Blocks reconciliation workflow todaytheme/tool-surface-redesignMCP tool surface redesign initiative

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions