Manage Banner
This endpoint retrieves a list of vendor categories based on the specified query parameters.
The number of items to skip before starting to return categories
0
Flag to include the count of categories (true/false)
false
Search keyword for filtering categories
The order in which to sort the categories (0 for ascending, 1 for descending)
0
Possible values: Filter categories by status (1 for active, 0 for inactive)
1
Possible values: Flag to determine if the request is a search (true/false)
false
Bearer token for authentication.
Successfully retrieved the vendor category list
Invalid query parameters
Internal server error
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>
This endpoint retrieves a list of banners based on the provided query parameters.
The number of items to return.
10
The number of items to skip before starting to collect the result set.
0
A keyword to filter the banners.
Bearer token for authentication.
Successfully retrieved the banner list.
Bad request
Internal server error
GET /backend/api/banner HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got banner list</message>
</object>
Creates a new banner with the provided details.
Bearer token for authentication.
test
<p>test</p>
5
1
https://spurtcommerce-marketplace-store.vercel.app/
1
Successfully created new banner.
Bad request due to invalid parameters.
Internal server error.
POST /backend/api/banner HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 255
"title='test'&content='<p>test</p>'&position='5'&image=''&status=1&bannerImage=[{'containerName':'','image':'317jvwy8tol1710502753887_1712037737942.png','isPrimary':1}]&link='https://spurtcommerce-marketplace-store.vercel.app/'&linkType=1"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully created new banner.</message>
</object>
Retrieves a list of seller products based on the provided filters.
The number of products to skip before starting to collect the result set.
0
The maximum number of products to return.
0
A keyword to filter the products.
The SKU of the product to filter.
The status of the products to retrieve (1 for active).
1
The price filter for the products.
0
Bearer token for authentication.
Successfully retrieved the seller product list.
Bad request due to invalid parameters.
Internal server error.
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>Successfully got seller product list.</message>
</object>
Retrieves the total count of banners.
Bearer token for authentication.
Successfully retrieved the banner count.
Bad request due to invalid parameters.
Internal server error.
GET /backend/api/banner/banner-count HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the banner count.</message>
</object>
Retrieves a list of objects in a specified media bucket.
The maximum number of objects to return.
100
The name of the folder to filter the objects.
A marker for pagination to continue listing objects.
Bearer token for authentication.
Successfully retrieved the bucket object list.
Bad request due to invalid parameters.
Internal server error.
GET /backend/api/media/bucket-object-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully get bucket object list.</message>
</object>
Retrieves the details of a specific banner by its ID.
The ID of the banner to retrieve details for.
Bearer token for authentication.
Successfully retrieved the banner detail.
Bad request due to invalid parameters.
Banner not found.
Internal server error.
GET /backend/api/banner/banner-detail HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got banner detail.</message>
</object>
Updates the details of a specific banner by its ID.
The ID of the banner to update.
Bearer token for authentication.
Successfully updated banner.
Bad request due to invalid parameters.
Banner not found.
Internal server error.
PUT /backend/api/banner/{bannerId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 345
"title='text'&content='text'&position='text'&status=1&bannerImage=[{'createdBy':'text','createdDate':'2025-08-29T23:42:36.892Z','modifiedBy':'text','modifiedDate':'2025-08-29T23:42:36.892Z','id':1,'isPrimary':1,'bannerId':1,'isActive':1,'isDelete':1,'image':'text','containerName':'text'}]&link='text'&linkType=1&bannerId='text'"
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully updated banner.</message>
</object>
Deletes the banner identified by the given ID.
The ID of the banner to delete.
Bearer token for authentication.
Successfully deleted banner.
Banner not found.
Internal server error.
DELETE /backend/api/banner/{bannerId} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully deleted banner.</message>
</object>
Last updated