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

Getting attribute by group (REST api) #5588

Closed
CodeGlitcher opened this issue Jul 12, 2016 · 7 comments
Closed

Getting attribute by group (REST api) #5588

CodeGlitcher opened this issue Jul 12, 2016 · 7 comments

Comments

@CodeGlitcher
Copy link

You can get all attributes in a attribute set with
http://{baseurl}/index.php/rest/V1/products/attribute-sets/{attribute_set_id}/attributes
This works, but i would like to know to which group the attributes belongs to.

Something like:
http://{baseurl}/index.php/rest/V1/products/attribute-sets/groups/7/attributes
This would then return all the attributes in group 7

Or is there already an other option to get the attributes of an group?

@veloraven veloraven self-assigned this Aug 2, 2016
@veloraven veloraven removed their assignment Aug 8, 2016
@Serhiy-Nazarov
Copy link

I have this problem too.
@veloraven, when I can expect a response?
Thanks!

@Serhiy-Nazarov
Copy link

the solution is simple - append group_id to respond for
/V1/products/attribute-sets/{attributeSetId}/attributes

@veloraven
Copy link
Contributor

@RobG66
I'm closing this issue as GitHub issue tracker is intended for technical issues only. Please refer to the Community Forums or the Magento Stack Exchange site for technical questions.
eature Requests and Improvements should now be submitted to the new Magento 2 Feature Requests and Improvements forum (see details here).

@VireshRajvansh
Copy link

VireshRajvansh commented Jul 31, 2017

@Serhiy-Nazarov
how can we append group_id to reponse for
/V1/products/attribute-sets/{attributeSetId}/attributes
please explain

@VireshRajvansh
Copy link

VireshRajvansh commented Aug 8, 2017

@Serhiy-Nazarov
how can we append group_id to reponse for
/V1/products/attribute-sets/{attributeSetId}/attributes

please explain....

@Serhiy-Nazarov
Copy link

@VireshRajvansh
In the current version Magento2 API it does not work. It's just a suggestion for core.
On our projects, we have created a module that expands the API

@madmichael
Copy link

This endpoint /V1/products/attribute-sets/{attributeSetId}/attributes does work in the current version of Magento.

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

No branches or pull requests

5 participants