# Customers

The customers endpoint allows you to create, update or search for customers through various parameters depending on your configuration.

Depending on your configuration, the API may take or return additional fields in the extendedProperties object. 

To get an example of your specific integration, please contact our support team.

 - [GET /customers](https://dev.triggloyalty.com/openapi/customers/getcustomerbymobilephone.md): This method allows the client to search for a customer by a mobile phone number. Example: `+4712345678` The response sample below shows the default response, but depending on your configuration the AP
 - [POST /customers](https://dev.triggloyalty.com/openapi/customers/createcustomer.md): The request sample(s) below shows the default payload and one minimum required payload. Depending on your configuration, the API may take or return additional fields in the extendedProperties object
 - [PUT /customers](https://dev.triggloyalty.com/openapi/customers/updatecustomer.md): The request sample(s) below shows the default payload and one minimum required payload. Depending on your configuration, the API may take or return additional fields in the extendedProperties object
 - [PUT /customers/externalId](https://dev.triggloyalty.com/openapi/customers/updatecustomerbyexternalid.md): The request sample(s) below shows the default payload and one minimum required payload. Depending on your configuration, the API may take or return additional fields in the extendedProperties object
 - [GET /customers/id/{id}](https://dev.triggloyalty.com/openapi/customers/getcustomerbyid.md): This method allows the client to search for a customer by a unique id Example: `226B14AF-18A6-44CF-834E-BE4BCA5D64B7` The response sample below shows the default response, but depending on your config
 - [GET /customers/externalId/{id}](https://dev.triggloyalty.com/openapi/customers/getcustomerbyexternalid.md): This method allows the client to search for a customer by an external Id Example: `B9012E40-1B08-4DC5-84F9-BB8E2653B2A6` The response sample below shows the default response, but depending on your con
 - [GET /customers/changed/{timestamp}](https://dev.triggloyalty.com/openapi/customers/getchangedcustomerslist.md): Returns a list of changed customers since given timestamp. Default (empty parameter) is since last day.
 - [DELETE /customers/id/{id}/source/{source}](https://dev.triggloyalty.com/openapi/customers/deletecustomer.md): Method that let's you delete a customer by Id
 - [DELETE /customers/externalId/{externalId}/source/{source}](https://dev.triggloyalty.com/openapi/customers/deletecustomerbyexternalid.md): Method that let's you delete a customer by an external id
 - [GET /customers/email/{email}](https://dev.triggloyalty.com/openapi/customers/getcustomerbyemail.md): This method allows the client to search for a customer by email address `Note: Special characters such as '+'' must be encoded. Example: +=%2B` The response sample below shows the default response, bu
 - [POST /customers/prospects](https://dev.triggloyalty.com/openapi/customers/createprospect.md): This endpoint creates a new customer prospect record in the system. It accepts either email or mobilePhone in the request body and returns the created customer id upon success. Depending on
 - [POST /customers/dynamic/{function}](https://dev.triggloyalty.com/openapi/customers/postcustomerdynamic.md): This method is fully dynamic both in request/response and is available for specific client customizations on the customer endpoint.
 - [GET /customers/quarantine](https://dev.triggloyalty.com/openapi/customers/getcustomerquarantinestatus.md): Check if a customer is quarantined by providing their mobile phone number.
