Catalog
List Products By Operator
Return the purchasable products for a single operator.
Endpoint
GET /api/v1/operators/{operatorId}/products
Path parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
operatorId | operators id | Yes | The operator to inspect |
Route discipline
This is a nested route. The backend explicitly rejects any /api/v1/operators/... path that does not end in /products.
Response
Returns an array of available products for the operator:
{
"success": true,
"data": [
{
"_id": "m176bnddfzcp42fyhkaekker5s83gehh",
"name": "MTNUP2U - Data Bundle",
"operatorId": "kd7ff6sssan1v3d00dbbttwaa57yp27d",
"operatorName": "MTN",
"status": "Available"
}
]
}Response fields
| Field | Type | Notes |
|---|---|---|
_id | string | Product identifier |
name | string | Product name (e.g. "MTNUP2U - Data Bundle") |
operatorId | string | Parent operator ID |
operatorName | string | Operator name (e.g. "MTN") |
status | string | Available or Unavailable |
Errors
404- Operator not found
Sample request
curl -X GET "https://api.netconnectgh.online/api/v1/operators/k57exampleoperator/products" \
-H "X-API-KEY: netconnect_live_your_secret_here" \
-H "Content-Type: application/json"
