Skip to main content

CRM identification

POST{{server}}/api/v1/smart/identify?branch={{branch}}

This endpoint identifies the customer by an ID in the CRM.

Response

It returns the customer data if it's found. Otherwise 204 or error.

Request​

Authorization​

HeaderValue
AuthorizationSmartToken {{smartToken}}

Headers​

KeyValue
Acceptapplication/json

Query parameters​

KeyValue
branch{{branch}}

Body (json)​

{
"id": "12345678"
}

Code snippets​

curl -X POST '{{server}}/api/v1/smart/identify?branch={{branch}}' \
-H 'Accept: application/json' \
-H 'Authorization: SmartToken {{smartToken}}' \
-H 'Content-Type: application/json' \
-d '{
"id": "12345678"
}'

Examples (2)​

Example request
POST{{server}}/api/v1/smart/identify?branch={{branch}}
Query parameters (1)
KeyValue
branch{{branch}}
Headers (1)
KeyValue
Acceptapplication/json
Body
{
"id": "12345678"
}
Example response 204 No Content
No response body