lineofflight / peddler

Amazon Selling Partner API (SP-API) in Ruby
MIT License
307 stars 130 forks source link

Use "member" structure for ShippingSpeedCategories #133

Closed andrewhavens closed 5 years ago

andrewhavens commented 5 years ago

It seems that the "ShippingSpeedCategories" option needs to be structured as a "member" list, like this:

&ShippingSpeedCategories.member.1=Expedited
&ShippingSpeedCategories.member.2=Standard
&ShippingSpeedCategories.member.3=Priority

...despite the fact that the Amazon documentation shows it like this:

&ShippingSpeedCategories.1=Expedited
&ShippingSpeedCategories.2=Standard
&ShippingSpeedCategories.3=Priority

Otherwise, I was getting this error:

Peddler::Errors::MalformedInput (Top level element may not be treated as a list)
hakanensari commented 5 years ago

Thanks, I will merge this in.