Create vendor invitations to onboard new vendors to your organization
application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Vendor name (1-255 characters) |
email | string | Yes | Vendor email address (must be valid email format) |
phone | string | No | Vendor phone number (must include country code, e.g., +919876543210) |
locality | string | No | Vendor locality type. Valid values: DOMESTIC, INTERNATIONAL. Defaults to DOMESTIC if not provided |
sendEmail | boolean | No | Whether to send an email invitation to the vendor. Defaults to false if not provided |
200 OK
Response Fields:
| Field | Type | Description |
|---|---|---|
ok | boolean | Indicates whether the request was successful |
data | object | Contains the vendor invite creation response data |
data.inviteLink | string | Unique invitation link that can be shared with the vendor to complete their onboarding. The vendor can use this link to access the invitation form |
sendEmail is set to true, the invitation email will be sent automatically to the vendor’s email address. Otherwise, you can share the inviteLink manually.400 Bad Request
400 Bad Request
400 Bad Request
400 Bad Request
Duplicate Phone Number:
400 Bad Request
401 Unauthorized
403 Forbidden
400 Bad Request or 500 Internal Server Error
sendEmail: true if you want automatic email deliverysendEmail: false, share the inviteLink manually with the vendor