Contact

Get all supplier contacts

get
/supplier/contacts/list

Retrieves the list of all supplier contacts with optional pagination.

Query parameters
limitintegerOptional

Number of results to return per page.

offsetintegerOptional

Number of results to skip (for pagination).

countintegerOptional

Flag to determine if the count of contacts should be included.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved the supplier contact list.

get
/supplier/contacts/list
GET /backend/api/supplier/contacts/list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully Get All supplier Contact List</message>
</object>

Create supplier contact

post
/supplier/create-contact

Creates a contact for a specific supplier.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Body
namestringRequired

The name of the contact.

supplierIdinteger · int32Required

The ID of the supplier the contact belongs to.

positionstringRequired

The position of the contact in the supplier organization.

statusinteger · int32Required

The status of the contact (active/inactive).

emailstringRequired

The email address of the contact.

mobilestringRequired

The mobile number of the contact.

Responses
200

Successfully created the supplier contact.

post
/supplier/create-contact
POST /backend/api/supplier/create-contact HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 90

"name='text'&supplierId=1&position='text'&status=1&email='text'&mobile='text'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully Supplier Contact Created.</message>
</object>

Get a specific supplier contact

get
/supplier/contact/{id}

Fetches details of a specific supplier contact based on the provided contact ID.

Path parameters
idintegerRequired

The ID of the supplier contact to retrieve.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved the supplier contact.

get
/supplier/contact/{id}
GET /backend/api/supplier/contact/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully Get supplier Contact</message>
</object>

Update a specific supplier contact

put
/supplier/contact/{id}

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

Path parameters
idintegerRequired

The ID of the supplier contact to update.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Body
idintegerOptional

The ID of the supplier contact

Example: 56
namestringOptional

The name of the contact

Example: test
supplierIdintegerOptional

The ID of the associated supplier

Example: 32
positionstringOptional

The position of the contact

Example: 3
statusintegerOptional

The status of the contact (active or inactive)

Example: 0
emailstringOptional

The email address of the contact

Example: [email protected]
mobilestringOptional

The mobile number of the contact

Example: 5345463636
Responses
200

Successfully updated the supplier contact.

put
/supplier/contact/{id}
PUT /backend/api/supplier/contact/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 112

"id=56&name='test'&supplierId=32&position='3'&status=0&email='[email protected]'&mobile='5345463636'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Supplier Contacts Updated Successfully.</message>
</object>

Delete a specific supplier contact

delete
/supplier/contact/{id}

Deletes the details of a specific supplier contact based on the contact ID.

Path parameters
idintegerRequired

The ID of the supplier contact to delete.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully deleted the supplier contact.

delete
/supplier/contact/{id}
DELETE /backend/api/supplier/contact/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Supplier Contact Deleted successfully.</message>
</object>

Last updated