Skip to content

feat: batch milestone note retrieval across multiple shipments #479

Description

@shakurJJ

Summary

get_milestone_notes returns notes for one shipment/milestone at a time. A supplier or admin dashboard covering many shipments has to call it once per shipment. This proposes a batch query.

Proposed Behaviour

  • New read-only function accepting a list of shipment IDs and returning each shipment's milestone notes together.
  • No change to how notes are written (add_milestone_note unchanged); this is a query-side convenience only.

Acceptance Criteria

  • New batch query returns notes for multiple shipments in one call
  • Behaviour for a single shipment matches what get_milestone_notes returns today
  • Handles a mix of shipments with and without notes
  • Tests cover single, multiple, and empty-notes cases

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions