Skip to main content

Customer Management

1 API call in this section.

Get Customer Details​

Express Shipping / Customer / Customer Management
GET/express-shipping/customer/GAL1704067200000

Retrieve customer details by customer ID. Returns comprehensive customer information including delivery address.

Path parameters

ParameterTypeDescription
customer_idRequiredstring

Customer identifier (e.g., GAL1704067200000)

Query parameters

ParameterTypeDescription
languageOptionalstring

Preferred language for response messages (en, ar, ku)

Example: en

Headers

ParameterTypeDescription
Authorizationstring

Example: Bearer {{access_token}}

Staging
Request
curl
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/express-shipping/customer/GAL1704067200000?language=en" \2  --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"

Response examples

200OK
Response body
json
1{2  "success": true,3  "data": {4    "customer_id": "GAL1704067200000",5    "full_name": "John Doe",6    "email": "john.doe@example.com",7    "phone": "+919876543210",8    "delivery_address": {9      "lat": 19.076,10      "lng": 72.8777,11      "full_address": "123 Main Street, Andheri West, Mumbai, Maharashtra 400058, India",12      "address_line1": "123 Main Street",13      "address_line2": "Apt 4B",14      "street": "Main Street",15      "building": "Sunrise Apartments",16      "floor": "4th Floor",17      "city": "Mumbai",18      "state": "Maharashtra",19      "country": "India",20      "postal_code": "400058",21      "notes": "Near the temple, blue building with security guard"22    },23    "is_verified": true,24    "status": "verified",25    "verified_at": "2024-01-01T12:00:00Z",26    "created_at": "2024-01-01T10:00:00Z"27  }28}