Retrieve a customer
Look up a customer by their public identifier in Raims.
Looks up a customer by the public identifier received when creating or listing
customers. Use the id returned by the API without changes. The customer
must belong to the authenticated company and environment.
See how to use the identifier in your integration in Retrieve a customer.
Path Params
The customer's public ID in Raims, returned when the customer is created or listed.
Up to 100 characters
Responses
Response Body
Customer found.
Public customer identifier.
Customer's full name.
Customer's first name.
Rest of the customer's name.
Customer's email.
Customer's CPF or CNPJ.
Tax ID type: cpf or cnpj.
Phone's international dialing code.
Phone number without the dialing code, digits only.
Address postal code.
Street.
Address number.
Address complement, when provided.
Neighborhood.
City.
State abbreviation.
Creation time in Unix UTC seconds.
Record update time in Unix UTC seconds.
Customer identifier in your system, when provided.
Integration data associated with the resource. Returns {} when there are no values. This map is not used as a search filter or automatically included in webhook events.
Response Body
Invalid customer ID. Check the id field and the explanation in error.details.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
Response Body
No customer was found for the given id in the authenticated company and environment. Check the ID.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
For common errors, see HTTP response codes.