# GetMerchantsByPlanInput

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

Input for the plan-side assignments query: the merchants whose
`BillingAssignment.PricePlanId` equals `pricePlanId` within the plan's
reseller and every reseller beneath it. Continuation-token paged. Backs the plan-side
Assignments tab.

## Fields
- `pricePlanId` (string(uuid)) required: The price plan whose assigned merchants are being listed.
- `resellerId` (string(uuid)) required: The reseller that owns the price plan. Its merchants and those of every reseller beneath it  are scanned. Resolved server-side from the plan on the calling page: never trusted from  arbitrary client input beyond scoping the read, which the caller must be authorized for.
- `maxResultCount` (integer(int32)): The maximum number of items to return in a single page. (min 1, max 1000)
- `continuationToken` (string): Continuation token from a previous page; null for the first page. (nullable)
- `searchTerm` (string): Optional free-text merchant-name filter for the assign-candidate typeahead. Applied  server-side as an indexable `Name Contains` predicate alongside the reseller-subtree  scope; null/blank returns the first page unfiltered. Used by  `GetAssignableMerchantsAsync` only. (nullable)

## See also

- [All documentation](https://devportal.demo.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
