Manage Products

Get seller product list

get

Retrieves a list of products associated with sellers.

Query parameters
limitintegerOptional

Number of products to return per page.

offsetintegerOptional

Pagination offset for product retrieval.

countintegerOptional

Include total count (0 = no, 1 = yes).

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Successfully retrieved seller product list

get
GET /backend/api/admin-vendor-product HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>text</message>
</object>

Approve or reject a seller product

put

Approves or rejects a product based on provided parameters.

Path parameters
idintegerRequired

Product ID to approve or reject.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
productIdsintegerRequired

Product ID being processed.

approvalFlagstringRequired

Approval status (e.g., '1' for approved, '2' for rejected).

reasonstringRequired

Reason for rejection, if applicable.

Responses
200

Product approval/rejection successful

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

"productIds=1&approvalFlag='text'&reason='text'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>text</message>
</object>

Update product status

put

Updates the status of a vendor product.

Path parameters
idintegerRequired

Product ID for which the status is to be updated.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
statusintegerRequired

New status of the product (0 for inactive, 1 for active).

idintegerRequired

ID of the product being updated.

Responses
200

Status update successful

put
PUT /backend/api/admin-vendor-product/add-product-status/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 19

"status=1&id=1"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>text</message>
</object>

Generate Excel for vendor product

post

Generates an Excel list for the provided product ID.

Query parameters
productIdintegerRequired

Product ID for which the Excel list will be generated.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
productIdstringRequired

Product ID as a string input.

Responses
200

Excel list generated successfully

post
POST /backend/api/admin-vendor-product/vendor-product-excel-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 20

"productId='text'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully generated Excel list</message>
</object>

Get common catalog products

get

Fetch a list of common catalog products with pagination and filtering options.

Query parameters
limitintegerOptional

Number of products to retrieve per page.

offsetintegerOptional

Number of products to skip before starting to fetch the results.

countintegerOptional

Flag to include total product count (1 for yes, 0 for no).

ownerintegerOptional

Filter products by owner ID.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Responses
200

Common catalog product list retrieved successfully

get
GET /backend/api/admin-common-product HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got the common catalog product list</message>
</object>

Set product as common

put

Update a product to mark it as common.

Path parameters
idintegerRequired

The ID of the product to be updated.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
commonIdintegerOptionalExample: 2125
commonintegerOptional

Flag to set product as common (1 for common, 0 for not common)

Example: 1
Responses
200

Successfully updated product as common

put
PUT /backend/api/admin-common-product/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 28

"commonId=2125&common=1"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully set as common product</message>
</object>

Last updated