Get an Account Member
GET/v2/account-members/:accountMemberID
Get an account member from your store
Request
Path Parameters
accountMemberID stringrequired
The unique identifier of the account member that you want to retrieve.
Responses
- 200
- 404
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
data object
id string
The unique identifier for the account member.
type string
Default value: account_member
The type of the object that is returned.
name string
The name of the account member.
email string
The email address of the account member.
meta object
timestamps object
created_at string
The date the account is created.
updated_at string
The date the account is updated.
links object
self string
A URL to the specific resource.
{
"data": {
"id": "908f7849-60da-4e4a-a3b1-51d4cbe3b953",
"type": "account_member",
"name": "Ron Swanson",
"email": "ron@swanson.com",
"meta": {
"timestamps": {
"created_at": "2021-02-23T09:40:33.882Z",
"updated_at": "2021-02-23T09:40:33.882Z"
}
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/account-members/908f7849-60da-4e4a-a3b1-51d4cbe3b953"
}
}
}
Not Found
- application/json
- Schema
- Example (from schema)
- not-found-error
Schema
- Array [
- ]
errors Error[]required
title stringrequired
A brief summary of the error.
status stringrequired
The HTTP response code of the error.
detail string
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
{
"errors": [
{
"title": "Not Found",
"status": "404",
"detail": "account not found"
}
]
}
Internal server error.
- application/json
- Schema
- Example (from schema)
- internal-server-error
Schema
- Array [
- ]
errors Error[]required
title stringrequired
A brief summary of the error.
status stringrequired
The HTTP response code of the error.
detail string
Optional additional detail about the error.
{
"errors": [
{
"title": "string",
"status": "string",
"detail": "string"
}
]
}
Internal server error
{
"errors": [
{
"title": "Internal Server Error",
"status": "500",
"detail": "there was a problem processing your request"
}
]
}
Loading...