System
1 API call in this section.
Health Check
Express Shipping / Customer / System
GET
/express-shipping/healthCheck the health status of the Express Shipping API service and get available endpoints.
Query parameters
| Parameter | Type | Description |
|---|---|---|
languageOptional | string | Preferred language for response messages (en, ar, ku) Example: |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
Request
curl
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/express-shipping/health?language=en" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
200OK
Response body
json
1{2 "success": true,3 "message": "Express Shipping API is running",4 "timestamp": "2024-01-01T12:00:00Z",5 "endpoints": [6 "POST /express-shipping/customer/register - Register customer with comprehensive address",7 "POST /express-shipping/customer/verify-otp - Verify OTP sent to phone",8 "POST /express-shipping/customer/resend-otp - Resend OTP to phone",9 "GET /express-shipping/customer/{customer_id}?tenant_id=xxx - Get customer details"10 ]11}