Returns a list of billing units based on the specified filters.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Query parameters
-
Target contact ID filter.
Multi-value supported. Example: value1;value2 -
Billing unit ID filter.
Multi-value supported. Example: value1;value2 -
Billing unit name filter
-
Organization ID the billing unit belongs to.
Multi-value supported. Example: value1;value2 -
Billing unit type filter
Values are
ORGANIZATION,EMPLOYEE, orPERSON.
GET
/api-v1/billing
curl \
--request GET 'https://wyzio.app/api-v1/billing'
Response examples (200)
[
{
"id": 42,
"targetContactId": 42,
"unitId": 42,
"unitName": "string",
"unitOrganizationId": 42,
"unitType": "ORGANIZATION"
}
]