Supplier

Get list of suppliers

get
/supplier

Retrieves a list of suppliers with optional query parameters for filtering and pagination.

Query parameters
limitintegerOptional

The number of results to return.

Default: 10
offsetintegerOptional

The starting point for the result set.

Default: 0
keywordstringOptional

The keyword to search suppliers by.

supplierNamestringOptional

The name of the supplier to search for.

countryNamestringOptional

The country of the supplier.

categoryNamestringOptional

The category of the supplier.

mobileNumberstringOptional

The mobile number associated with the supplier.

createdDatestring · dateOptional

The date when the supplier was created.

countintegerOptional

Optional parameter to toggle count behavior.

Default: 0
Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
chevron-right
200

Successfully retrieved the list of suppliers.

get
/supplier

Create a new supplier

post
/supplier

Creates a new supplier entry with the provided details.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Body
supplierNamestringOptional
taxIdstringOptional
addressstringOptional
countryIdintegerOptional
websitestringOptional
mobilestringOptional
notesstringOptional
categoryIdintegerOptional
commentsstringOptional
statusintegerOptional
tagsstringOptional
Responses
chevron-right
200

Successfully created a new supplier.

post
/supplier

Get list of countries

get
/list/country-list

Retrieves a list of all available countries.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
chevron-right
200

Successfully retrieved the list of countries.

get
/list/country-list

Get list of categories

get
/list/category

Retrieves a list of all available categories.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
chevron-right
200

Successfully retrieved the list of categories.

get
/list/category

Get details of a supplier

get
/supplier/{id}

Retrieves the details of a specific supplier by their ID.

Path parameters
idintegerRequired

The ID of the supplier to retrieve.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
chevron-right
200

Successfully retrieved the supplier details.

get
/supplier/{id}

Update supplier details

put
/supplier/{id}

Updates the details of a specific supplier based on their ID.

Path parameters
idintegerRequired

The ID of the supplier to update.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Body
supplierNamestringOptional
taxIdstringOptional
addressstringOptional
countryIdintegerOptional
websitestringOptional
mobilestringOptional
notesstringOptional
categoryIdintegerOptional
commentsstringOptional
statusintegerOptional
tagsstringOptional
idintegerOptional
contactDeleteIdinteger[]Optional
uploadDeleteIdinteger[]Optional
Responses
chevron-right
200

Successfully updated the supplier details.

put
/supplier/{id}

Delete a supplier

delete
/supplier/{id}

Deletes a specific supplier based on the supplied supplier ID.

Path parameters
idintegerRequired

The ID of the supplier to delete.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
chevron-right
200

Successfully deleted the supplier.

delete
/supplier/{id}

Get list of vendor documents

get
/vendor-document/document

Fetches a list of documents associated with the vendor.

Responses
chevron-right
200

Successfully retrieved the list of vendor documents.

get
/vendor-document/document

Upload a file (image, document, etc.)

post
/media/upload-file

Uploads a media file (image or document) to a specific path.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Body
filestring · binaryRequired

The file to be uploaded (image or document).

fileNamestringRequired

The name of the file being uploaded.

fileTypeinteger · int32Required

The type of the file (e.g., image, document).

pathstringRequired

The path where the file should be stored on the server.

imagestringOptional

The image content, can be base64 encoded (if file is an image).

documentIdinteger · int32Optional

An identifier for the document (if applicable).

Responses
chevron-right
200

Successfully uploaded the media file.

post
/media/upload-file

Last updated