{ "uuid": "c367a57e-f341-420a-9891-c5bfbbb551c1", "lastMigration": 29, "name": "Identity API", "endpointPrefix": "commerce/identity/v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "6e0c098f-c5ac-441e-8590-5f821a683ac3", "documentation": "This method retrieves the account profile information for an authenticated user, which requires a User access token. What is returned is controlled by the scopes. For a business account you use the default scope commerce.identity.readonly, which returns all the fields in the businessAccount container. These are returned because this is all public information. For an individual account, the fields returned in the individualAccount container are based on the scope you use. Using the default scope, only public information, such as eBay user ID, are returned. For details about what each scope returns, see the Identity API Overview. URLs for this method Production URL: https://apiz.ebay.com/commerce/identity/v1/user/ Sandbox URL: https://apiz.sandbox.ebay.com/commerce/identity/v1/user/ In the Sandbox, this method returns mock data. Note: You must use the correct scope or scopes for the data you want returned.", "method": "get", "endpoint": "user/", "responses": [ { "uuid": "5822d347-2f3b-4263-be02-f50d4b553b7d", "body": "{\n \"accountType\": \"\",\n \"businessAccount\": {\n \"address\": {\n \"addressLine1\": \"\",\n \"addressLine2\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"county\": \"\",\n \"postalCode\": \"\",\n \"stateOrProvince\": \"\"\n },\n \"doingBusinessAs\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"primaryContact\": {\n \"firstName\": \"\",\n \"lastName\": \"\"\n },\n \"primaryPhone\": {\n \"countryCode\": \"\",\n \"number\": \"\",\n \"phoneType\": \"\"\n },\n \"secondaryPhone\": {\n \"countryCode\": \"\",\n \"number\": \"\",\n \"phoneType\": \"\"\n },\n \"website\": \"\"\n },\n \"individualAccount\": {\n \"email\": \"\",\n \"firstName\": \"\",\n \"lastName\": \"\",\n \"primaryPhone\": {\n \"countryCode\": \"\",\n \"number\": \"\",\n \"phoneType\": \"\"\n },\n \"registrationAddress\": {\n \"addressLine1\": \"\",\n \"addressLine2\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"county\": \"\",\n \"postalCode\": \"\",\n \"stateOrProvince\": \"\"\n },\n \"secondaryPhone\": {\n \"countryCode\": \"\",\n \"number\": \"\",\n \"phoneType\": \"\"\n }\n },\n \"registrationMarketplaceId\": \"\",\n \"status\": \"\",\n \"userId\": \"\",\n \"username\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ec43511e-bd22-4d75-8dc9-4734e0f39d9e", "body": "", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a8c76b21-06a0-4c40-aaee-fdbea407e027", "body": "", "latency": 0, "statusCode": 500, "label": "Internal Server Error", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "6e0c098f-c5ac-441e-8590-5f821a683ac3" } ] }