lineofflight / peddler

Amazon Selling Partner API (SP-API) in Ruby
https://lineofflight.github.io/peddler/
MIT License
307 stars 130 forks source link

Marketplace ID for PrimeNow DE missing #90

Closed QuAcK3RjAcK closed 6 years ago

QuAcK3RjAcK commented 7 years ago

I'm working with PrimeNowDE marketplace and I got the marketplace ID "A1KU16HT7ALXJ0" from Amazon with the endpoint 'mws.amazonservices.de'.

Cause peddler doesn't know this new marketplace it always calls this Error: "A1KU16HT7ALXJ0" is not a valid MarketplaceId

Can you pls add the marketplace ID fpr PrimeNow DE to the HOSTS constant? https://github.com/hakanensari/peddler/blob/master/lib/peddler/marketplace.rb

'A1KU16HT7ALXJ0' => 'mws.amazonservices.de'

hakanensari commented 7 years ago

Hi @QuAcK3RjAcK ,

MWS docs do not mention A1KU16HT7ALXJ0 as a valid marketplace ID. If this is a new, undocumented feature, can you point me to any resource online?

Also, have you tried using the regular German marketplace ID or alternatively, monkey-patching the HOSTS constant to try out your ID and see if it works?

QuAcK3RjAcK commented 7 years ago

Hi @hakanensari ,

Unfortunatly i don't have any online resource for that. My company started a partnership to sell over PrimeNow in Germany and i only have direct contact with them. They give me that Marketplace ID for PrimeNowDE. They said, that PrimeNow has also different marketplace IDs for different countries, but i only know the DE one.

I monkey patched the HOSTS constant and it was working. I also tested different endpoints like 'mw.amazonserivces.de' and 'mws-eu.amazonservices.com' and both worked, but they said i should use the first one. But when i read the docs about the endpoints it should be 'mws-eu...'.

In general the PrimeNow feature seems a bit undocumented, maybe because its very new. I think in Germany it starts a few months ago.

I will write to them with the hint to update your mentioned site.

prathip111 commented 6 years ago

If there is any api for seller and customer messaging service?

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.