Closed hfuccillo closed 2 years ago
Fixed in 8.0.6, thanks!
Hi @keithbrink, are you sure @hfuccillo's issue is fixed? I am having the same issue using 8.1.0, and the commit referenced above (https://github.com/keithbrink/amazon-mws-laravel/commit/279e06053de3239e64cec38dfe2ba9bc9b67d168) does not contain code that fixes the issue. You need to set a single SellerSKU
or ASIN
option for fetching product categories.
@spire-mike I am no longer maintaining this package, I've moved to the new API. Feel free to send a PR in.
@keithbrink thanks. I see it actually is fixed for the case of ASIN, but not SellerSKU. It should be a one-line fix. I'll submit a PR. Thank you!
Here you go @keithbrink https://github.com/keithbrink/amazon-mws-laravel/pull/64
I need to fetch product categories by using this endpoint: https://docs.developer.amazonservices.com/en_UK/products/Products_GetProductCategoriesForASIN.html
One of the requested parameters is ASIN but using the method setASINs this parameter is assigned ASINList.ASIN.1 instead of ASIN. As far as I checked, the rest of the endpoints needs the ASINList.ASIN.1 parameter and not the ASIN one. But somehow for this endpoint only ASIN parameter is needed.
If I just set the parameter ASIN
$this->options['ASIN'] = $s;
it works like a charm:Is it possible to fix it? This is clearly an exception and can be managed in two ways, duplicating the parameter and sending it in every request or catch the request asking for categories and only set the proper one.