@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Identity API
@base https://apiz.ebay.com/commerce/identity/v1
@version v2.0.0
@auth OAuth2
@endpoints 1
@toc user(1)

@endpoint GET /user/
@returns(200) {accountType: str, businessAccount: map{address: map{addressLine1: str, addressLine2: str, city: str, country: str, county: str, postalCode: str, stateOrProvince: str}, doingBusinessAs: str, email: str, name: str, primaryContact: map{firstName: str, lastName: str}, primaryPhone: map{countryCode: str, number: str, phoneType: str}, secondaryPhone: map{countryCode: str, number: str, phoneType: str}, website: str}, individualAccount: map{email: str, firstName: str, lastName: str, primaryPhone: map{countryCode: str, number: str, phoneType: str}, registrationAddress: map{addressLine1: str, addressLine2: str, city: str, country: str, county: str, postalCode: str, stateOrProvince: str}, secondaryPhone: map{countryCode: str, number: str, phoneType: str}}, registrationMarketplaceId: str, status: str, userId: str, username: str}
@errors {404, 500}

@end
