DeleteInboundShipmentItems

Description

The DeleteInboundShipmentItems operation removes line items from a pre-existing shipment specified by the ShipmentId. This operation removes the items specified in each MerchantSKU parameter from the shipment in their entirety, no matter the quantity. If the MerchantSKU is not currently a part of the shipment, then that particular line item is ignored, but others are still processed.

Call PutInboundShipment to create the shipment to be worked on. This call returns an exception if you attempt to remove line items from a shipment that is in any status other than Working.

Request Parameters

NameDescriptionRequired

ShipmentId

The shipment identifier for your shipment.

Type: String

Default: None

Constraints: Must be a valid shipment identifier from GetInboundShipmentPreview.

Yes

MerchantSKU

The merchant stock keeping unit (SKU) is the unique product identifier you assign for each product in your inventory. The SKU must be distinct from any other product you list.

Type: String

Default: None

Yes

Response Elements

The DeleteInboundShipmentItems operation only returns the metadata described in the following table:

NameDescription

RequestId

This operation returns a RequestId upon success. Otherwise an explicit error is returned.

Type: String

Examples

Example SOAP Request

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
        <aws:AWSAccessKeyId
            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
            soapenv:mustUnderstand="0"
            xmlns:aws="http://security.amazonaws.com/doc/2007-01-01/"
            >1QZHP81N5R44N89PWYR2</aws:AWSAccessKeyId>
        <aws:Signature
            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
            soapenv:mustUnderstand="0"
            xmlns:aws="http://security.amazonaws.com/doc/2007-01-01/"
            >MRCblEvMaUUtKi6T4o2jk3YiNoc=</aws:Signature>
        <aws:Timestamp
            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
            soapenv:mustUnderstand="0"
            xmlns:aws="http://security.amazonaws.com/doc/2007-01-01/"
            >2009-02-21T02:40:33Z</aws:Timestamp>
    </soapenv:Header>
    <soapenv:Body>
        <DeleteInboundShipmentItems
            xmlns="http://fba-inbound.amazonaws.com/doc/2007-05-10/">
            <ShipmentId>SSFI9ASOZZJH0V</ShipmentId>
            <MerchantSKU>ssof_dev_drt_afn_item</MerchantSKU>
        </DeleteInboundShipmentItems>
    </soapenv:Body>
</soapenv:Envelope>

Example Query Request

https://fba-inbound.amazonaws.com/
?Action=DeleteInboundShipmentItems
&Version=2007-05-10
&AWSAccessKeyId=1QZHP81N5R44N89PWYR2
&Signature=MRCblEvMaUUtKi6T4o2jk3YiNoc=
&Timestamp=2009-02-21T02:40:33Z
&ShipmentId=SSFI9ASOZZJH0V
&MerchantSKU=ssof_dev_drt_afn_item

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns1:DeleteInboundShipmentItemsResponse
            xmlns:ns1="http://fba-inbound.amazonaws.com/doc/2007-05-10/">
            <ns1:ResponseMetadata>
                <ns1:RequestId>4dfbab7c-04fe-434b-8b83-7f4457997893</ns1:RequestId>
            </ns1:ResponseMetadata>
        </ns1:DeleteInboundShipmentItemsResponse>
    </soapenv:Body>
</soapenv:Envelope>