Skip to navigation

Add New Vendor

View as Markdown

Add Vendor

This API facilitates the addition of a vendor to the DIce.

By utilizing this endpoint, you can seamlessly add a new vendor to the Dice database.

Request Body

ParamRequiredTypeDescription
idMandatoryStringThe unique identifier for the vendor.
connectionMandatoryStringThe connection information for the vendor.
basic.nameMandatoryStringThe name of the vendor.
basic.tradeNameMandatoryStringThe trade name of the vendor.
basic.emailMandatoryStringThe email address of the vendor.
basic.mobileMandatoryStringThe mobile number of the vendor.
basic.currencyMandatoryStringThe currency used by the vendor.
address.addressMandatoryStringThe address of the vendor.
address.cityMandatoryStringThe city of the vendor.
address.contactMandatoryStringThe contact information for the vendor.
address.pincodeMandatoryStringThe pin code of the vendor.
address.latOptionalNumberThe latitude coordinate of the vendor’s location.
address.lngOptionalNumberThe longitude coordinate of the vendor’s location.
bank.accountOptionalStringThe bank account number of the vendor.
bank.ifscOptionalStringThe IFSC code of the vendor’s bank.
bank.nameOptionalStringThe name associated with the bank account.
bank.bankNameOptionalStringThe name of the vendor’s bank.
others.msmeOptionalStringAdditional MSME information for the vendor.
others.msmeNumberOptionalStringThe MSME number for the vendor.
others.categoriesMandatoryArrayThe categories associated with the vendor.
others.paymentTermsOptionalObjectThe payment terms for the vendor.
tax.gstOptionalStringThe GST number of the vendor.
tax.gstinCertificateOptionalStringThe GSTIN certificate for the vendor.
tax.panOptionalStringThe PAN number of the vendor.
validGstOptionalBooleanIndicates whether the GST number is valid.
validMobileOptionalBooleanIndicates whether the mobile number is valid.
validPanOptionalBooleanIndicates whether the PAN number is valid.
roleListOptionalArrayRoleList of Vendor
paymentTermOptionalNumberVendor payment terms in Days

Response

  • success (boolean): Indicates whether the vendor addition was successful.

Example

{
"success": true
}

Headers

DICE-APP-IDstringOptional
Company Code of client
X-CLIENT-IDstringOptional
API Client ID
X-CLIENT-SECRETstringOptional
API Client Secret

Request

This endpoint expects an object.
requestobjectRequired
paymentTermintegerRequired
roleListlist of anyRequired

Response

OK
successboolean