Last updated 1 year ago
Get list of category
success response
const response = await fetch('/product-store/Get-Category', { method: 'GET', headers: {}, }); const data = await response.json();
{ "message": "successfully got the category." }
List of product search
const response = await fetch('/product-store/productSearchList', { method: 'GET', headers: {}, }); const data = await response.json();
{ "message": "Successfully got a product search list." }
Compare product
const response = await fetch('/product-store/product-compare', { method: 'GET', headers: {}, }); const data = await response.json();
{ "message": "Product added to compare. \" or \" Product Compared Successfully" }
Product detail
const response = await fetch('/product-store/productdetail/{productslug}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "message": "Successfully got productDetail" }