api:customer:resellergroups
Table of Contents
API : Reseller Groups
Introduction
This request returns a list of the customer groups that can be applied to a customer.
Request
| URL | https://api.telecomx.dk/customer/CUSTOMERID/resellergroups | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER, MANAGER, OWNER, RESELLER, RESELLER_ADMIN or ADMIN. | |
Query example
https://api.telecomx.dk/customer/123457890123457890ABCD/resellergroups
Response
| JSON array of objects, where each object contains: | ||
|---|---|---|
| _id | Id | Unique id of the group |
| name | String | Name of the group |
Example
[ { _id: '52f4fd7734697b28ccaf77ec', name: 'Best customers' }, { _id: '1234567890ABCDEF12345678', name: 'Worst customers' ]
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/customer/resellergroups.txt · Last modified: 2023/08/30 11:03 by Per Møller