Seller Group

Get seller group count

get
/vendor-group/vendor-group-count

Retrieves the count of all seller groups

Responses
200

Successfully retrieved the seller group count

get
/vendor-group/vendor-group-count
GET /backend/api/vendor-group/vendor-group-count HTTP/1.1
Host: 139.59.67.17
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got the seller group count</message>
</object>

Get vendor category list

get
/category

Retrieves the list of vendor categories with optional filters

Query parameters
limitintegerOptional

Number of categories to return

offsetintegerOptional

The offset for pagination

countintegerOptional

Whether to return the count of categories

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully retrieved vendor category list

get
/category
GET /backend/api/category HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got the vendor category list.</message>
</object>

Get vendor group details

get
/vendor-group/vendor-group-details/{id}

Retrieves the details of a specific vendor group by its ID

Path parameters
idintegerRequired

ID of the vendor group

Query parameters
idintegerRequired

ID of the vendor group

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully retrieved vendor group details

get
/vendor-group/vendor-group-details/{id}
GET /backend/api/vendor-group/vendor-group-details/{id}?id=1 HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got seller group details</message>
</object>

Update vendor group

put
/vendor-group/{id}

Updates the details of a specific vendor group by its ID

Path parameters
idintegerRequired

ID of the vendor group

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
namestringOptionalExample: test
commissionstringOptionalExample: 3.00
categoryIdsinteger[]OptionalExample: [1424]
statusintegerOptionalExample: 1
groupIdstringOptionalExample: 39
Responses
200

Successfully updated vendor group

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

"name='test'&commission='3.00'&categoryIds=[1424]&status=1&groupId='39'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Seller Group updated successfully</message>
</object>

Delete vendor group

delete
/vendor-group/{id}

Deletes a specific vendor group identified by its ID

Path parameters
idintegerRequired

ID of the vendor group to delete

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully deleted vendor group

delete
/vendor-group/{id}
DELETE /backend/api/vendor-group/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Seller group deleted successfully</message>
</object>

Last updated