Done
Details
Assignee
Owen StephensOwen StephensReporter
Owen StephensOwen StephensPriority
P3Sprint
NoneDevelopment Team
BienenvolkRelease
Sunflower (R1 2025)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Owen Stephens
Owen StephensReporter
Owen Stephens
Owen StephensPriority
Sprint
None
Development Team
Bienenvolk
Release
Sunflower (R1 2025)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 7, 2025 at 11:53 AM
Updated March 7, 2025 at 4:53 PM
Resolved March 7, 2025 at 4:53 PM
A new API is available supporting the creation of many receiving pieces via a single API call. We should migrate our current receiving piece creation (which requires an API call for each piece created) to using this new process.
There is a single parameter for item creation (as currently this is a param on the API call) but all other fields can be set per item
Documentation at https://s3.amazonaws.com/foliodocs/api/mod-orders/r/pieces-batch.html#orders_pieces_batch_post
Work on this story should include:
Ensuring that the batch creation works well for up to 366 pieces (the maximum we currently allow in a single predicted piece set)
Adding or updating any interface dependencies we declare if necessary
Ensuring that we are able to reliably match the receiving pieces listed in the response to our predicted pieces, so we can store the IDs as currently