- Print
- DarkLight
Retrieve a given customer by id
Retrieve a given customer by id
The id of the customer to retrieve
Customer with matching id
Block that allows for the arbitary passing of metadata alongside an entity
Can be any value - string, number, boolean, array or object
Invalid request
Response body, based upon RFC-9457 specification, for 400 error codes
Array contain the reason(s) for why the request being invalid
Short human readable explaination for the violation
JSON string containing a human-readable explanation specific to this occurrence of the problem.
Consumers should not parse this property to extract information, but instead should rely on extension properties.
Invalid authentication token
Response body, based upon RFC-9457 specification, for 401 error codes
Invalid authorization permissions
Response body, based upon RFC-9457 specification, for 403 error codes
Customer not found
Response body, based upon RFC-9457 specification, for 404 error codes
Internal server error
Error response body, as defined in RFC-9457. Please refer to the specification for more detail on each of the properties.
Other properties can be provided, Extensions, to provide more detailed information for consumers, such as balance in a credit based error.
URI reference that identifies the problem type, which consumer must use as the problem type's primrary identifier.
Relative URI's can be used; however, fully qualified URI's are preferred to avoid confusion, as implementations may not handle relative URIs correctly.
HTTP status code generated by the origin server.
This value, if provided, should match the HTTP status code sent by the server. But this disagree on the consumer, due to intermediaries such as proxies and caches.
Short, human-readable summary of the problem type
JSON string containing a human-readable explanation specific to this occurrence of the problem.
Consumers should not parse this property to extract information, but instead should rely on extension properties.
JSON string containing a URI reference that identifies the specific occurrence of the problem.