# MerchantRegisterWriteResultDto

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

The outcome of a single-register create or update: the persisted register, its owner, whether the
write created it, and the merchant's concurrency stamp afterwards.

## Fields
- `merchantId` (string(uuid)): The merchant that owns the register.
- `register` ([MerchantRegisterDto](https://devportal.demo.winkpg.io/docs/api/models/MerchantRegisterDto.md)): The register as persisted, including the server-owned `id` and `legacyNumber`.
  Fields:
  - `id` (string(uuid))
  - `friendlyId` (string) required: A user-friendly identifier for this register. Required. (nullable, min length 3, max length 20)
  - `name` (string): A unique name for this register. Optional. (nullable)
  - `description` (string): A brief description of this register and/or its purpose. Optional. (nullable, max length 40)
  - `enabled` (boolean)
  - `terminal1` ([RegisterTerminal](https://devportal.demo.winkpg.io/docs/api/models/RegisterTerminal.md))
  - `terminal2` ([RegisterTerminal](https://devportal.demo.winkpg.io/docs/api/models/RegisterTerminal.md))
  - `terminal3` ([RegisterTerminal](https://devportal.demo.winkpg.io/docs/api/models/RegisterTerminal.md))
  - `terminal4` ([RegisterTerminal](https://devportal.demo.winkpg.io/docs/api/models/RegisterTerminal.md))
  - `terminal5` ([RegisterTerminal](https://devportal.demo.winkpg.io/docs/api/models/RegisterTerminal.md))
  - `legacyNumber` (integer(int64)): The integer key the v1 API addresses this register by (its `RegisterKey`). Server-owned:  allocated once, when the register is first saved, and never reassigned. (nullable)
- `created` (boolean): `true` when the write added a register, `false` when it  replaced an existing one. Lets a caller that publishes distinct create and update verbs report  the right one without comparing collections before and after.
- `merchantConcurrencyStamp` (string): The owning merchant's concurrency stamp after the write. (nullable)

## See also

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