Skip to main content
POST
/
customer
/
phone
Find Customers By Phone Number
curl --request POST \
  --url https://apigw.bienport.com/api/customer/phone \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'OrganizationId: <organizationid>' \
  --data '
{
  "phoneNumber": "905384752147",
  "identityNumber": "12345678910"
}
'
[
  {
    "id": "154613",
    "name": "D** Y**",
    "contactMedium": [
      {
        "characteristic": {
          "city": "ŞANLIURFA",
          "country": "TÜRKİYE",
          "phoneNumber": "905XXXXXXXXX",
          "socialNetworkId": "11111111111",
          "street1": "adres"
        }
      }
    ],
    "engagedParty": {
      "name": "<string>",
      "id": "456789"
    }
  }
]

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Body

application/json

phoneNum

Request Model for get customer by phone

phoneNumber
string
required

Customer phone number

Example:

"905384752147"

identityNumber
string

Tc identity number.

Example:

"12345678910"

Response

Successful Operation.

id
string
Example:

"154613"

name
string
Example:

"D** Y**"

contactMedium
ContactMedium · object[]
engagedParty
RelatedParty · object

Related Entity reference. A related party defines party or party role linked to a specific entity.