# MerchantGroupDto

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

A merchant group: a named label an administrator or a reseller defines to sort and report on its
merchants.

## Fields
- `id` (string(uuid))
- `creationTime` (string(date-time)): The date and time when this entity was created.
- `creatorId` (string(uuid)): The ID of the user who created this entity. (nullable)
- `lastModificationTime` (string(date-time)): The date and time when this entity was last modified. (nullable)
- `lastModifierId` (string(uuid)): The ID of the user who last modified this entity. (nullable)
- `isDeleted` (boolean): Indicates whether this entity has been deleted.
- `deleterId` (string(uuid)): The ID of the user who deleted this entity, if it is deleted. (nullable)
- `deletionTime` (string(date-time)): The date and time when this entity was deleted, if it is deleted. (nullable)
- `name` (string): The group's name, unique within its owner ignoring case. (nullable)
- `description` (string): An optional description of what the group is for. (nullable)
- `color` ([MerchantGroupColor](https://docs.winkpg.io/docs/api/models/MerchantGroupColor.md)): The color the group's badge is drawn in.
  Values:
  - `Gray`: Gray.
  - `Blue`: Blue.
  - `Teal`: Teal.
  - `Green`: Green.
  - `Amber`: Amber.
  - `Orange`: Orange.
  - `Red`: Red.
  - `Purple`: Purple.
  - `Pink`: Pink.
- `scope` ([EntityScopeKind](https://docs.winkpg.io/docs/api/models/EntityScopeKind.md)): Who owns the group: `Tenant` for a group an administrator created, which only administrators see, or `Reseller` for a group that belongs to the reseller in `resellerId`. Read only: set by the server when the group is created, from the caller's role, and never changed.
  Values:
  - `Merchant`: Row applies to a single merchant. MerchantId must be non-null.
  - `Reseller`: Row applies to a reseller and (by entity-specific semantics) its descendants. ResellerId must be non-null.
  - `Tenant`: Row applies tenant-wide. Visible only to unscoped (admin) callers.
- `resellerId` (string(uuid)): The reseller that owns the group, or null for a group an administrator created. Read only, like `scope`. (nullable)
- `concurrencyStamp` (string): Send this value back on an update so a concurrent change is detected. (nullable)

## See also

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