Find a Customer Record
Finds a customer record using the record ID or key field.
This endpoint requires the Customers Manager role.
URL
This method returns a single customer record.
When the "queryType" parameter is set to "KeyField", the method looks for a customer record using the specified key field. In this case, recordId
is required.
When queryType
is set to "RecordId", the method returns the customer record using the specified recordId
. In this case, fieldSlug
and fieldValue
are required.
Headers
Request Body
queryType (required): Indicates how to query the customer's table. Supported values: "RecordId" and "KeyField".
recordId (GUID): The ID of the record to fetch. Required when query type is "RecordId".
fieldSlug (text), The slug of the key field to use. Required when query type is "KeyField".
fieldValue: (text), The field value to search.
Response
Success -> 200
Sample response:
See Also
Last updated