You're putting sortOrder in between two itemFilter parameters. Put the item filters together, in order. Move sortOrder to a different position.
Goal of the pull request:
[ ] Documentation
[x] Bugfix
[ ] Feature (New!)
[ ] Enhancement
Description
A minor change to how constructAdditionalParams concatenates parameters.
It keeps the filter parameters grouped in-case the filter properties of the options object is un-grouped.
This fixes an API error caused by any other parameter in between filter parameters.
Reference: https://forums.developer.ebay.com/questions/14689/error-value-is-required-for-item-filter-listing-ty.html
Goal of the pull request:
Description
A minor change to how
constructAdditionalParams
concatenates parameters. It keeps the filter parameters grouped in-case the filter properties of the options object is un-grouped.