Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.3.19 API - Search variant product by a parent and access to a family of a product model #9208

Open
FabienSalles opened this issue Dec 5, 2018 · 5 comments
Labels
Milestone

Comments

@FabienSalles
Copy link
Contributor

Hi,

I had 2 issues :

  1. if you have a product model and want to retrieve all related variant products, you can't.
  2. If you retrieve a product model by the API and want to know the family of this product model, you also can"t. You just have the variant family.

I had to override akeneo :

  1. override parameters of 2 services and a normalizer for the first issue
  2. override the API ProductModelNormalizer for the second

But I don't understand why we can't do this by default in the Akeneo API. Is-there a reason ?

@shavounet
Copy link
Contributor

Same issue here...
Using the API, I'm trying to get all children of a product model and I can't... Here is what I found:

@progunnerr
Copy link

Same issue here..Its strange that the parent is not supported by default in Akeneo API

@josedacosta
Copy link

josedacosta commented May 13, 2019

+1 to add urgently!

absurd! not to have the variations of a "product model" (in the API response):
"product model"> "variations" children products

OR

absurd! not being able to search for the children of a parent product:
?search={"parent":[{"operator":"IN","value":["796"]}]}

AND

API option to display only variations attributes :
"Display All level specific attributes"

@alvinnguyen
Copy link

I believe this has since be available in Akeneo 3.1 via AncestorIdFilter?

https://github.com/akeneo/pim-community-dev/pull/10205/files

Is it wishful thinking that this will be back-ported to v2?

@jmleroux jmleroux added this to the 2.3.x milestone Mar 13, 2020
@chandrantwins
Copy link

Hi akeneo users,

I am also facing same problem, did anybody solved this problem via api calls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants