This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: created submitFeeds, integ and unit tests, http update
- Loading branch information
1 parent
6c6d670
commit 01e0659
Showing
7 changed files
with
240 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?xml version="1.0" encoding="iso-8859-1"?> | ||
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd"> | ||
<Header> | ||
<DocumentVersion>1.01</DocumentVersion> | ||
<MerchantIdentifier>M_EXAMPLE_123456</MerchantIdentifier> | ||
</Header> | ||
<MessageType>Product</MessageType> | ||
<PurgeAndReplace>false</PurgeAndReplace> | ||
<Message> | ||
<MessageID>1</MessageID> | ||
<OperationType>Update</OperationType> | ||
<Product> | ||
<SKU>56789</SKU> | ||
<StandardProductID> | ||
<Type>ASIN</Type> | ||
<Value>B0EXAMPLEG</Value> | ||
</StandardProductID> | ||
<ProductTaxCode>A_GEN_NOTAX</ProductTaxCode> | ||
<DescriptionData> | ||
<Title>Example Product Title</Title> | ||
<Brand>Example Product Brand</Brand> | ||
<Description>This is an example product description.</Description> | ||
<BulletPoint>Example Bullet Point 1</BulletPoint> | ||
<BulletPoint>Example Bullet Point 2</BulletPoint> | ||
<MSRP currency="USD">25.19</MSRP> | ||
<Manufacturer>Example Product Manufacturer</Manufacturer> | ||
<ItemType>example-item-type</ItemType> | ||
</DescriptionData> | ||
<ProductData> | ||
<Health> | ||
<ProductType> | ||
<HealthMisc> | ||
<Ingredients>Example Ingredients</Ingredients> | ||
<Directions>Example Directions</Directions> | ||
</HealthMisc> | ||
</ProductType> | ||
</Health> | ||
</ProductData> | ||
</Product> | ||
</Message> | ||
</AmazonEnvelope> | ||
|
||
<!-- <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd"> | ||
<Header> | ||
<DocumentVersion>1.01</DocumentVersion> | ||
<MerchantIdentifier>M_EXAMPLE_123456</MerchantIdentifier> | ||
</Header> | ||
<MessageType>Product</MessageType> | ||
<PurgeAndReplace>false</PurgeAndReplace> | ||
<Message> | ||
<MessageID>1</MessageID> | ||
<OperationType>Update</OperationType> | ||
<Product> | ||
<SKU>56789</SKU> | ||
<StandardProductID> | ||
<Type>ASIN</Type> | ||
<Value>B0EXAMPLEG</Value> | ||
</StandardProductID> | ||
<ProductTaxCode>A_GEN_NOTAX</ProductTaxCode> | ||
<DescriptionData> | ||
<Title>Example Product Title</Title> | ||
<Brand>Example Product Brand</Brand> | ||
<Description>This is an example product description.</Description> | ||
<BulletPoint>Example Bullet Point 1</BulletPoint> | ||
<BulletPoint>Example Bullet Point 2</BulletPoint> | ||
<MSRP currency="USD">25.19</MSRP> | ||
<Manufacturer>Example Product Manufacturer</Manufacturer> | ||
<ItemType>example-item-type</ItemType> | ||
</DescriptionData> | ||
<ProductData> | ||
<Health> | ||
<ProductType> | ||
<HealthMisc> | ||
<Ingredients>Example Ingredients</Ingredients> | ||
<Directions>Example Directions</Directions> | ||
</HealthMisc> | ||
</ProductType> | ||
</Health> | ||
</ProductData> | ||
</Product> | ||
</Message> | ||
</AmazonEnvelope> --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<SubmitFeedResponse xmlns="http://mws.amazonaws.com/doc/2009-01-01/"> | ||
<SubmitFeedResult> | ||
<FeedSubmissionInfo> | ||
<FeedSubmissionId>2291326430</FeedSubmissionId> | ||
<FeedType>_POST_PRODUCT_DATA_</FeedType> | ||
<SubmittedDate>2009-02-20T02:10:35+00:00</SubmittedDate> | ||
<FeedProcessingStatus>_SUBMITTED_</FeedProcessingStatus> | ||
</FeedSubmissionInfo> | ||
</SubmitFeedResult> | ||
<ResponseMetadata> | ||
<RequestId>75424a38-f333-4105-98f0-2aa9592d665c</RequestId> | ||
</ResponseMetadata> | ||
</SubmitFeedResponse> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters