-
Notifications
You must be signed in to change notification settings - Fork 756
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
[BUG] getInventorySummaries does not work if sellerSkus contain ',' character #421
Comments
Same issue here. We tried the following on the
|
This issue is important but still have not received any comment from Amazon |
Hello @hamduc7, Thank you for bringing this to our attention. In order to correctly resolve this issue, please open a support case so we can pursue the investigation and provide the following details:
Once you do so, please post the Case ID so we can keep track of the situation. Thanks, |
Hi @Adrian-T-AMZN, we opened a support case a while ago, but it did not get resolved. Here is the response from the support:
Can you please take a look at this case log? Thanks! |
This is still occurring, is there an eta for when we will get a fix similar to the searchCatalogItems fix? |
Same problem here. Those SKUs with commas cannot be ordered via searchCatalogItems, for example. |
Bumping it up, having the same issue. |
You won't get a straight answer from their support team, they suck too. This a common problem and it's not going away soon, as they state on their website. Solution: You should use the Reports API. The problem is that Amazon uses a comma to separate 1 SKU from another (sku1,sku2,sku3), so when a SKU contains a comma (like this 'sk,u1') amazon will interoperate this 1 SKU into as 2 separate SKUs. The first solution is to use ASIN instead of the SKU (A ASIN can't have a comma), and if the API doesn't accept ASIN than you should use the API report. And if there is no Report for that than I guess your screwed. Yeps 2023 |
This is insane. The MWS API didn't have this problem. We were all forced to switch to SP-API before they resolved this. We do not have any control over what SKUs our users select. This definitely needs to be fixed by Amazon. |
In the meantime you can switch to get data from reports, and you'll save a lot CPU. |
I'm just curios how it worked on MWS, How can you distinguish 2 SKUs with a "," when a SKU itself may contain a ","? |
We cannot switch to getting data from Reports because we fetch this data every 10 minutes for each SKU. Reports cannot be generated that quickly, and if we try, Amazon will either return old data, or cancel the attempted reports. This was not a problem for the old MWS API because it was designed more carefully. Multiple SKUs were specified by repeating the query parameter:
|
This problem is still existing on 8-Mar-2023. Do you have any plan to fix this issue? |
We're still experiencing this issue with |
Still having this issue, please fix |
Interested in a fix as well.
(Source: https://developer-docs.amazon.com/sp-api/docs/url-encoding#how-do-i-encode-a-url) This is far from optimal, but at least this is a way to get the data. |
There is a new option in the API, sellerSku, which will allow you to query
these comma-containing SKUs one at a time.
…On Thu, May 9, 2024, 06:04 hamduc7 ***@***.***> wrote:
The getInventorySummaries function cannot work if the SKU contains ",":
API: /fba/inventory/v1/summaries
granularityType=Marketplace
granularityId=NOT_IMPORTANT
marketplaceIds=A3KFBWWTZ2P8CN -->ANY MARKETPLACE
sellerSkus=*abc,d*
Note the 'abc,d' is an SKU
*URL of the content on GitHub*
https://developer-docs.amazon.com/sp-api/docs/fbainventory-api-v1-reference
Because the sellerSkus is a list of values, separated by a comma. But the
SKU itself has a comma that causes a problem
How to solve this?
—
Reply to this email directly, view it on GitHub
<#421>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACU2WP6L4FFB6JCEU3LWELZBNC2DAVCNFSM6AAAAABHOQ7PP6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DOMZUG4YTONA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Please reach out to developer support so that we can better help you with issues related to SP API.
|
Can you please be a more specific? Do have me an email address or phone number?
|
Sure @jacobglanz, here's the link: https://developer.amazonservices.com/support. |
The getInventorySummaries function cannot work if the SKU contains ",":
API: /fba/inventory/v1/summaries
granularityType=Marketplace
granularityId=NOT_IMPORTANT
marketplaceIds=A3KFBWWTZ2P8CN -->ANY MARKETPLACE
sellerSkus=abc,d
Note the 'abc,d' is an SKU
URL of the content on GitHub
https://developer-docs.amazon.com/sp-api/docs/fbainventory-api-v1-reference
Because the sellerSkus is a list of values, separated by a comma. But the SKU itself has a comma that causes a problem
How to solve this?
The text was updated successfully, but these errors were encountered: