get
https://wateer.com.sa/api/v2/vendor/customer
This is your first endpoint! Edit this page to start documenting your API.
Customer Receipt Details API
Endpoint
GET /api/v2/vendor/customer?bill_id=123456F-TG
Retrieves customer information associated with a specific receipt/bill.
Request
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bill_id | string | Yes | The receipt/bill ID |
Headers
Authorization: Bearer token (JWT authentication required)
Response
Success (200 OK)
Returns customer data associated with the receipt.
{
"id": 123,
"name": "ABDALLAH",
"phone": "+96612345679",
// ... other customer fields
}