Skip to main content
GET
/
customer
/
{customerId}
/
get
Get Organization By Customer Id
curl --request GET \
  --url https://apigw.bienport.com/api/customer/{customerId}/get \
  --header 'Authorization: <authorization>' \
  --header 'OrganizationId: <organizationid>'
{
  "id": "154613",
  "name": "D** Y**",
  "contactMedium": [
    {
      "characteristic": {
        "city": "ŞANLIURFA",
        "country": "TÜRKİYE",
        "phoneNumber": "905XXXXXXXXX",
        "socialNetworkId": "11111111111",
        "street1": "adres"
      }
    }
  ],
  "engagedParty": {
    "id": "456789",
    "name": "<string>"
  }
}

Headers

Authorization
string
required

Access Token

OrganizationId
string
required

Organization ID

Path Parameters

customerId
integer
required

customerId

Response

Successful Operation. If customer exist return ERPCustomer else return ErrorDataResult( "Customer not found by id 154613")

A customer is who buying product and services.

id
string
Example:

"154613"

name
string
Example:

"D** Y**"

contactMedium
ContactMedium · object[]
engagedParty
object

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