Amazon Marketplace Web Service (MWS) will no longer be available after March 31, 2024. All MWS developers must migrate to Selling Partner API (SP-API) to avoid service disruptions. Refer to the Migration Hub for more information.
Cancels one or more feed submissions and returns a count of the feed submissions that were canceled.
The CancelFeedSubmissions operation cancels one or more feed submissions and returns a count of the canceled feed submissions and the feed submission information. Note that if you do not specify a FeedSubmmissionId, all feed submissions are canceled.
Information is returned for the first 100 feed submissions in the list. To return information for more than 100 canceled feed submissions, use the GetFeedSubmissionList operation.
If a feed has begun processing, it cannot be canceled.
This operation is available in all marketplaces.
Maximum request quota | Restore rate | Hourly request quota |
---|---|---|
10 requests | One request every 45 seconds | 80 requests per hour |
For more information about the request parameters that are required for all Amazon MWS operations, see Required request parameters in the Amazon MWS Developer Guide.
Name | Description | Required | Valid values |
---|---|---|---|
FeedSubmissionIdList | A structured list of FeedSubmmissionId values. If you pass in FeedSubmmissionId values in a request, other query conditions are ignored. | No | Default: All Type: xs:string |
FeedTypeList | A structured list of one or more FeedType values by which to filter the list of feed submissions. | No | Default: All feed types Type: xs:string |
SubmittedFromDate | The earliest submission date that you are looking for, in ISO8601 date format. | No | Default: 180 days ago
Type: xs:dateTime |
SubmittedToDate | The latest submission date that you are looking for, in ISO8601 date format. | No | Default: Now
Type: xs:dateTime |
Name | Description | Required | Valid values |
---|---|---|---|
Count | The total number of feed submissions that match the request parameters. | Yes | Type: xs:nonNegativeInteger |
FeedSubmissionInfo | Detailed information about a feed that was canceled. | No | Type: FeedSubmissionInfo |
For more information about the request parameters that are required for all Amazon MWS operations, see Required request parameters in the Amazon MWS Developer Guide.
POST /Feeds/2009-01-01 HTTP/1.1 Content-Type: x-www-form-urlencoded Host: mws.amazonservices.com User-Agent: <Your User Agent Header> AWSAccessKeyId=0PExampleR2 &Action=CancelFeedSubmissions &FeedSubmissionIdList.Id.1=1058369303 &FeedTypeList.Type.1=_POST_PRODUCT_DATA_ &FeedTypeList.Type.2=_POST_PRODUCT_PRICING_DATA_ &MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE &Marketplace=ATExampleER &SellerId=A1ExampleE6 &SignatureMethod=HmacSHA256 &SignatureVersion=2 &Timestamp=2009-02-04T17%3A34%3A14.203Z &Version=2009-01-01 &Signature=0RExample0%3D
Amazon MWS returns an XML file that contains the response to a successful request or subscription. If the request is unsuccessful, the main response element is ErrorResponse. For more information, see Response format in the Amazon MWS Developer Guide.
<?xml version="1.0"?> <CancelFeedSubmissionsResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"> <CancelFeedSubmissionsResult> <Count>1</Count> <FeedSubmissionInfo> <FeedSubmissionId>2291326430</FeedSubmissionId> <FeedType>_POST_PRODUCT_DATA_</FeedType> <SubmittedDate>2009-02-20T02:10:35+00:00</SubmittedDate> <FeedProcessingStatus>_CANCELLED_</FeedProcessingStatus> </FeedSubmissionInfo> </CancelFeedSubmissionsResult> <ResponseMetadata> <RequestId>18e78983-bbf9-43aa-a661-ae7696cb49d4</RequestId> </ResponseMetadata> </CancelFeedSubmissionsResponse>