# NewVendorInput

input type

Create-input for a Vendor. The tenant (org group) is derived SERVER-SIDE from the principal — NEVER supplied here.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `caption` | [String](/types/#scalars) | no | Optional: when omitted the per-type default applies — the merchant code when given, else 'Vendor'; when supplied it must be non-blank. |
| `code` | [String](/types/#scalars) | no | No further notes. |

## Used by

- [createVendor](/reference/vendor/createVendor/)
