-
-
Notifications
You must be signed in to change notification settings - Fork 246
Description
Describe the bug
Amazon expects the multiple values for MarketplaceIds and OrderStatuses to be a single comma-separated string, but the library uses standard way of adding multiple params to URL, for each value separately.
In URL:
- Amazon expects:
MarketplaceIds=ID1,ID2 - Library uses:
MarketplaceIds=ID1&MarketplaceIds=ID2
Manually tryign to pass all values as one comma-separated value doesn't work, because the library encodes commas and turn them into URL-encoded format (%2C), which Amazon probably doesn't expect.
To Reproduce
Try to get orders with multiple MarketplaceIds and OrderStatuses.
Expected behavior
All orders matching those multiple markets and statuses should be returned.
Actual result
No orders returned (probably because only the first value is used and no orders for that value).
Desktop (please complete the following information):
- OS: Mac
Additional context
We are using this library to fetch orders with multiple markets and multiple statuses.