question

$$anonymous$$ avatar image
0 Likes"
$$anonymous$$ Suspended asked

How to get SellerProfile infomation

Hi all, I am familarizing myself with the eBay SDK Java for Trading API. I created a sandbox account, a test user, downloaded the eBaySDKJava871.zip, and was able to successfully run the HelloWorld application. However, in the ConsoleAddItem application I failed to understand few things to proceed: 1) In the method: sellerPaymentProfile.setPaymentProfileID(profileId); where does 'profileId' come from? I guess it is one of the payment methods configured in my testuser, right? But is there an API which I can use to programmatically get the 'profileId', that is something like this: Long profileId = testUser.getPaymentProfiles()[0].getId(); where 'testUser' is an object holding all information of my test user. 2) After I publish a listing. How do I see the listing is on the ebay site? I tried logging in with my test user, but the web browser always says 'Your email/user ID or password is incorrect.'. Thank you very much in advance for your help! Cuong
trading api javaconsoleaddit
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.

1 Answer

· Write an Answer
zhuowei.developersupport@ebay.com avatar image
0 Likes"
zhuowei.developersupport@ebay.com answered
Hi channelpilot-cp, You need to call [Business Policies Management API][1] in order to get a seller's profile information. For example, a Payment profileId is returned in paymentProfileList container and can be retrieved via getSellerProfiles call here: http://developer.ebay.com/Devzone/business-policies/CallRef/getSellerProfiles.html#Response.paymentProfileList.PaymentProfile.profileId You can go to your Sandbox My eBay page to view/search your sandbox listings, Please make sure to login to the correct environment, and it should be http://sandbox.ebay.com for eBay sandbox site. Best Regards, [1]: http://developer.ebay.com/Devzone/business-policies/CallRef/index.html
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.