Custom

Import images

post

Upload a file to import images.

Header parameters
AuthorizationstringRequired
Body
filestring · binaryRequired

The file containing images to be imported

Responses
200

Given images imported successfully

post
POST /backend/api/vendor-import-datas/import-image HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 17

"file='binary'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Given images imported successfully</message>
</object>

Import vendor data

post

Handles the import of vendor data by processing a buffer sent via form data.

Body
bufferstringRequired

The buffer containing encoded data

Responses
200

Vendor data imported successfully

post
POST /backend/api/vendor-import-datas HTTP/1.1
Host: 139.59.67.17
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 17

"buffer='text'"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<fileName>./ErrorBulkProduct_1735536997894.xlsx</fileName>
</object>

Download Product Sample

get

Allows the user to download a sample product file.

Responses
200

File downloaded successfully

Responsestring · binary
get
GET /backend/api/vendor-product/download-product-sample HTTP/1.1
Host: 139.59.67.17
Accept: */*
<?xml version="1.0"?>
<object>binary</object>

Last updated