question

ar_cat1437 avatar image
0 Likes"
ar_cat1437 asked

Identity API always returns "ebayindividualuser" in sandbox

Hello there,

When using the "commerce/identity/v1/user/" API call in sandbox, is it intentional that it always returns the following information?

{
  "userId": "007IND2xyeBay",
  "username": "ebayindividualuser",
  "accountType": "INDIVIDUAL",
  "registrationMarketplaceId": "EBAY_US",
  "individualAccount": {}
}

I'm trying to retrieve the user's user ID and username after getting his access token. Is this the correct API for such purpose?

user accountusernameidentity api
10 |600

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

1 Answer

·
jitendra_developersupport avatar image
0 Likes"
jitendra_developersupport answered

Hi @ar_cat1437,


You can test the Identity API in Sandbox environment, but getUser call will return only mock data in the response of call.

Ref:https://developer.ebay.com/api-docs/commerce/identity/static/overview.html


Best Regards,
eBay Developer Support

10 |600

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.