Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
feature: add FeedOptions parameter to submitFeed
Browse files Browse the repository at this point in the history
  • Loading branch information
RienNeVaPlus authored and moltar committed Apr 28, 2021
1 parent 06bc025 commit 384f35a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sections/feeds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export type FeedType =
| '_POST_FLAT_FILE_FBA_CREATE_REMOVAL_'
| '_RFQ_UPLOAD_FEED_'
| '_POST_EASYSHIP_DOCUMENTS_'
| '_UPLOAD_VAT_INVOICE_'

export type FeedProcessingStatus =
| '_AWAITING_ASYNCHRONOUS_REPLY_'
Expand Down Expand Up @@ -175,6 +176,7 @@ export interface GetFeedSubmissionResultParameters {
export interface SubmitFeedParameters {
FeedContent: string
FeedType: FeedType
FeedOptions?: string
MarketplaceIdList?: string[]
PurgeAndReplace?: boolean
AmazonOrderId?: string
Expand Down Expand Up @@ -207,6 +209,7 @@ export class Feeds {
action: 'SubmitFeed',
parameters: {
FeedType: parameters.FeedType,
FeedOptions: parameters.FeedOptions,
'MarketplaceIdList.Id': parameters.MarketplaceIdList,
PurgeAndReplace: parameters.PurgeAndReplace,
AmazonOrderId: parameters.AmazonOrderId,
Expand Down

0 comments on commit 384f35a

Please sign in to comment.