HomeDocumentationCode SamplesAPI ReferenceAnnouncementsModelsRelease NotesFAQGitHubVideos
Developer HubAPI StatusSupport
Documentation
Developer HubAPI StatusSupport

Feeds API v2021-06-30 Reference

Upload data to Amazon to manage a selling business.

Overview

The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.

Version information

Version : 2021-06-30

Contact information

Contact : Selling Partner API Developer Support
Contact URL : https://sellercentral.amazon.com/gp/mws/contactus.html

License information

License : Apache License 2.0
License URL : http://www.apache.org/licenses/LICENSE-2.0

URI scheme

Host : sellingpartnerapi-na.amazon.com
Schemes : HTTPS

Consumes

  • application/json

Produces

  • application/json

Operations

getFeeds
createFeed
getFeed
cancelFeed
createFeedDocument
getFeedDocument

Paths

GET /feeds/2021-06-30/feeds

Operation: getFeeds

Description

Returns feed details for the feeds that match the filters that you specify.

Usage Plan:

Rate (requests per second)Burst
0.022210

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchemaDefault
QueryfeedTypes
optional
A list of feed types used to filter feeds. When feedTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either feedTypes or nextToken is required.
Min count : 1
Max count : 10
< string > array-
QuerymarketplaceIds
optional
A list of marketplace identifiers used to filter feeds. The feeds returned will match at least one of the marketplaces that you specify.
Min count : 1
Max count : 10
< string > array-
QuerypageSize
optional
The maximum number of feeds to return in a single call.
Minimum : 1
Maximum : 100
integer10
QueryprocessingStatuses
optional
A list of processing statuses used to filter feeds.
Min count : 1
< enum (ProcessingStatuses) > array-
QuerycreatedSince
optional
The earliest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is 90 days ago. Feeds are retained for a maximum of 90 days.string (date-time)-
QuerycreatedUntil
optional
The latest feed creation date and time for feeds included in the response, in ISO 8601 format. The default is now.string (date-time)-
QuerynextToken
optional
A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getFeeds operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail.string-

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
GetFeedsResponse
403Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
404The specified resource does not exist.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request's Content-Type header is invalid.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

POST /feeds/2021-06-30/feeds

Operation: createFeed

Description

Creates a feed. Upload the contents of the feed document before calling this operation.

Usage Plan:

Rate (requests per second)Burst
0.008315

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

The rate limit for the JSON_LISTINGS_FEED feed type differs from the rate limit for the createFeed operation. For more information, refer to the Building Listings Management Workflows Guide.

Parameters

TypeNameDescriptionSchema
Bodybody
required
Information required to create the feed.CreateFeedSpecification

Responses

HTTP CodeDescriptionSchema
202Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
CreateFeedResponse
403Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
404The specified resource does not exist.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request's Content-Type header is invalid.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

GET /feeds/2021-06-30/feeds/{feedId}

Operation: getFeed

Description

Returns feed details (including the resultDocumentId, if available) for the feed that you specify.

Usage Plan:

Rate (requests per second)Burst
215

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
PathfeedId
required
The identifier for the feed. This identifier is unique only in combination with a seller ID.string

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
Feed
403Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
404The specified resource does not exist.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request's Content-Type header is invalid.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

DELETE /feeds/2021-06-30/feeds/{feedId}

Operation: cancelFeed

Description

Cancels the feed that you specify. Only feeds with processingStatus=IN_QUEUE can be cancelled. Cancelled feeds are returned in subsequent calls to the getFeed and getFeeds operations.

Usage Plan:

Rate (requests per second)Burst
215

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
PathfeedId
required
The identifier for the feed. This identifier is unique only in combination with a seller ID.string

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
No Content
403Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
404The specified resource does not exist.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request's Content-Type header is invalid.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

POST /feeds/2021-06-30/documents

Operation: createFeedDocument

Description

Creates a feed document for the feed type that you specify. This operation returns a presigned URL for uploading the feed document contents. It also returns a feedDocumentId value that you can pass in with a subsequent call to the createFeed operation.

Usage Plan:

Rate (requests per second)Burst
0.515

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
Bodybody
required
Specifies the content type for the createFeedDocument operation.CreateFeedDocumentSpecification

Responses

HTTP CodeDescriptionSchema
201Successfully created a feed document that is ready to receive contents.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
CreateFeedDocumentResponse
403Indicates that access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
404The resource specified does not exist.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request payload is in an unsupported format.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

GET /feeds/2021-06-30/documents/{feedDocumentId}

Operation: getFeedDocument

Description

Returns the information required for retrieving a feed document's contents.

Usage Plan:

Rate (requests per second)Burst
0.022210

The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to Usage Plans and Rate Limits in the Selling Partner API.

Parameters

TypeNameDescriptionSchema
PathfeedDocumentId
required
The identifier of the feed document.string

Responses

HTTP CodeDescriptionSchema
200Success.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
FeedDocument
403Indicates access to the resource is forbidden. Possible reasons include Access Denied, Unauthorized, Expired Token, or Invalid Signature.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
404The specified resource does not exist.
Headers :
x-amzn-RateLimit-Limit (string) : Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList
415The request's Content-Type header is invalid.
Headers :
x-amzn-RequestId (string) : Unique request reference identifier.
ErrorList

For additional error status codes, descriptions and schemas, see Error responses and schemas.

Error Responses and Schemas

This table contains HTTP status codes and associated information for error responses.

HTTP CodeDescriptionSchema
400Request has missing or invalid parameters and cannot be parsed.
Headers:
x-amzn-RateLimit-Limit (string):Your rate limit (requests per second) for this operation.
x-amzn-RequestId (string):Unique request reference identifier.
ErrorList
401The request's Authorization header is not formatted correctly or does not contain a valid token.
Headers:
x-amzn-RequestId (string):Unique request reference identifier.
ErrorList
413The request size exceeded the maximum accepted size.
Headers:
x-amzn-RequestId (string):Unique request reference identifier.
ErrorList
429The frequency of requests was greater than allowed.
Headers:
x-amzn-RequestId (string):Unique request reference identifier.
ErrorList
500An unexpected condition occurred that prevented the server from fulfilling the request.
Headers:
x-amzn-RequestId (string):Unique request reference identifier.
ErrorList
503Temporary overloading or maintenance of the server.
Headers:
x-amzn-RequestId (string):Unique request reference identifier.
ErrorList

Definitions

Error

An error response returned when the request is unsuccessful.

NameDescriptionSchema
code
required
An error code that identifies the type of error that occurred.string
message
required
A message that describes the error condition.string
details
optional
Additional details that can help the caller understand or fix the issue.string

ErrorList

A list of error responses returned when a request is unsuccessful.

NameDescriptionSchema
errors
required
An error response returned when the request is unsuccessful.< Error > array

CreateFeedResponse

Response schema.

NameDescriptionSchema
feedId
required
The identifier for the feed. This identifier is unique only in combination with a seller ID.string

Feed

Detailed information about the feed.

NameDescriptionSchema
feedId
required
The identifier for the feed. This identifier is unique only in combination with a seller ID.string
feedType
required
The feed type.string
marketplaceIds
optional
A list of identifiers for the marketplaces that the feed is applied to.< string > array
createdTime
required
The date and time when the feed was created, in ISO 8601 date time format.string (date-time)
processingStatus
required
The processing status of the feed.enum (ProcessingStatus)
processingStartTime
optional
The date and time when feed processing started, in ISO 8601 date time format.string (date-time)
processingEndTime
optional
The date and time when feed processing completed, in ISO 8601 date time format.string (date-time)
resultFeedDocumentId
optional
The identifier for the feed document. This identifier is unique only in combination with a seller ID.string

FeedList

A list of feeds.

Type : < Feed > array

GetFeedsResponse

Response schema.

NameDescriptionSchema
feeds
required
The feeds.FeedList
nextToken
optional
Returned when the number of results exceeds pageSize. To get the next page of results, call the getFeeds operation with this token as the only parameter.string

FeedDocument

Information required for the feed document.

NameDescriptionSchema
feedDocumentId
required
The identifier for the feed document. This identifier is unique only in combination with a seller ID.string
url
required
A presigned URL for the feed document. If compressionAlgorithm is not returned, you can download the feed directly from this URL. This URL expires after 5 minutes.string
compressionAlgorithm
optional
If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to Step 7. Download the feed processing report in the use case guide, where sample code is provided.enum (CompressionAlgorithm)

FeedOptions

Additional options to control the feed. These vary by feed type.

Type : < string, string > map

CreateFeedSpecification

Information required to create the feed.

NameDescriptionSchema
feedType
required
The feed type.string
marketplaceIds
required
A list of identifiers for marketplaces that you want the feed to be applied to.< string > array
inputFeedDocumentId
required
The document identifier returned by the createFeedDocument operation. Upload the feed document contents before calling the createFeed operation.string
feedOptions
optional
Additional options to control the feed. These vary by feed type.FeedOptions

CreateFeedDocumentSpecification

Specifies the content type for the createFeedDocument operation.

NameDescriptionSchema
contentType
required
The content type of the feed.string

CreateFeedDocumentResponse

Information required to upload a feed document's contents.

NameDescriptionSchema
feedDocumentId
required
The identifier of the feed document.string
url
required
The presigned URL for uploading the feed contents. This URL expires after 5 minutes.string

ProcessingStatuses

Type : enum

ValueDescription
CANCELLEDThe feed was cancelled before it started processing.
DONEThe feed has completed processing. Examine the contents of the result document to determine if there were any errors during processing.
FATALThe feed was aborted due to a fatal error. Some, none, or all of the operations within the feed may have completed successfully.
IN_PROGRESSThe feed is being processed.
IN_QUEUEThe feed has not yet started processing. It may be waiting for another IN_PROGRESS feed.

ProcessingStatus

The processing status of the feed.

Type : enum

ValueDescription
CANCELLEDThe feed was cancelled before it started processing.
DONEThe feed has completed processing. Examine the contents of the result document to determine if there were any errors during processing.
FATALThe feed was aborted due to a fatal error. Some, none, or all of the operations within the feed may have completed successfully.
IN_PROGRESSThe feed is being processed.
IN_QUEUEThe feed has not yet started processing. It may be waiting for another IN_PROGRESS feed.

CompressionAlgorithm

If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to Step 7. Download the feed processing report in the use case guide, where sample code is provided.

Type : enum

ValueDescription
GZIPThe gzip compression algorithm.