Sunday, December 9, 2018

Add an Item Fulfillment with Serialized Item using Web Services

To Add an Item Fulfillment with a Serialized Item, you have to add the "inventoryNumber" on the request. You need to set the internalId of the Inventory Number rather than the actual Lot or Serial number. Please see sample SOAP Request body segment below:

<platformMsgs:add>
   <platformMsgs:record xsi:type="s0:ItemFulfillment">
      <s0:createdFrom internalId="6722" />
      <s0:shipStatus>_shipped</s0:shipStatus>
      <s0:shippingCost>0.0</s0:shippingCost>
      <s0:itemList>
          <s0:item>
              <s0:itemReceive>true</s0:itemReceive>
              <s0:location internalId="1" />
              <s0:inventoryDetail>
                  <platformCommon:inventoryAssignmentList>
                     <platformCommon:inventoryAssignment>
                        <platformCommon:issueInventoryNumber type="inventoryNumber" internalId="7" />
                     </platformCommon:inventoryAssignment>
                  </platformCommon:inventoryAssignmentList>
              </s0:inventoryDetail>
              <s0:item internalId="37" />
              <s0:orderLine>1</s0:orderLine>
          </s0:item>
      </s0:itemList>
   </platformMsgs:record>
</platformMsgs:add>

No comments:

Post a Comment