Hi,
I'm having problems with my application. This problem only started occurring a couple of days ago. It was fine prior to that. I believe something has changed with how Shapeways handles POST request on /models.
Once a user has created their model on my site, it is uploaded to the Shapeways API. My application sets the markup and available materials for each sword, for example:
'materials': {66: {'markup': 1.5, 'isActive': 1}, 6: {'markup': 1.5, 'isActive': 1}, 75: {'markup': 1.5, 'isActive': 1}, 76: {'markup': 1.5, 'isActive': 1},....
the response I get back however doesn't take into account the markup, or even the price of that respective material despite the material being active (note materialId: 66):
'materials': {u'122': {u'price': 0, u'markup': 0, u'isActive': 0, u'materialId': 122}, u'66': {u'price': 0, u'markup': 0, u'isActive': 1, u'materialId': 66}, u'104': {u'price': 0, u'markup': 0, u'isActive': 0, u'materialId': 104}, ....
It also seems to disregard the defaultMaterialId despite having been set as a parameter in the original request:
'defaultMaterialId': ""
On the page where the model would be for sale, a price is listed, but "Not For Sale" is below. None of the materials are available.
Curious if the parameters of the API have changed in the last couple of days as everything was working fine these past few months. If so, how do I fix this?