Replies: 1 comment
-
StandardPrice:value is a string |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am Creating feed for POST_PRODUCT_PRICING_DATA using below code
Dim CFS As New ConstructFeedService(_MerchantId, "1.00") Dim ProductLst As New List(Of PriceMessage) Dim irowCount As Integer = 0 For irowCount = 0 To ds.Tables("Info").Rows.Count - 1 Dim PL As New PriceMessage Dim SPI As New StandardPrice PL.SKU = "100000X" SPI.currency = "USD" SPI.Value = "99.99" PL.StandardPrice = SPI ProductLst.Add(PL) Next CFS.AddPriceMessage(ProductLst) sXmlSent = CFS.GetXML() Dim MPI As New Utils.MarketplaceIds MPI.Add(_MarketPlaceId) sAZFeedId = amzcon.Feed.SubmitFeed(sXmlSent, FeedType.POST_PRODUCT_PRICING_DATA, MPI, Nothing, ContentType.XML)
the xml post on amazon in case Of US locale
""
2.1.0 XXXXXXXX Price 1 Update 100000X 309.11 ""and this data processed sucessfully.
But in case of BR xml generated by code is
`
2.1.0 XXXXXXXX Price 1 Update 100000X 712,03 `and this message Id return Error in result
XML Parsing Error at Line 59, Column cvc-datatype-valid.1.2.1: '712,03' is not a valid value for 'decimal'.: .
The only difference i can see in xml dot and comma used in price value to seperate decimals.
when i post with Dot in price value in case of BR its working fine.
Should i replace the comma with dot in price value of is there any other solution?
Beta Was this translation helpful? Give feedback.
All reactions