question

verhaegher avatar image
0 Likes"
verhaegher asked

marketplaceId doesn't seem to exist for offer

Hi, I'm trying to create an offer (POST https://api.ebay.com/sell/inventory/v1/offer ) but I have a problem with the marketplaceId. I live in Belgium, which has two market places, a Dutch and a French. According to this page ( https://developer.ebay.com/devzone/rest/api-ref/inventory/types/MarketplaceEnum.html ), the marketplaceId's should be respectively **EBAY_BE_NL** and **EBAY_BE_FR**. However, for both I always get the error: **2004 - Could not serialize field [marketplaceId]** If I change the marketplaceId to another country (for example EBAY_IT) it works. I have this on both sandbox as production. Is it possible the marketplaceId is missing in the API? Thanks, Roel PS: EBAY_CA_FR doesn't work neither.
sell apiselling apioffer
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered
Hi verhaegher, Just want to make sure. Are you able to make the call including the request headers as below ? X-EBAY-C-MARKETPLACE-ID: EBAY-BE, Accept-Language: nl-BE ``or X-EBAY-C-MARKETPLACE-ID: EBAY-BE, Accept-Language: fr-BE If you are still running into an error, can you provide the RlogId http response header for the same? Best Regards,
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

verhaegher avatar image
0 Likes"
verhaegher answered
No answers? If I can't use the marketplace of my own country, that's a blocking issue for my application. Can anyone answer how I use the marketplaceid **EBAY_BE_NL**? Thanks, Roel
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

verhaegher avatar image
0 Likes"
verhaegher answered
Hi, Thanks for the answer. I added the headers you requested. I still got the same error "unable to serialize marketplaceid". The RlogId i received is: t6pitnmsgwj%28ciudbq%60anng%7Fu2h%3F%3Cwk%7Dukqlhqbuo*1423767-15c36b609a0-0x3f1c Thanks, Roel
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

verhaegher avatar image
0 Likes"
verhaegher answered
Hi, Did you have time already to have a look at this? Thanks, Roel
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.