Closed DavidAJohn closed 1 year ago
So it turns out that the second and third potential problems I identified originally were problems that needed to be corrected. I had misunderstood certain properties within the Product Details model.
The first issue I identified isn't a problem at all. In fact, I realised that the double quotes in the product description are actually an alternative abbreviation of inches. That only occurred to me after seeing it on screen after being escaped. It's at times like these that you wish Britain had fully converted to the metric system. :-)
The Product Service is now correctly deserialising the Product Details data being returned from Prodigi : 61b5fbd7d814de20f42772db8ab1e4534ebbb6d2
Some part of the ProductDetails json data coming back from the Prodigi Print API is not being deserialized correctly.
The API itself is returning a 200 and I can see the contents, but because the data is arriving via Ocelot (which is being used as a proxy because a secret API Key needs to be added to each request) it's proving difficult to track down the property that is causing the problem. And there are several candidates...
Not sure about the Product Description containing escaped double quotes.
The Variant's PrintAreaSizes property doesn't look right. It's not just the two dimensions.
Are the Product Attributes correct if the attribute has multiple values (as with eco canvas 'wrap')?