Magento2 get website_ids in product get api means product is assigned to which websites.

This is issue generated in github: https://github.com/magento/magento2/issues/5773 , but there still not any solution.

1 Answer 1


You could try this module because with this you can assign a product to multiple websites and retrieve it in the get API. I haven't totally tester the given case but I think it should work.


Let me know if this solved your problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.