Creating shipments via api and editing numbers


#1

I am currently trying to create a system that tells us where amazon wants something to go when we receive the inventory into our system. I am currently trying to accomplish this by receiving inventory and calling CreateInboundShipmentPlan to see where it is to go and using the returned information to create the shipment(s).

The issue is that we often receive inventory in batches so in this example lets say I receive 3 skus

SKU A - QTY 10
SKU B - QTY 10
SKU C - QTY 10

I call CreateInboundShipmentPlan and Amazon splits it as follows
ShipmentID: FBA000001 Destination: FC1
SKU A - QTY 8
SKU B - QTY 8
SKU C - QTY 8

ShipmentID: FBA000002 Destination: FC2
SKU A - QTY 2
SKU B - QTY 2
SKU C - QTY 2

I then receive the following inventory (notice that SKU A is repeated from above)
SKU D - QTY 10
SKU A - QTY 10

I then call CreateInboundShipmentPlan and lets says it splits it as follows
ShipmentID: FBA000003 Destination: FC1
SKU D - QTY 8
SKU A - QTY 8

ShipmentID: FBA000004 Destination: FC2
SKU D - QTY 2
SKU A - QTY 2

In the end, I end up with a total of
SKU A - QTY 16 (going to FC1) QTY 4 (going to FC2)
SKU B - QTY 8 (going to FC1) QTY 2 (going to FC2)
SKU C - QTY 8 (going to FC1) QTY 2 (going to FC2)
SKU D - QTY 8 (going to FC1) QTY 2 (going to FC2)

Assuming that they are all the same label type can I use the original 2 ShipmentIDs with the combined qtys to call CreateInboundShipment, or would I have to create 4 separate shipments going to two locations?

Thank you for your time please let me know if anything is unclear or if more information is needed.