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

Find Product by SKU #42

Open
iamakimmer opened this issue May 19, 2017 · 1 comment
Open

Find Product by SKU #42

iamakimmer opened this issue May 19, 2017 · 1 comment

Comments

@iamakimmer
Copy link

How can I retrive a product by sku, not product id?

@LiamKarlMitchell
Copy link

I also needed to know this, thankfully there is documentation on this for Magento 1.9x

Looks like the argument "productId" can be a Product ID number or a SKU. Shrugs okay then
https://devdocs.magento.com/guides/m1x/api/soap/catalog/catalogProduct/catalog_product.info.html

Tried it out and it appears to work, so long as your SKU's are alpha/numeric not just number then it should be fine.

Others I read such as catalogProductAttributeMedia create seem to say to set identifierType

"product": "SKU Goes here",
"identifierType": "sku",

I keep getting 400 Bad Request so Have not been able to try yet.

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

2 participants