curl --location 'https://stg-gateway.invora.app/api/billing/v2/customers/list' \
--header 'Content-Type: application/json' \
--data '{
"filter": {
"part": {
"accountType": {
"inValues": [
"CUSTOMER_ACCOUNT_TYPE_UNSPECIFIED"
]
},
"activeSubscriptionsCountFrom": 0,
"activeSubscriptionsCountTo": 0,
"billingEntityId": {
"inValues": [
"string"
]
},
"countries": {
"inValues": [
"COUNTRY_CODE_UNSPECIFIED"
]
},
"currencies": {
"inValues": [
"CURRENCY_ENUM_UNSPECIFIED"
]
},
"customerType": "CUSTOMER_TYPE_UNSPECIFIED",
"hasCustomerTypeFilter": true,
"hasTaxIdentificationNumber": true,
"metadata": {
"inValues": [
{
"key": "string",
"value": "string"
}
]
},
"states": {
"inValues": [
"string"
]
},
"withDeleted": true,
"zipcodes": {
"inValues": [
"string"
]
}
},
"textSearch": "string"
},
"sort": {
"rules": [
{
"createdAt": "SORT_DIRECTION_UNSPECIFIED"
}
]
},
"pagination": {
"limit": "string",
"skip": "string",
"cursor": "string"
},
"readMask": "string",
"view": "VIEW_UNSPECIFIED"
}'