This is a quick one, we are currently working with the service api to create a product importer. We were just wondering if the service api honours the validation attributes that would normally be placed upon a product model?
It would be great if the Service API was able to determine if the property was required, etc, and return this message in the response.
Technically yes. I'm just not sure how clear/useful the message would be
Well I would imagine it would just be the same error message that you would see from the administration if you were to add/edit the product manually
For instance if you had a short description that is required then you could write:
ErrorMessage="Short description is required"
Then the error message that you would recieve back would be the ErrorMessage you have already specified.
If there were multiple errors this would be return in some form of list.