Last updated 1 year ago
vendor product attribute list
success response
const response = await fetch('/vendor-product-attribute/vendor-product-attribute-list', { method: 'GET', headers: {}, }); const data = await response.json();
{ "message": "Successfully got vendor product lists count. \" or \" Successfully got the complete vendor product list." }
Get list of attribute group
const response = await fetch('/vendor-product-attribute/attribute-group', { method: 'GET', headers: {}, }); const data = await response.json();
{ "message": "Successfully got the attribute group list." }
Get detail of vendor product attribute
const response = await fetch('/vendor-product-attribute/vendor-product-attribute-detail/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "message": "Successfully get productDetail" }
Update a vendor product attribute
const response = await fetch('/vendor-product-attribute/update-vendor-product/{id}', { method: 'POST', headers: { "Content-Type": "*/*" }, body: JSON.stringify({}), }); const data = await response.json();
{ "message": "Successfully updated the Product." }