get_customer_from_token
Developing
Testing Env
https://taccounting.vodoerp.com
Testing Env
https://taccounting.vodoerp.com
GET
api/v4/customers/get_customer_from_token
Last modified:2025-04-15 15:56:48
note :customer must exist on business to retrieve customer data
HEADERS | description |
---|---|
lang | required string ar,en |
secure-business-key | required string ex: 4765066450c0bd66325.48403130 from accounts system base on business |
apikey | required string ex: efe2db322a53 for make reuest more secure must add apikey in header |
required
string
ex: 1234567 use this value as test |required
string
ex: web use this value as test |required
string
customer token from login or register process |Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://taccounting.vodoerp.comapi/v4/customers/get_customer_from_token' \
--header 'secure-business-key: 4765066450c0bd66325.48403130' \
--header 'platform: web' \
--header 'platform-key: 123333' \
--header 'Accept-Language: ar' \
--header 'apikey: efe2db322a53' \
--header 'customerToken;'
Response Response Example
{
"status": true,
"message": "customer data",
"data": {
"id": 40583,
"integration_id": null,
"integration_method": null,
"uuid": "fb1a9ff0-3cb7-45a3-9ac3-3e96a41f228d",
"business_id": 256,
"related_business_id": null,
"first_name": "allaa_vodo_144",
"last_name": null,
"user_name": null,
"email": "allaa_vodo_185@qodiq.com",
"token": null,
"email_verified_at": null,
"password": "$2y$10$BeF37yrYVN7fmODks0YVkudIr94oaSJEb.3jdXkoSYR.T2vwUeYci",
"phone": "+201092014978",
"address1": null,
"longitude": null,
"latitude": null,
"address2": null,
"address_type": null,
"country_id": 0,
"city": null,
"district": null,
"state": null,
"postcode": null,
"vat_number": null,
"vat_number_check": "0",
"company_name": "",
"currency": null,
"business_identifier": null,
"billing_address": null,
"delivery_address": null,
"credit_limit": null,
"remember_token": null,
"user_type": 1,
"status": 1,
"started_balance": null,
"customer_type": "reservation",
"reservation_cust_id": null,
"image": "",
"send_confirm_message": 1,
"bank_name": null,
"bank_account_number": null,
"bank_iban_number": null,
"commercial_register": null,
"user_cat_id": 0,
"kiosk_code": null,
"kiosk_token": "nnn123456",
"user_kiosk_token": null,
"kiosk_code_verified_at": null,
"job": "",
"login_token": null,
"created_at": "2025-02-19T17:10:11.000000Z",
"updated_at": "2025-04-15T15:51:22.000000Z",
"deleted_at": null
},
"errors": []
}
Request
Header Params
secure-business-key
stringÂ
optional
Example:
4765066450c0bd66325.48403130
platform
stringÂ
optional
Example:
web
platform-key
stringÂ
optional
Example:
123333
Accept-Language
stringÂ
optional
Example:
ar
apikey
stringÂ
optional
Example:
efe2db322a53
customerToken
stringÂ
optional