Home > Net >  Amazon published
Amazon published

Time:09-18

Amazon wants to do, first of all, you need to understand the amazon development documentation: http://docs.developer.amazonservices.com/en_US/dev_guide/DG_IfNew.html
API SDK website: https://developer.amazonservices.com/csharpclients/
Feeds folder is you need to call interface
Directly on the code below
 
Service configuration
Private static MarketplaceWebServiceClient GetService ()
{
Const string applicationName="AmazonAPIInterface";
Const string applicationVersion="2.0";
MarketplaceWebServiceConfig config=new MarketplaceWebServiceConfig
{
ServiceURL="https://mws.amazonservices.jp"//Japan site
};
MarketplaceWebServiceClient service=new MarketplaceWebServiceClient (the AccessKey, SecretKey, applicationName applicationVersion, config);
Return the service;
}

 
Construction products
Private static SubmitFeedRequest GetSubmitFeedRequest ()
{
# region product data
String USD="USD";
StringBuilder sb=new StringBuilder();
Sb. Append (" & lt; ? The XML version=\ \ "1.0" encoding=\ \ "iso - 8859-1"? & gt;" );
Sb. Append (" & lt; AmazonEnvelope XMLNS: xsi=\ \ "http://www.w3.org/2001/XMLSchema-instance" xsi: noNamespaceSchemaLocation=\ "amzn - envelope. XSD " & gt;" );
Sb. Append (" & lt; Header>" );
Sb. Append (" & lt; DocumentVersion> 1.01 & lt;/DocumentVersion>" );//version
Sb. Append (" & lt; MerchantIdentifier> M_EXAMPLE_123456 & lt;/MerchantIdentifier>" );
Sb. Append (" & lt;/Header>" );
Sb. Append (" & lt; MessageType> Product" );
Sb. Append (" & lt; PurgeAndReplace> False" );
Sb. Append (" & lt; Message>" );
Sb. Append (" & lt; MessageID> 1" );
Sb. Append (" & lt; OperationType> Create" );
# region products
Sb. Append (" & lt; Product>" );
Sb. Append (" & lt; SKU> 121212 & lt;/SKU>" );//product sku
Sb. Append (" & lt; StandardProductID>" );//the standard product ID
Sb. Append (" & lt; Type> ASIN" );//product ASIN
Sb. Append (" & lt; Value> B06ZYX7X29 & lt;/Value>" );//product ASIN value
Sb. Append (" & lt;/StandardProductID>" );
Sb. Append (" & lt; ProductTaxCode> 154834566 & lt;/ProductTaxCode>" );//product tax code
# region product description
Sb. Append (" & lt; DescriptionData>" );
Sb. Append (" & lt; Title> This is a book" );//product title - isn't empty
Sb. Append (" & lt; Brand> Ehuifheu" );//product brand -
Sb. Append (" & lt; Description> This is a book but you know" );//product description - not empty
Sb. Append (" & lt; BulletPoint> WQDQWD B" );//product characteristics, - not as an empty
Sb. Append (" & lt; BulletPoint> Fefew B" );//product characteristics,
Sb. Append (" & lt; MSRP currency='" + USD + "' & gt; 25.19 & lt;/MSRP>" );//product retail price
Sb. Append (" & lt; Manufacturer> DQWDWQD Pr" );//manufacturers
Sb. Append (" & lt; ItemType> Example - item - typeefew" );//the product type
Sb. Append (" & lt; ItemDimensions> Fewfewfv" );//product size
Sb. Append (" & lt; PackageDimensions> Feewf" );//the size of the package
Sb. Append (" & lt; PackageWeight> Wefwe" );//parcel weight
Sb. Append (" & lt; ShippingWeight> Ttre" );//shipping weight
Sb. Append (" & lt; MerchantCatalogNumber> Fewf" );//business catalog number - isn't empty
Sb. Append (" & lt; MaxOrderQuantity> Efwwe" );//the biggest order quantity
Sb. Append (" & lt; SerialNumberRequired> Wefewf" );//the serial number of the required
Sb. Append (" & lt; Prop65 & gt; GrehtrhSb. Append (" & lt; LegalDisclaimer> Grerwe" );//legal disclaimer
Sb. Append (" & lt; MfrPartNumber> Grrg" );//manufacturer part number
Sb. Append (" & lt; SearchTerms> Reger" );//retrieve the project
Sb. Append (" & lt; PlatinumKeywords> Wefewf" );//product map to custom browse node structure of the value of the
Sb. Append (" & lt; Memorabilia> Fewew" );//products are souvenirs,
Sb. Append (" & lt; Autographed> Rgeerg" );//product is signed project
Sb. Append (" & lt; UsedFor> Gergre" );//the purpose of the product, affect product position in the browse node structure
Sb. Append (" & lt; OtherItemAttributes> Ewrgfrewgre" );//other project properties
Sb. Append (" & lt; TargetAudience> Grregre" );//the target customer
Sb. Append (" & lt; SubjectContent> Efwefgw" );//topic content
Sb. Append (" & lt; IsGiftWrapAvailable> Ergreg" );//can use gift packaging
Sb. Append (" & lt; IsGiftMessageAvailable> Ergerg" );//a gift information
Sb. Append (" & lt; IsDiscontinuedByManufacturer> Efwwef" );//
manufacturers stop productionSb. Append (" & lt; MaxAggregateShipQuantity> Wefwefw" );//the biggest ship total number
Sb. Append (" & lt; Variation VariationTheme='size & gt; " );
Sb. Append (" & lt;/DescriptionData>" );//the product description
# endregion
# endregion
# region product data
Sb. Append (" & lt; ProductData>" );
Sb. Append (" & lt; Health>" );
Sb. Append (" & lt; ProductType>" );
Sb. Append (" & lt; HealthMisc>" );
Sb. Append (" & lt; Ingredients> Fgewrg" );
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related