Vendor
Class name: Vendor
| Property | Type | Description | Required |
|---|---|---|---|
| businessName | string | The name of the vendor's business | Yes |
| businessType | enum | The type of business the vendor is in. Possible values: soleProprietorship, partnership, limitedLiabilityCompany | Yes |
| string | The email address of the vendor. Passed down from the user account | Yes | |
| businessAddress | Address | The address of the vendor's business | Yes |
| idType | enum | The type of ID the vendor has. Possible values: nationalId, passport, drivingLicense | Yes |
| taxId | string | The tax ID of the vendor | Yes |
| bankDetails | BankDetails | The bank account number of the vendor | Yes |
| payoutMethod | enum | The payout method of the vendor. Possible values: bankTransfer, mobileMoney | Yes |
| description | string | A description of the vendor. 300 characters max | No |
| links | Links[] | An array of external links related to the vendor | No |
| emergencyContact | Contact | The emergency contact of the vendor | No |
| rating | number | The rating of the vendor. A double value | No |
| status | enum | The status of the vendor. Possible values: pending, approved, rejected. Defaults to pending | No |
| logo | string | The ID of the vendor's logo | No |
| coverImage | string | The ID of the vendor's cover image | No |