Get customer by UUID.
GET/v1/customers/:uuid
Returns a single customer by UUID. This operation can be accessed by the customer or an admin.
Request
Path Parameters
The UUID of the customer to retrieve.
Unique identifier for the resource.
Responses
- 200
- 400
- 401
- 403
- 422
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
A URL to the JSON Schema for this object.
data
object
required
Date and time the customer was created.
Possible values: non-empty
and <= 80 characters
Name of customer.
Date and time the customer was updated.
Unique identifier for the person
{
"$schema": "string",
"data": {
"created_at": "2024-05-16T15:52:03.554Z",
"name": "string",
"updated_at": "2024-05-16T15:52:03.554Z",
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"status": 0,
"timestamp": "2024-05-16T15:52:03.554Z"
}
Bad Request
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Unauthorized
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Forbidden
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Unprocessable Entity
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Internal Server Error
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}