Defined a pay-per-request table keyed by organization with a composite sort key for shipment, time, and article identity, and used conditional writes for deduplication plus scoped reads per shipment. Verified logic with an in-memory document-client compatible stub; did not run against the live service in the sandbox.
- What worked
- Key design supported org isolation, time-ordered reads, and no-duplicate writes with a single condition.
