{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/UserResponse",
"title": "UserResponse",
"type": "object",
"properties": {
"accountType": {
"type": "string",
"description": "Indicates the user account type. This is determined when the user registers with eBay. If they register for a business account, this value will be BUSINESS. If they register for a private account, this value will be INDIVIDUAL. This designation is required by the tax laws in the following countries:
EBAY_AT, EBAY_BE, EBAY_CH, EBAY_DE, EBAY_ES, EBAY_FR, EBAY_GB, EBAY_IE, EBAY_IT, EBAY_PL
Valid Values: BUSINESS or INDIVIDUAL
Code so that your app gracefully handles any future changes to this list. For implementation help, refer to eBay API documentation"
},
"businessAccount": {
"description": "The container that returns the business account information of the user.",
"$ref": "#/components/schemas/BusinessAccount"
},
"individualAccount": {
"description": "The account information of the user.",
"$ref": "#/components/schemas/IndividualAccount"
},
"registrationMarketplaceId": {
"type": "string",
"description": "The eBay site on which the account is registered. For implementation help, refer to eBay API documentation"
},
"status": {
"type": "string",
"description": "Indicates the user's account status. Possible values: CONFIRMED, UNCONFIRMED, ACCOUNTONHOLD and UNDETERMINED. For implementation help, refer to eBay API documentation"
},
"userId": {
"type": "string",
"description": "The eBay immutable user ID of the user's account and can always be used to identify the user."
},
"username": {
"type": "string",
"description": "The user name, which was specific by the user when they created the account.
Note: This value can be changed by the user."
}
},
"description": "The type that defines the fields for the getUser method."
}