title: Acumatica Shipment Allocation
body: <p>Has anyone tried a shipment stock allocation by API? This area of Acu seems to operate different than other parts. Updating a &quot;Shipment&quot; document does not seem to fully manage packages or allocations, rather minimal adjustments to existing sub-sections.</p>
  <ul>
  <li>Packages are created if missing an ID value as you would expect, but the absence of a package on update never removes it.</li>
  <li>Packages can be updating with an ID value as you would expect, unless its the &quot;auto&quot; created package, then the ID value is ignored and a new package is created.</li>
  <li>Package weight values are ignored on update.</li>
  <li>Details (stock items) do not appear to be created by the PUT api, and the ID value seems to be a required field.</li>
  <li>Details stock count values and weight values are ignored on update.</li>
  <li>Detail Assignments are ignored unless the shipped quantity value is set by the UI.</li>
  <li>Detail Assignments can be removed by clearing the array, but can only be put back if something else has set the shipped quantity value.</li>
  </ul>
  <p>I could very well have made multiple mistakes here, which is why I'm looking for any advice from the community.</p>