-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Look up sellerSku by fnSku? #765
Comments
You are missing a step or two. SP-API is not monolithic, after you have iitialized the thing you must instantiate an API connector to the specific API you need. So you need this: |
Thanks for the reply.
I feel like I am not instantiating the right thing, but that is for the warehousing and distribution service. We don't use that, we just use FBA. So it was this call I was trying to make queries against: |
In that case you go for $fbaApi = $apiInstance->FBAInventoryV1(); and continue from there. |
Thanks. The code I initially tried is in the first message of the ticket. I'm not seeing how it differs from your suggestion materially?
Of note, I have also tried all these:
They all report:
I must me missing something terribly obvious, because all my other calls work fine to other api like the reports api and getInventorySummaries. |
Problem description:
Per my understanding of Amazon's SP-API documentation, I should be able to look up a inventory summary by fnSku.
Error:
Code
Seller Central SP API config page screenshot
I have no idea what this asked me to provide, even after spending 23 minutes searching and looking at other issues that they didn't know what to put and got cancelled due to inactivity. This is the closest to what I thought.
I can use the AP for most other things, I just can't figure out how to query by fnsku. So I'm building a local translation db to convert fnsku to sellersku.
The text was updated successfully, but these errors were encountered: