@sp-api-sdk/feeds-api-2021-06-30
Version:
The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
33 lines (32 loc) • 1.59 kB
TypeScript
/**
* Selling Partner API for Feeds
* The Selling Partner API for Feeds lets you upload data to Amazon on behalf of a selling partner.
*
* The version of the OpenAPI document: 2021-06-30
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Information required for the feed document.
*/
export interface FeedDocument {
/**
* The identifier for the feed document. This identifier is unique only in combination with a seller ID.
*/
'feedDocumentId': string;
/**
* 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.
*/
'url': string;
/**
* 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](https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-use-case-guide#step-7-download-the-feed-processing-report) in the use case guide, where sample code is provided.
*/
'compressionAlgorithm'?: FeedDocumentCompressionAlgorithmEnum;
}
export declare const FeedDocumentCompressionAlgorithmEnum: {
readonly Gzip: "GZIP";
};
export type FeedDocumentCompressionAlgorithmEnum = typeof FeedDocumentCompressionAlgorithmEnum[keyof typeof FeedDocumentCompressionAlgorithmEnum];