Vendor Invite Creation API
Vendor APIs
Vendor Invite Creation API
Create vendor invitations to onboard new vendors to your organization
Vendor Invite Creation API
Authentication
All requests require an API key in the request headers. Headers:Request
Content-Type:application/json
Body Parameters
Code Examples
Success Response
HTTP Status:200 OK
Response Fields:
Response Example
If
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.Error Responses
Missing Required Fields
HTTP Status:400 Bad Request
Invalid Email Format
HTTP Status:400 Bad Request
Invalid Locality
HTTP Status:400 Bad Request
Duplicate Vendor Errors
HTTP Status:400 Bad Request
Duplicate Phone Number:
Invalid Phone Number
HTTP Status:400 Bad Request
Authentication Errors
HTTP Status:401 Unauthorized
Permission Errors
HTTP Status:403 Forbidden
Vendor Creation Errors
HTTP Status:400 Bad Request or 500 Internal Server Error
Best Practices
Vendor Invitations
- Use
sendEmail: trueif you want automatic email delivery - If
sendEmail: false, share theinviteLinkmanually with the vendor - Ensure vendor contact information (email, phone) is accurate to avoid duplicate errors
- Check for duplicate errors before attempting to create a vendor invite