Product Variants
Retrieves a list of vendor products with the option to filter by various parameters.
The offset for pagination
The number of records to return
Search keyword for filtering the products
Filter by SKU of the product
Filter by the name of the product
Filter by product status
Filter products by price, where 0 can represent no filter
Successfully retrieved the vendor product list.
1Successfully got the complete vendor product list.Bad Request
Unauthorized
Internal Server Error
GET /backend/api/vendor-product-variant HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the complete vendor product list.</message>
</object>
Retrieves a complete list of product variants available for the vendor.
Successfully retrieved the complete list of variants.
1Successfully got the complete list of varients.Bad Request
Unauthorized
Internal Server Error
GET /backend/api/vendor-product-variant/variants HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got the complete list of varients.</message>
</object>
Retrieves the details of a specific product variant for the given product ID.
The ID of the product for which the variant details are being fetched.
Successfully retrieved product variant details.
1Successfully got product variant detail.Bad Request
Unauthorized
Internal Server Error
GET /backend/api/vendor-product-variant/product/{id} HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully got product variant detail.</message>
</object>
Update product variants for a specific product.
The ID of the product for which variants are being updated.
An array of product variant options for the product. (Just as strings)
An array of product variants with their details. (Just as strings)
Successfully updated the product variant.
1Successfully Updated the Product VariantBad Request
Unauthorized
Internal Server Error
POST /backend/api/vendor-product-variant/ HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 75
"productId=1&productVariantOptions=['text']&productVariants=['text']"<?xml version="1.0"?>
<object>
<status>1</status>
<message>Successfully Updated the Product Variant</message>
</object>
Last updated

