Closed robertoldaker closed 9 years ago
Hi Rob,
Well spotted, again this is an issue with the models not matching the documentation, should be relatively easy to fix.
After some deliberation, the documentation here will have to change.
The parent_category
property will need to be an array of category ids as a product can be contained in multiple categories. I will be updating the documentation accordingly along with the fix, once we've decided on how to go about it.
This fix isn;t a priority for us. We really need the fix for the country and the product options (#2, #3 and #9)
Once we have them Jessica can use it to run her business and really give it a good test.
Regards,
Rob.
On 3 February 2015 at 12:06, Joel notifications@github.com wrote:
After some deliberation, the documentation here will have to change.
The parent_category property will need to be an array of category ids as a product can be contained in multiple categories. I will be updating the documentation accordingly along with the fix, once we've decided on how to go about it.
— Reply to this email directly or view it on GitHub https://github.com/createdotnet/API-Documentation/issues/7#issuecomment-72639531 .
@robertoldaker could you confirm if you're happy with this fix? The logical next step would be to have a category api call for category information, but at least now it's retreiving all the IDs correctly.
I am happy with it.
Rob.
On 10 February 2015 at 14:50, Joel notifications@github.com wrote:
@robertoldaker https://github.com/robertoldaker could you confirm if you're happy with this fix? The logical next step would be to have a category api call for category information, but at least now it's retreiving all the IDs correctly.
— Reply to this email directly or view it on GitHub https://github.com/createdotnet/API-Documentation/issues/7#issuecomment-73711132 .
Great thanks!
How do a i find the category that a product belongs to?
The documentation says there is a property called "parent_category" which is the id of the category that the product belongs to.
However this property appears to be missing when I perform a product feed. There is a property called "parentcat_INC" but that is always 0.