Counts the merchant groups that match a filter.
POST
/api/merchant-groups/list/continuation/count
deprecated
Requires: Merchants.MerchantGroups, merchant scope.
Takes the same request body as the continuation list endpoint and returns how many merchant groups match it, without returning the records themselves. The count is approximate and is intended to sit alongside a paged list, so treat it as a display figure rather than a reconciliation total.
Signed in, you can send this request to your own sandbox merchant from the console and read the answer. Sign in to try it.
Example request
Every block below sends the same request. Replace {{BASE_URL}} with the address of the API you are calling and {{API_KEY}} with your own key.
The request body is a GetMerchantGroupContinuationInput. See the Request body section below for its fields.
Parameters
Request body
application/json
, required
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
color
required |
MerchantGroupColor MerchantGroupColor | Only groups with this color.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
scope
required |
EntityScopeKind EntityScopeKind | Only groups with this owner kind: `Tenant` for administrators' groups, `Reseller` for
resellers' groups.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
resellerId
required |
string (uuid) | Only groups owned by this reseller.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
filter
required |
FilterGroup FilterGroup | The grid's composed chip, search, and summary filters.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
Fields of FilterGroup:
This body has no documented fields. | ||||||||||||||||||||
maxResultCount
required |
integer (int32) | Page size.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
continuationToken
required |
string | Continuation token for the next page, as returned by the previous page.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
sorting
required |
SortDescriptor SortDescriptor | Sort field and direction. Defaults to the name, A to Z.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
Fields of SortDescriptor:
This body has no documented fields. | ||||||||||||||||||||
maxCreationTime
required |
string (date-time) | Upper bound on creation time.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
minCreationTime
required |
string (date-time) | Lower bound on creation time.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
maxModificationTime
required |
string (date-time) | Upper bound on last modification time.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
maxModifitionTime
required |
string (date-time) | Deprecated misspelled alias of `maxModificationTime`.
nullabledeprecated
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
minModificationTime
required |
string (date-time) | Lower bound on last modification time.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
minModifitionTime
required |
string (date-time) | Deprecated misspelled alias of `minModificationTime`.
nullabledeprecated
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
includeDeleted
required |
boolean | Include deleted groups, so a deleted group can be restored from the grid.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
includeInactive
required |
boolean | Has no effect: groups have no active flag. Present because the paging contract declares it.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
includeApproxTotalCount
required |
boolean | Set to false to skip the approximate total count query and receive a null count; omit the
value or set it to true to receive the count.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||||||||||||||
This request body has no documented fields.
Responses
Errors
A failed request returns the platform error envelope. The
error reference lists every value
error.code can carry and shows the four response shapes.
Authentication
ApiKeywith scopes