Get Customer By Id (legacy snake_case compat)
Drop-in replacement for vouch-frontend’s legacy trpc.customer.getCustomerById. Fetches the member from customer-api (requires member:read) and returns the legacy snake_case shape. Licence number is masked unless the caller holds customer_licence:write:all.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Customer in legacy snake_case shape
object
Not sourced from customer-api; always null (see NITRO-1087).
object
Full licence number when the caller holds customer_licence:write:all, otherwise last-4 masked.
Always last-4 masked, regardless of permissions.
object
object
object
object
object
BAD_REQUEST
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailUNAUTHORIZED
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailFORBIDDEN
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailNOT_FOUND
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailCONFLICT
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailUNPROCESSABLE_ENTITY
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailINTERNAL_SERVER_ERROR
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/email