createdotnet / API-Documentation

Create. API Documenation
http://developers.create.net/API-Documentation/
0 stars 2 forks source link

"parent_category" property of a "product" is missing? #7

Closed robertoldaker closed 9 years ago

robertoldaker commented 9 years ago

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.

Dayjo commented 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.

Dayjo commented 9 years ago

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.

robertoldaker commented 9 years ago

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 .

Dayjo commented 9 years ago

@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.

robertoldaker commented 9 years ago

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 .

Dayjo commented 9 years ago

Great thanks!