Search customer

If you don't have the unique customer id as saved in your Notify administration, you can search it with the customer code form your own administration.

Search customer

GET https://api.notify.cm/v2/customers/search

Authentication: API keys

Path Parameters

Name
Type
Description

Authorization

string

Your test or live API key

Request Body

Name
Type
Description

Customer

string

Search by your original customerCode

HTTP/1.1 200 OK
Content-Type: application/hal+json

{
        "resource": "customer",
        "id": "a0f0660d-6c8d-422b-8114-e363b260521e",
        "customerCode":"10001"
}

Example

curl -X GET https://api.notify.cm/v2/customers/search \
   -H "Authorization: Bearer test_R7HQ9QpXgx8J32rW9X9UyXjgfNk6C7TQ2UD8M5rwf8vVnYxnSETvSuEC6SKFW8Ug" \
   -d "customer=10001"

Response

HTTP/1.1 200 OK
Content-Type: application/hal+json

{
        "resource": "customer",
        "id": "a0f0660d-6c8d-422b-8114-e363b260521e",
        "customerCode":"10001"
}

Last updated

Was this helpful?